Package org.glassfish.api.admin
Interface CommandProgress
-
- All Superinterfaces:
ProgressStatus,Serializable
public interface CommandProgress extends ProgressStatus
Base interface of progress status implementation. Provides information about overall progress.- Author:
- mmares
-
-
Field Summary
Fields Modifier and Type Field Description static StringEVENT_PROGRESSSTATUS_CHANGEstatic StringEVENT_PROGRESSSTATUS_STATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatcomputeCompletePortion()intcomputeSumSteps()ProgressStatusMirroringImplcreateMirroringChild(int allocatedSteps)Creates child for mirroring (supplemental commands)DategetEndTime()Timestamp of command complete event ornullfor running commandStringgetId()Unique id of this commandStringgetLastMessage()StringgetName()DategetStartTime()Timestamp of command creationbooleanisSpinnerActive()voidsetEventBroker(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 Detail
-
EVENT_PROGRESSSTATUS_CHANGE
static final String EVENT_PROGRESSSTATUS_CHANGE
- See Also:
- Constant Field Values
-
EVENT_PROGRESSSTATUS_STATE
static final String EVENT_PROGRESSSTATUS_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEndTime
Date getEndTime()
Timestamp of command complete event ornullfor running command
-
getStartTime
Date getStartTime()
Timestamp of command creation
-
createMirroringChild
ProgressStatusMirroringImpl createMirroringChild(int allocatedSteps)
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
void setEventBroker(AdminCommandEventBroker eventBroker)
-
computeSumSteps
int computeSumSteps()
-
isSpinnerActive
boolean isSpinnerActive()
-
-