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
public class ProgressStatusImpl extends ProgressStatusBase implements Serializable
ProgressStatusimplementation suggested forAdminCommandimplementation.- Author:
- mmares
- See Also:
- Serialized Form
-
-
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
Constructors Modifier Constructor Description ProgressStatusImpl()Constructor 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
ProgressStatusImpl
public ProgressStatusImpl()
Constructor for instancing dummy (without propagation) instance.
-
ProgressStatusImpl
protected ProgressStatusImpl(ProgressStatusBase parent, String id)
Construct unnamedProgressStatusImpl- Parameters:
parent- ParentProgressStatusBaseid- Is useful for event transfer
-
ProgressStatusImpl
protected ProgressStatusImpl(String name, ProgressStatusBase parent, String id)
Construct namedProgressStatusImpl.- Parameters:
name- of theProgressStatusimplementation is used to identify source of progress messages.parent- ParentProgressStatusBaseid- Is useful for event transfer
-
ProgressStatusImpl
protected ProgressStatusImpl(String name, int totalStepCount, ProgressStatusBase parent, String id)
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 Detail
-
doCreateChild
protected ProgressStatusBase doCreateChild(String name, int totalStepCount)
- Specified by:
doCreateChildin classProgressStatusBase
-
-