Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.engine
Class DefaultPhaseSet

java.lang.Object
  extended by org.eclipse.equinox.internal.p2.engine.PhaseSet
      extended by org.eclipse.equinox.p2.engine.DefaultPhaseSet
All Implemented Interfaces:
IPhaseSet

public class DefaultPhaseSet
extends org.eclipse.equinox.internal.p2.engine.PhaseSet

Since:
2.0

Field Summary
static String PHASE_CHECK_TRUST
          A phase id (value "checkTrust") describing the certificate trust check phase.
static String PHASE_COLLECT
          A phase id (value "collect") describing the collect phase.
static String PHASE_CONFIGURE
          A phase id (value "configure") describing the configuration phase.
static String PHASE_INSTALL
          A phase id (value "install") describing the install phase.
static String PHASE_PROPERTY
          A phase id (value "property") describing the property modification phase.
static String PHASE_UNCONFIGURE
          A phase id (value "unconfigure") describing the unconfigure phase.
static String PHASE_UNINSTALL
          A phase id (value "uninstall") describing the uninstall phase.
 
Constructor Summary
DefaultPhaseSet()
           
 
Method Summary
static IPhaseSet createExcluding(String[] exclude)
          Creates a default phase set that covers all the provisioning operations.
static IPhaseSet createIncluding(String[] include)
          Creates a default phase set that covers all the provisioning operations.
 
Methods inherited from class org.eclipse.equinox.internal.p2.engine.PhaseSet
getPhaseIds, getPhases, perform, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PHASE_CHECK_TRUST

public static String PHASE_CHECK_TRUST
A phase id (value "checkTrust") describing the certificate trust check phase. This phase examines the code signing certificates of the artifacts being installed to ensure they are signed and trusted by the running system.


PHASE_COLLECT

public static String PHASE_COLLECT
A phase id (value "collect") describing the collect phase. This phase gathers all the artifacts to be installed, typically by copying them from some repository into a suitable local location for the application being installed.


PHASE_CONFIGURE

public static String PHASE_CONFIGURE
A phase id (value "configure") describing the configuration phase. This phase writes configuration data related to the software being provisioned. Until configuration occurs the end user of the software will be have access to the installed functionality.


PHASE_INSTALL

public static String PHASE_INSTALL
A phase id (value "install") describing the install phase. This phase performs any necessary transformations on the downloaded artifacts to put them in the correct shape for the running application, such as decompressing or moving content, setting file permissions, etc).


PHASE_PROPERTY

public static String PHASE_PROPERTY
A phase id (value "property") describing the property modification phase. This phase performs changes to profile properties.


PHASE_UNCONFIGURE

public static String PHASE_UNCONFIGURE
A phase id (value "unconfigure") describing the unconfigure phase. This phase removes configuration data related to the software being removed. This phase is the inverse of the changes performed in the configure phase.


PHASE_UNINSTALL

public static String PHASE_UNINSTALL
A phase id (value "uninstall") describing the uninstall phase. This phase removes artifacts from the system being provisioned that are no longer required in the new profile.

Constructor Detail

DefaultPhaseSet

public DefaultPhaseSet()
Method Detail

createExcluding

public static final IPhaseSet createExcluding(String[] exclude)
Creates a default phase set that covers all the provisioning operations. Phases can be specified for exclusion.

Parameters:
exclude - - A set of bit options that specify the phases to exclude. See DefaultPhaseSet for possible options
Returns:
the PhaseSet

createIncluding

public static final IPhaseSet createIncluding(String[] include)
Creates a default phase set that covers all the provisioning operations. Phases can be specified for inclusion.

Parameters:
include - - A set of bit options that specify the phases to include. See DefaultPhaseSet for possible options
Returns:
the PhaseSet

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

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