Class CustomRecurringTaskDTO
- 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.CustomRecurringTaskDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,IInternalNamedEntity,INamedEntity
public class CustomRecurringTaskDTO extends BaseCustomTaskDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,CustomRecurringTaskDTO>DAY_MONTHstatic BasicProperty<WeekDay,CustomRecurringTaskDTO>DAY_WEEKstatic BasicProperty<Boolean,CustomRecurringTaskDTO>ENABLEDstatic BasicProperty<Integer,CustomRecurringTaskDTO>HOURstatic BasicProperty<Integer,CustomRecurringTaskDTO>PURGE_LOGS_DAYSstatic BasicProperty<TimeIntervalDTO,CustomRecurringTaskDTO>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 CustomRecurringTaskDTO()CustomRecurringTaskDTO(Long id)CustomRecurringTaskDTO(Property<T,? super CustomRecurringTaskDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetDayMonth()WeekDaygetDayWeek()IntegergetHour()IntegergetPurgeLogsDays()TimeIntervalDTOgetRecurrence()booleanisEnabled()voidsetDayMonth(Integer dayMonth)voidsetDayWeek(WeekDay dayWeek)voidsetEnabled(boolean enabled)voidsetHour(Integer hour)voidsetPurgeLogsDays(Integer purgeLogsDays)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, values
-
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,CustomRecurringTaskDTO> DAY_MONTH
-
DAY_WEEK
public static final BasicProperty<WeekDay,CustomRecurringTaskDTO> DAY_WEEK
-
ENABLED
public static final BasicProperty<Boolean,CustomRecurringTaskDTO> ENABLED
-
HOUR
public static final BasicProperty<Integer,CustomRecurringTaskDTO> HOUR
-
PURGE_LOGS_DAYS
public static final BasicProperty<Integer,CustomRecurringTaskDTO> PURGE_LOGS_DAYS
-
RECURRENCE
public static final BasicProperty<TimeIntervalDTO,CustomRecurringTaskDTO> RECURRENCE
-
-
Constructor Detail
-
CustomRecurringTaskDTO
public CustomRecurringTaskDTO()
-
CustomRecurringTaskDTO
public CustomRecurringTaskDTO(Long id)
-
CustomRecurringTaskDTO
public CustomRecurringTaskDTO(Property<T,? super CustomRecurringTaskDTO> 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)
-
getPurgeLogsDays
public Integer getPurgeLogsDays()
-
setPurgeLogsDays
public void setPurgeLogsDays(Integer purgeLogsDays)
-
getRecurrence
public TimeIntervalDTO getRecurrence()
-
setRecurrence
public void setRecurrence(TimeIntervalDTO recurrence)
-
className
public String className()
- Overrides:
classNamein classBaseCustomTaskDTO
-
-