com.uwyn.rife.scheduler
Class Task
java.lang.Object
com.uwyn.rife.site.Validation
com.uwyn.rife.scheduler.Task
- All Implemented Interfaces:
- Constrained, ConstrainedPropertyListener, Validated, ValidatedConstrained, Cloneable
public class Task
- extends Validation
- implements Cloneable
Constructor Summary |
Task()
|
Methods inherited from class com.uwyn.rife.site.Validation |
addConstrainedPropertyRules, addConstraint, addConstraint, addGroup, addRule, addValidationError, constraintSet, countValidationErrors, focusGroup, generateConstrainedPropertyRules, getConstrainedBean, getConstrainedProperties, getConstrainedProperty, getErrorIndication, getGroup, getGroups, getLoadingErrors, getRules, getValidatedSubjects, getValidationErrors, hasPropertyConstraint, isSubjectValid, limitSubjectErrors, makeErrorValid, makeSubjectValid, provideValidatedBean, replaceValidationErrors, resetGroup, resetValidation, retrieveValidatedBean, unlimitSubjectErrors, validate, validate, validateGroup, validateGroup |
Task
public Task()
activateValidation
protected void activateValidation()
- Description copied from class:
Validation
- This method is called at least once and maximum once when any method
related to Validated rules, subjects and group or Constrained
properties are used.
By overriding this method, you can thus isolate all the validation
setup code code and don't enforce a performance penalty at each object
construction when doing it in the default constructor.
- Overrides:
activateValidation
in class Validation
setTaskManager
public void setTaskManager(TaskManager taskManager)
getTaskManager
public TaskManager getTaskManager()
getTaskoptionValue
public String getTaskoptionValue(String name)
throws SchedulerException
- Throws:
SchedulerException
getNextDate
public long getNextDate()
throws FrequencyException
- Throws:
FrequencyException
getNextDate
public long getNextDate(long start)
throws FrequencyException
- Throws:
FrequencyException
setId
public void setId(int id)
getId
public int getId()
setType
public void setType(String type)
getType
public String getType()
setPlanned
public void setPlanned(Date planned)
setPlanned
public void setPlanned(long planned)
getPlanned
public long getPlanned()
setFrequency
public void setFrequency(String frequency)
throws FrequencyException
- Throws:
FrequencyException
getFrequency
public String getFrequency()
setBusy
public void setBusy(boolean busy)
isBusy
public boolean isBusy()
clone
public Task clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Validation
- Throws:
CloneNotSupportedException
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.