Class CustomScheduledTaskDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.ConfigurationEntityDTO
-
- org.cyclos.model.system.scheduledtasks.BaseCustomTaskDTO
-
- org.cyclos.model.system.scheduledtasks.CustomScheduledTaskDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class CustomScheduledTaskDTO extends BaseCustomTaskDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,CustomScheduledTaskDTO>DAY_MONTHstatic BasicProperty<WeekDay,CustomScheduledTaskDTO>DAY_WEEKstatic BasicProperty<Boolean,CustomScheduledTaskDTO>ENABLEDstatic BasicProperty<Integer,CustomScheduledTaskDTO>HOURstatic BasicProperty<TimeIntervalDTO,CustomScheduledTaskDTO>RECURRENCE-
Fields inherited from class org.cyclos.model.system.scheduledtasks.BaseCustomTaskDTO
SCRIPT, SCRIPT_PARAMETERS
-
Fields inherited from class org.cyclos.model.ConfigurationEntityDTO
DESCRIPTION, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CustomScheduledTaskDTO()CustomScheduledTaskDTO(Long id)CustomScheduledTaskDTO(Property<T,? super CustomScheduledTaskDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetDayMonth()WeekDaygetDayWeek()IntegergetHour()TimeIntervalDTOgetRecurrence()booleanisEnabled()voidsetDayMonth(Integer dayMonth)voidsetDayWeek(WeekDay dayWeek)voidsetEnabled(boolean enabled)voidsetHour(Integer hour)voidsetRecurrence(TimeIntervalDTO recurrence)-
Methods inherited from class org.cyclos.model.system.scheduledtasks.BaseCustomTaskDTO
getScript, getScriptParameters, setScript, setScriptParameters
-
Methods inherited from class org.cyclos.model.ConfigurationEntityDTO
getDescription, getInternalName, setDescription, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
DAY_MONTH
public static final BasicProperty<Integer,CustomScheduledTaskDTO> DAY_MONTH
-
DAY_WEEK
public static final BasicProperty<WeekDay,CustomScheduledTaskDTO> DAY_WEEK
-
ENABLED
public static final BasicProperty<Boolean,CustomScheduledTaskDTO> ENABLED
-
HOUR
public static final BasicProperty<Integer,CustomScheduledTaskDTO> HOUR
-
RECURRENCE
public static final BasicProperty<TimeIntervalDTO,CustomScheduledTaskDTO> RECURRENCE
-
-
Constructor Detail
-
CustomScheduledTaskDTO
public CustomScheduledTaskDTO()
-
CustomScheduledTaskDTO
public CustomScheduledTaskDTO(Long id)
-
CustomScheduledTaskDTO
public CustomScheduledTaskDTO(Property<T,? super CustomScheduledTaskDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseCustomTaskDTO
-
getDayMonth
public Integer getDayMonth()
-
setDayMonth
public void setDayMonth(Integer dayMonth)
-
getDayWeek
public WeekDay getDayWeek()
-
setDayWeek
public void setDayWeek(WeekDay dayWeek)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getHour
public Integer getHour()
-
setHour
public void setHour(Integer hour)
-
getRecurrence
public TimeIntervalDTO getRecurrence()
-
setRecurrence
public void setRecurrence(TimeIntervalDTO recurrence)
-
className
public String className()
- Overrides:
classNamein classBaseCustomTaskDTO
-
-