Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.engine
Class InstallableUnitEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.equinox.p2.engine.InstallableUnitEvent
All Implemented Interfaces:
Serializable

public class InstallableUnitEvent
extends EventObject

Since:
2.0
See Also:
Serialized Form

Field Summary
static int INSTALL
           
static int UNINSTALL
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InstallableUnitEvent(String phaseId, boolean prePhase, IProfile profile, IInstallableUnit iu, int type, Touchpoint touchpoint)
           
InstallableUnitEvent(String phaseId, boolean prePhase, IProfile profile, IInstallableUnit iu, int type, Touchpoint touchpoint, IStatus result)
           
 
Method Summary
 IInstallableUnit getInstallableUnit()
           
 String getPhase()
           
 IProfile getProfile()
           
 IStatus getResult()
           
 Touchpoint getTouchpoint()
           
 boolean isInstall()
           
 boolean isPost()
           
 boolean isPre()
           
 boolean isUninstall()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNINSTALL

public static final int UNINSTALL
See Also:
Constant Field Values

INSTALL

public static final int INSTALL
See Also:
Constant Field Values
Constructor Detail

InstallableUnitEvent

public InstallableUnitEvent(String phaseId,
                            boolean prePhase,
                            IProfile profile,
                            IInstallableUnit iu,
                            int type,
                            Touchpoint touchpoint)

InstallableUnitEvent

public InstallableUnitEvent(String phaseId,
                            boolean prePhase,
                            IProfile profile,
                            IInstallableUnit iu,
                            int type,
                            Touchpoint touchpoint,
                            IStatus result)
Method Detail

getTouchpoint

public Touchpoint getTouchpoint()

getProfile

public IProfile getProfile()

getInstallableUnit

public IInstallableUnit getInstallableUnit()

getPhase

public String getPhase()

isPre

public boolean isPre()

isPost

public boolean isPost()

getResult

public IStatus getResult()

isInstall

public boolean isInstall()

isUninstall

public boolean isUninstall()

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.