Package org.cyclos.entities.system
Class CustomRecurringTask
- 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.CustomRecurringTask
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity,UsesScript
@Entity public class CustomRecurringTask extends BaseCustomTask
Defines a custom recurring task - that is, one which is scheduled to periodically to run a script
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description CustomRecurringTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDayMonth()WeekDaygetDayWeek()IntegergetHour()DategetNextExecution()IntegergetPurgeLogsDays()TimeIntervalgetRecurrence()CustomScriptUsedInTypegetScriptUsedInType()Returns the type of script usagebooleanisEnabled()Indicates whether this entity is enabledvoidsetDayMonth(Integer dayMonth)voidsetDayWeek(WeekDay dayWeek)voidsetEnabled(boolean enabled)voidsetHour(Integer hour)voidsetNextExecution(Date nextExecution)voidsetPurgeLogsDays(Integer purgeLogsDays)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
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getDayMonth
public Integer getDayMonth()
-
getDayWeek
public WeekDay getDayWeek()
-
getHour
public Integer getHour()
-
getNextExecution
public Date getNextExecution()
-
getPurgeLogsDays
public Integer getPurgeLogsDays()
-
getRecurrence
public TimeInterval getRecurrence()
-
getScriptUsedInType
public CustomScriptUsedInType getScriptUsedInType()
Description copied from interface:UsesScriptReturns the type of script usage
-
isEnabled
public boolean isEnabled()
Description copied from interface:UsesScriptIndicates whether this entity is enabled
-
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)
-
setPurgeLogsDays
public void setPurgeLogsDays(Integer purgeLogsDays)
-
setRecurrence
public void setRecurrence(TimeInterval recurrence)
-
-