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
ConstructorsModifierConstructorDescriptionConstructor for instancing dummy (without propagation) instance.protectedProgressStatusImpl(String name, int totalStepCount, ProgressStatusBase parent, String id) Construct namedProgressStatusImplwith defined expected count of steps.protectedProgressStatusImpl(String name, ProgressStatusBase parent, String id) Construct namedProgressStatusImpl.protectedProgressStatusImpl(ProgressStatusBase parent, String id) Construct unnamedProgressStatusImpl -
Method Summary
Modifier and TypeMethodDescriptionprotected ProgressStatusBasedoCreateChild(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- ParentProgressStatusBaseid- Is useful for event transfer
-
ProgressStatusImpl
Construct namedProgressStatusImpl.- Parameters:
name- of theProgressStatusimplementation is used to identify source of progress messages.parent- ParentProgressStatusBaseid- Is useful for event transfer
-
ProgressStatusImpl
Construct namedProgressStatusImplwith defined expected count of steps.- Parameters:
name- of theProgressStatusimplementation is used to identify source of progress messages.totalStepCount- How many steps are expected in thisProgressStatusparent- ParentProgressStatusBaseid- Is useful for event transfer
-
-
Method Details
-
doCreateChild
- Specified by:
doCreateChildin classProgressStatusBase
-