Package org.glassfish.api.admin
Interface CommandProgress
-
- All Superinterfaces:
ProgressStatus
,Serializable
- All Known Implementing Classes:
CommandProgressImpl
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 String
EVENT_PROGRESSSTATUS_CHANGE
static String
EVENT_PROGRESSSTATUS_STATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
computeCompletePortion()
int
computeSumSteps()
ProgressStatusMirroringImpl
createMirroringChild(int allocatedSteps)
Creates child for mirroring (supplemental commands)Date
getEndTime()
Timestamp of command complete event ornull
for running commandString
getId()
Unique id of this commandString
getLastMessage()
String
getName()
Date
getStartTime()
Timestamp of command creationboolean
isSpinnerActive()
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 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 ornull
for 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:
getId
in interfaceProgressStatus
-
getName
String getName()
-
computeCompletePortion
float computeCompletePortion()
-
getLastMessage
String getLastMessage()
-
setEventBroker
void setEventBroker(AdminCommandEventBroker eventBroker)
-
computeSumSteps
int computeSumSteps()
-
isSpinnerActive
boolean isSpinnerActive()
-
-