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
ProgressStatus
implementation suggested forAdminCommand
implementation.- 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.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
ProgressStatusImpl
public ProgressStatusImpl()
Constructor for instancing dummy (without propagation) instance.
-
ProgressStatusImpl
protected ProgressStatusImpl(ProgressStatusBase parent, String id)
Construct unnamedProgressStatusImpl
- Parameters:
parent
- ParentProgressStatusBase
id
- Is useful for event transfer
-
ProgressStatusImpl
protected ProgressStatusImpl(String name, ProgressStatusBase parent, String id)
Construct namedProgressStatusImpl
.- Parameters:
name
- of theProgressStatus
implementation is used to identify source of progress messages.parent
- ParentProgressStatusBase
id
- Is useful for event transfer
-
ProgressStatusImpl
protected ProgressStatusImpl(String name, int totalStepCount, ProgressStatusBase parent, String id)
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 Detail
-
doCreateChild
protected ProgressStatusBase doCreateChild(String name, int totalStepCount)
- Specified by:
doCreateChild
in classProgressStatusBase
-
-