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
-
Method Summary
Modifier and TypeMethodDescriptionfloat
int
createMirroringChild
(int allocatedSteps) Creates child for mirroring (supplemental commands)Timestamp of command complete event ornull
for running commandgetId()
Unique id of this commandgetName()
Timestamp of command creationboolean
void
setEventBroker
(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 ornull
for 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:
getId
in interfaceProgressStatus
-
getName
String getName() -
computeCompletePortion
float computeCompletePortion() -
getLastMessage
String getLastMessage() -
setEventBroker
-
computeSumSteps
int computeSumSteps() -
isSpinnerActive
boolean isSpinnerActive()
-