Package org.glassfish.api.admin.progress
Class ProgressStatusImpl
java.lang.Object
org.glassfish.api.admin.progress.ProgressStatusBase
org.glassfish.api.admin.progress.ProgressStatusImpl
- All Implemented Interfaces:
Serializable
,ProgressStatus
ProgressStatus
implementation suggested for AdminCommand
implementation.- Author:
- mmares
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glassfish.api.admin.progress.ProgressStatusBase
ProgressStatusBase.ChildProgressStatus
-
Field Summary
Fields inherited from class org.glassfish.api.admin.progress.ProgressStatusBase
children, completed, currentStepCount, id, name, parent, totalStepCount
-
Constructor Summary
ModifierConstructorDescriptionConstructor for instancing dummy (without propagation) instance.protected
ProgressStatusImpl
(String name, int totalStepCount, ProgressStatusBase parent, String id) Construct namedProgressStatusImpl
with defined expected count of steps.protected
ProgressStatusImpl
(String name, ProgressStatusBase parent, String id) Construct namedProgressStatusImpl
.protected
ProgressStatusImpl
(ProgressStatusBase parent, String id) Construct unnamedProgressStatusImpl
-
Method Summary
Modifier and TypeMethodDescriptionprotected ProgressStatusBase
doCreateChild
(String name, int totalStepCount) Methods inherited from class org.glassfish.api.admin.progress.ProgressStatusBase
allocateStapsForChildProcess, complete, complete, completeSilently, computeCompletePortion, computeCompleteSteps, computeSumSteps, createChild, createChild, createChild, findById, fireEvent, getChildProgressStatuses, getChildren, getCurrentStepCount, getId, getName, getParrent, getRemainingStepCount, getTotalStepCount, isComplete, progress, progress, progress, progress, setCurrentStepCount, setTotalStepCount, toString
-
Constructor Details
-
ProgressStatusImpl
public ProgressStatusImpl()Constructor for instancing dummy (without propagation) instance. -
ProgressStatusImpl
Construct unnamedProgressStatusImpl
- Parameters:
parent
- ParentProgressStatusBase
id
- Is useful for event transfer
-
ProgressStatusImpl
Construct namedProgressStatusImpl
.- Parameters:
name
- of theProgressStatus
implementation is used to identify source of progress messages.parent
- ParentProgressStatusBase
id
- Is useful for event transfer
-
ProgressStatusImpl
Construct namedProgressStatusImpl
with defined expected count of steps.- Parameters:
name
- of theProgressStatus
implementation is used to identify source of progress messages.totalStepCount
- How many steps are expected in thisProgressStatus
parent
- ParentProgressStatusBase
id
- Is useful for event transfer
-
-
Method Details
-
doCreateChild
- Specified by:
doCreateChild
in classProgressStatusBase
-