|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.upgrade.util.fsm.StateMachine
com.ptc.windchill.upgrade.tool.UpgradeToolStateMachine
Nested Class Summary | |
static class |
UpgradeToolStateMachine.ConfirmQueuesCleared
|
static class |
UpgradeToolStateMachine.DbCorrect
|
static class |
UpgradeToolStateMachine.ExpressModeSet
|
static class |
UpgradeToolStateMachine.NonExpressModeSet
|
static class |
UpgradeToolStateMachine.VersionConfirmed
|
Nested classes inherited from class com.ptc.windchill.upgrade.util.fsm.StateMachine |
|
Field Summary | |
private boolean |
adminUserNameCorrect_
|
private ApplicabilitySnapshotModel |
applicabilitySnapshotModel_
|
private boolean |
canceled_
|
private boolean |
errorStatus_
|
private Boolean |
isDbCorrect_
|
private Boolean |
isExpressMode_
|
private Boolean |
isQueuesCleared_
|
private Boolean |
isVersionConfirmed_
|
private boolean |
questioning_
|
private int |
size_
|
private int |
skippedOrFailed_
|
private HashMap |
storeUpgradePhaseTypeResults_
|
Fields inherited from class com.ptc.windchill.upgrade.util.fsm.StateMachine |
|
Constructor Summary | |
UpgradeToolStateMachine()
Creates a new UpgradeToolStateMachine object. |
Method Summary | |
(package private) void |
clearDbCorrect()
Clear out the value of the isDbCorrect_ when the user cancels out and then restarts the Upgrade Manager the ReportCanceled screen. |
(package private) void |
clearExpressMode()
Clear out the value of the isExpressMode_ when the user cancels out and then restarts the Upgrade Manager. |
(package private) void |
clearQueuesCleared()
Clear out the value of the isQueuesCleared_ when the user cancels out and then restarts the Upgrade Manager from the ReportCanceled screen. |
(package private) void |
clearVersionConfirmed()
Clear out the value of the isVersionConfirmed_ when the user cancels out and then restarts the Upgrade Manager from the ReportCanceled screen. |
(package private) boolean |
getAdminUserNameInCorrect()
|
(package private) ApplicabilitySnapshotModel |
getApplicabilitySnapshot()
|
(package private) int |
getApplicabilitySnapshotSize()
|
(package private) boolean |
getCancelStatus()
Default value of canceled_ is false |
(package private) boolean |
getErrorStatus()
The value is set to true if the UpgradeManager fails unexpectedly. |
(package private) Boolean |
isDbCorrect()
|
(package private) Boolean |
isExpressMode()
|
(package private) Boolean |
isQueuesCleared()
|
(package private) Boolean |
isVersionConfirmed()
|
(package private) void |
setAdminUserNameInCorrect(boolean bad_admin_name)
The value is set by ProgressViewState when the administrator's user name and/or password do not match up. |
(package private) void |
setApplicabilitySnapshot(ApplicabilitySnapshotModel applicability_model)
Sets the ApplicabilitySnapshotModel in a place the information is easy to access. |
(package private) void |
setApplicabilitySnapshotSize(int size)
Sets the size of the ApplicabilitySnapshotModel. |
(package private) void |
setCancelStatus(boolean cancel)
If the user cancels out of the UpgradeManager the canceled_ variable is set to true. |
(package private) void |
setConfirmation(boolean use_version)
The variable isVersionConfirmed_ is null until a user makes a selection on the ConfirmVersionState screen. |
(package private) void |
setDbCorrect(boolean db_confirmation)
When the user makes a selection the value of isDbCorrect_ changes from null to a Boolean value. |
(package private) void |
setErrorStatus(boolean error_status)
The value is set to true if the UpgradeManager fails unexpectedly. |
(package private) void |
setExpressMode(boolean use_express_mode)
Sets the value of the variable isExpressMode_ from a null value to a Boolean value This occurs after the user makes a selection on the PromptForExpressMode screen. |
(package private) void |
setQueuesCleared(boolean queues_cleared)
When the user makes a selection the value of isQueuesCleared_ changes from null to a Boolean value. |
Methods inherited from class com.ptc.windchill.upgrade.util.fsm.StateMachine |
addStateMachineListener, checkEventTypeEnabledStates, dispatchEvent, dispatchEvent, isEventTypeEnabled, join, removeStateMachineListener, start, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Boolean isDbCorrect_
private Boolean isExpressMode_
private Boolean isQueuesCleared_
private Boolean isVersionConfirmed_
private ApplicabilitySnapshotModel applicabilitySnapshotModel_
private int skippedOrFailed_
private int size_
private boolean canceled_
private boolean questioning_
private boolean adminUserNameCorrect_
private boolean errorStatus_
private HashMap storeUpgradePhaseTypeResults_
Constructor Detail |
public UpgradeToolStateMachine()
Method Detail |
Boolean isDbCorrect()
Boolean isQueuesCleared()
Boolean isVersionConfirmed()
Boolean isExpressMode()
void setDbCorrect(boolean db_confirmation)
db_confirmation
- a boolean which initializes a Booleanvoid clearDbCorrect()
void setQueuesCleared(boolean queues_cleared)
queues_cleared
- boolean which initializes a Booleanvoid clearQueuesCleared()
void setExpressMode(boolean use_express_mode)
use_express_mode
- booleanvoid clearExpressMode()
void setConfirmation(boolean use_version)
use_version
- void clearVersionConfirmed()
void setApplicabilitySnapshot(ApplicabilitySnapshotModel applicability_model)
applicability_model
- ApplicabilitySnapshotModelvoid setApplicabilitySnapshotSize(int size)
size
- intint getApplicabilitySnapshotSize()
ApplicabilitySnapshotModel getApplicabilitySnapshot()
void setCancelStatus(boolean cancel)
cancel
- booleanvoid setAdminUserNameInCorrect(boolean bad_admin_name)
bad_admin_name
- booleanboolean getAdminUserNameInCorrect()
void setErrorStatus(boolean error_status)
boolean getErrorStatus()
boolean getCancelStatus()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |