@Beta public class ObjectiveEvent extends AbstractEvent<ObjectiveEvent.Type,java.lang.Integer>
Modifier and Type | Class and Description |
---|---|
static class |
ObjectiveEvent.Type
Type of objective events.
|
Constructor and Description |
---|
ObjectiveEvent(ObjectiveEvent.Type type,
java.lang.Integer objective)
Creates an event of the given type for the specified objective id.
|
ObjectiveEvent(ObjectiveEvent.Type type,
java.lang.Integer objective,
long time)
Creates an event of the given type for the specified objective id at the given
time.
|
subject, time, toString, type
public ObjectiveEvent(ObjectiveEvent.Type type, java.lang.Integer objective)
type
- the type of the eventobjective
- the objective id the event is aboutpublic ObjectiveEvent(ObjectiveEvent.Type type, java.lang.Integer objective, long time)
type
- the type of the eventobjective
- the objective id the event is abouttime
- the time of the event