public final class LifecycleStage
extends java.lang.Object
Round
.Constructor and Description |
---|
LifecycleStage(java.lang.String id,
int duration)
Constructs a new
LifecycleStage with the given ID and duration. |
Modifier and Type | Method and Description |
---|---|
int |
getDuration()
Gets the duration of this
LifecycleStage . |
java.lang.String |
getId()
Gets the ID of this
LifecycleStage . |
public LifecycleStage(java.lang.String id, int duration)
LifecycleStage
with the given ID and duration.id
- The stage's IDduration
- The duration of the stagepublic final java.lang.String getId()
LifecycleStage
.LifecycleStage
public final int getDuration()
LifecycleStage
.LifecycleStage