Package org.cyclos.entities.system
Class CustomScheduledTask
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.system.BaseCustomTask
-
- org.cyclos.entities.system.CustomScheduledTask
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class CustomScheduledTask extends BaseCustomTask
Defines a custom scheduled task - that is, one which is scheduled to periodically run a script
-
-
Constructor Summary
Constructors Constructor Description CustomScheduledTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDayMonth()WeekDaygetDayWeek()IntegergetHour()DategetNextExecution()TimeIntervalgetRecurrence()booleanisEnabled()voidsetDayMonth(Integer dayMonth)voidsetDayWeek(WeekDay dayWeek)voidsetEnabled(boolean enabled)voidsetHour(Integer hour)voidsetNextExecution(Date nextExecution)voidsetRecurrence(TimeInterval recurrence)-
Methods inherited from class org.cyclos.entities.system.BaseCustomTask
getNetwork, getScript, getScriptParameters, setNetwork, setScript, setScriptParameters
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getDayMonth
public Integer getDayMonth()
-
getDayWeek
public WeekDay getDayWeek()
-
getHour
public Integer getHour()
-
getNextExecution
public Date getNextExecution()
-
getRecurrence
public TimeInterval getRecurrence()
-
isEnabled
public boolean isEnabled()
-
setDayMonth
public void setDayMonth(Integer dayMonth)
-
setDayWeek
public void setDayWeek(WeekDay dayWeek)
-
setEnabled
public void setEnabled(boolean enabled)
-
setHour
public void setHour(Integer hour)
-
setNextExecution
public void setNextExecution(Date nextExecution)
-
setRecurrence
public void setRecurrence(TimeInterval recurrence)
-
-