|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TaskDef
A TaskDef is a task definition: once deployed, it can tell TaskMan what TaskAction to take upon given events.
| Method Summary | |
|---|---|
org.joda.time.DateTime |
getDeploymentDateTime()
|
java.lang.String |
getDescription()
|
org.joda.time.Period |
getDueDateTimeout()
How much time before no more reminders are sent and the task is automatically cancelled. |
org.joda.time.Period |
getDuePeriod()
How much time is allowed before the assigne is reminded. |
java.lang.Class<? extends TaskAction> |
getEventActionClass(TaskEvent event)
|
java.lang.Long |
getId()
|
java.lang.String |
getName()
A generic name for this task definition, thus shared by all instances of this definition. |
org.joda.time.Period |
getReminderPeriod()
How much time between each reminder. |
java.lang.Long |
getVersionId()
|
boolean |
isSameAs(TaskDef other)
Returns true if all attributes are equals to the given TaskDef, except for id, versionId and deploymentDateTime. |
void |
setDeploymentDateTime(org.joda.time.DateTime dateTime)
|
void |
setVersionId(java.lang.Long versionId)
|
| Method Detail |
|---|
java.lang.Long getId()
java.lang.Long getVersionId()
void setVersionId(java.lang.Long versionId)
org.joda.time.DateTime getDeploymentDateTime()
void setDeploymentDateTime(org.joda.time.DateTime dateTime)
java.lang.String getName()
java.lang.String getDescription()
org.joda.time.Period getDuePeriod()
org.joda.time.Period getReminderPeriod()
org.joda.time.Period getDueDateTimeout()
java.lang.Class<? extends TaskAction> getEventActionClass(TaskEvent event)
boolean isSameAs(TaskDef other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||