Package org.glassfish.api.admin
Interface CommandProgress
- All Superinterfaces:
ProgressStatus,Serializable
Base interface of progress status implementation. Provides information about overall progress.
- Author:
- mmares
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfloatintcreateMirroringChild(int allocatedSteps) Creates child for mirroring (supplemental commands)Timestamp of command complete event ornullfor running commandgetId()Unique id of this commandgetName()Timestamp of command creationbooleanvoidsetEventBroker(AdminCommandEventBroker eventBroker) Methods inherited from interface org.glassfish.api.admin.ProgressStatus
complete, complete, createChild, createChild, getRemainingStepCount, getTotalStepCount, isComplete, progress, progress, progress, progress, setCurrentStepCount, setTotalStepCount
-
Field Details
-
EVENT_PROGRESSSTATUS_CHANGE
- See Also:
-
EVENT_PROGRESSSTATUS_STATE
- See Also:
-
-
Method Details
-
getEndTime
Date getEndTime()Timestamp of command complete event ornullfor running command -
getStartTime
Date getStartTime()Timestamp of command creation -
createMirroringChild
Creates child for mirroring (supplemental commands) -
getId
String getId()Unique id of this command- Specified by:
getIdin interfaceProgressStatus
-
getName
String getName() -
computeCompletePortion
float computeCompletePortion() -
getLastMessage
String getLastMessage() -
setEventBroker
-
computeSumSteps
int computeSumSteps() -
isSpinnerActive
boolean isSpinnerActive()
-