Constructor and Description |
---|
LifecycleStage(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 . |
String |
getId()
Gets the ID of this
LifecycleStage . |
public LifecycleStage(String id, int duration)
LifecycleStage
with the given ID and duration.id
- The stage's IDduration
- The duration of the stagepublic final String getId()
LifecycleStage
.LifecycleStage
public final int getDuration()
LifecycleStage
.LifecycleStage