|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvs.worldagent.ScheduledOperator
public class ScheduledOperator
Represents a data structure for the timing of an action : | duration | | interruptableDuration | |-------------------------|------------------------------| startTime interTime endTime
Field Summary | |
---|---|
static int |
ABORTED
|
static int |
CREATED
|
static int |
FINISHED
|
static int |
NO_LONGER_INTERRUPTABLE
|
static int |
SCHEDULED
|
static int |
STARTED
|
Constructor Summary | |
---|---|
ScheduledOperator(Operator operator,
int startTime,
int interTime,
int endTime)
Constructor |
Method Summary | |
---|---|
int |
getEndTime()
|
int |
getInterTime()
|
Operator |
getOperator()
|
int |
getStartTime()
|
int |
getStatus()
Get status of this scheduled action |
void |
setStatus(int newStatus)
Set status of this scheduled action |
java.lang.String |
toString()
String representation of scheduled action |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CREATED
public static final int SCHEDULED
public static final int STARTED
public static final int NO_LONGER_INTERRUPTABLE
public static final int FINISHED
public static final int ABORTED
Constructor Detail |
---|
public ScheduledOperator(Operator operator, int startTime, int interTime, int endTime)
startTime
- The starting time of this scheduleinterTime
- The time when the intereffects are appliedendTime
- The time when this schedule ends and the effects are appliedMethod Detail |
---|
public int getEndTime()
public int getInterTime()
public Operator getOperator()
public int getStartTime()
public int getStatus()
public void setStatus(int newStatus)
newStatus
- the new status of this scheduled actionpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |