|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
com.ptc.windchill.upgrade.history.UpgradeStep
Nested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
static UpgradeStep |
ADD_CONSTRAINTS
|
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
static UpgradeStep |
COMPARE_SCHEMA
|
static UpgradeStep |
EXECUTE_SERVER_MIGRATORS_1
|
static UpgradeStep |
EXECUTE_SERVER_MIGRATORS_2
|
static UpgradeStep |
EXECUTE_STANDALONE_MIGRATORS
|
static UpgradeStep |
LOAD_DATA
|
private static Hashtable |
localeSets
|
static UpgradeStep |
QUEO
|
private static String |
RESOURCE
|
static UpgradeStep |
SELECT_TYPE
|
private int |
status_
|
static UpgradeStep |
SUMMARY
|
static UpgradeStep |
UPGRADE_SCHEMA
|
private UpgradePhaseType |
upgradePhaseType
|
private HashMap |
upgradeStepOrderCache_
|
static UpgradeStep |
VALIDATION_CHECKPOINT_1
|
static UpgradeStep |
VALIDATION_CHECKPOINT_2
|
static UpgradeStep |
VALIDATION_CHECKPOINT_3
|
static UpgradeStep |
VALIDATION_CHECKPOINT_4
|
private static EnumeratedType[] |
valueSet
|
static UpgradeStep |
VERIFY_DB
|
static UpgradeStep |
VERIFY_PRE_CONDITIONS
|
static UpgradeStep |
VERIFY_RELEASE
|
static UpgradeStep |
VERIFY_UPGRADE_CRITERIA
|
static UpgradeStep |
WELCOME
|
Fields inherited from class wt.fc.EnumeratedType |
secretHandshake, SEP_CHAR |
Fields inherited from interface wt.meta.EnumeratedType |
DEFAULT_VALUE, ORDER, SELECTABLE |
Constructor Summary | |
protected |
UpgradeStep()
Used by sub-classes that need a default constructor. |
Method Summary | |
private void |
createUpgradeStepOrderCache()
|
protected EnumeratedType[] |
getLocaleSet(Locale locale)
|
UpgradeStep |
getNext()
Gets the next step that is to be executed. |
int |
getStatus()
|
UpgradePhaseType |
getUpgradePhaseTypeValue()
Get the UpgradePhaseType value of the corresponding UpgradeStep |
static UpgradeStep |
getUpgradeStepDefault()
|
static UpgradeStep[] |
getUpgradeStepSet()
|
UpgradeStep |
getUpgradeStepValue(UpgradePhaseType upgrade_phase_type)
UpgradePhaseType is sent in to determine the value of the corresponding UpgradeStep. |
EnumeratedType[] |
getValueSet()
Returns the array of possible values (instances) for any specific (derived) EnumeratedType class. |
boolean |
hasUpgradePhaseType()
If the step has an upgrade phase type it goes into the database |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static UpgradeStep |
newUpgradeStep(int secretHandshake)
Used by EnumeratedType for constructing instances of UpgradePhase, from a resource bundle. |
void |
setStatus(int new_state)
|
String |
toString()
Returns the internal (persistent) value. |
static UpgradeStep |
toUpgradeStep(String internal_value)
|
protected EnumeratedType[] |
valueSet()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CLASS_RESOURCE
private static final EnumeratedType[] valueSet
private static Hashtable localeSets
private int status_
private HashMap upgradeStepOrderCache_
private UpgradePhaseType upgradePhaseType
public static final UpgradeStep WELCOME
public static final UpgradeStep VERIFY_UPGRADE_CRITERIA
public static final UpgradeStep VERIFY_RELEASE
public static final UpgradeStep VERIFY_DB
public static final UpgradeStep SELECT_TYPE
public static final UpgradeStep VERIFY_PRE_CONDITIONS
public static final UpgradeStep COMPARE_SCHEMA
public static final UpgradeStep UPGRADE_SCHEMA
public static final UpgradeStep EXECUTE_STANDALONE_MIGRATORS
public static final UpgradeStep VALIDATION_CHECKPOINT_1
public static final UpgradeStep ADD_CONSTRAINTS
public static final UpgradeStep EXECUTE_SERVER_MIGRATORS_1
public static final UpgradeStep VALIDATION_CHECKPOINT_2
public static final UpgradeStep LOAD_DATA
public static final UpgradeStep VALIDATION_CHECKPOINT_3
public static final UpgradeStep EXECUTE_SERVER_MIGRATORS_2
public static final UpgradeStep VALIDATION_CHECKPOINT_4
public static final UpgradeStep QUEO
public static final UpgradeStep SUMMARY
Constructor Detail |
protected UpgradeStep()
Method Detail |
public static UpgradeStep newUpgradeStep(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public boolean hasUpgradePhaseType()
public UpgradePhaseType getUpgradePhaseTypeValue()
private void createUpgradeStepOrderCache()
public UpgradeStep getUpgradeStepValue(UpgradePhaseType upgrade_phase_type)
upgrade_phase_type
- UpgradePhaseType
public static UpgradeStep toUpgradeStep(String internal_value) throws WTInvalidParameterException
internal_value
-
WTInvalidParameterException
public static UpgradeStep getUpgradeStepDefault()
public static UpgradeStep[] getUpgradeStepSet()
public EnumeratedType[] getValueSet()
EnumeratedType
getValueSet
in class EnumeratedType
protected EnumeratedType[] valueSet()
valueSet
in class EnumeratedType
protected EnumeratedType[] getLocaleSet(Locale locale)
getLocaleSet
in class EnumeratedType
locale
-
public void setStatus(int new_state)
new_state
- public int getStatus()
public String toString()
EnumeratedType
toString
in class EnumeratedType
private static EnumeratedType[] initializeLocaleSet(Locale locale) throws Throwable
Throwable
public UpgradeStep getNext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |