Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.engine
Class PhaseSetFactory

java.lang.Object
  extended by org.eclipse.equinox.p2.engine.PhaseSetFactory

public class PhaseSetFactory
extends Object

Since:
2.0
Restriction:
This class is not intended to be subclassed by clients.

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
PhaseSetFactory()
           
 
Method Summary
static IPhaseSet createDefaultPhaseSet()
           
static IPhaseSet createDefaultPhaseSetExcluding(String[] exclude)
          Creates a default phase set that covers all the provisioning operations.
static IPhaseSet createPhaseSetIncluding(String[] include)
          Creates a default phase set that covers all the provisioning operations.
static ISizingPhaseSet createSizingPhaseSet()
           
 
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

PhaseSetFactory

public PhaseSetFactory()
Method Detail

createDefaultPhaseSetExcluding

public static final IPhaseSet createDefaultPhaseSetExcluding(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 PhaseSetFactory for possible options
Returns:
the PhaseSet

createPhaseSetIncluding

public static final IPhaseSet createPhaseSetIncluding(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 PhaseSetFactory for possible options
Returns:
the PhaseSet

createDefaultPhaseSet

public static IPhaseSet createDefaultPhaseSet()

createSizingPhaseSet

public static ISizingPhaseSet createSizingPhaseSet()

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

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