Class CustomScheduledTaskData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<CustomScheduledTaskDTO>
-
- org.cyclos.model.system.scheduledtasks.CustomScheduledTaskData
-
- All Implemented Interfaces:
Serializable
public class CustomScheduledTaskData extends EntityData<CustomScheduledTaskDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<DateTime,CustomScheduledTaskData>NEXT_EXECUTIONstatic ListProperty<CustomScriptVO,CustomScheduledTaskData>SCRIPTS-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description CustomScheduledTaskData()CustomScheduledTaskData(Property<T,? super CustomScheduledTaskData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()DateTimegetNextExecution()List<CustomScriptVO>getScripts()voidsetNextExecution(DateTime nextExecution)voidsetScripts(List<CustomScriptVO> scripts)-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
NEXT_EXECUTION
public static final BasicProperty<DateTime,CustomScheduledTaskData> NEXT_EXECUTION
-
SCRIPTS
public static final ListProperty<CustomScriptVO,CustomScheduledTaskData> SCRIPTS
-
-
Constructor Detail
-
CustomScheduledTaskData
public CustomScheduledTaskData()
-
CustomScheduledTaskData
public CustomScheduledTaskData(Property<T,? super CustomScheduledTaskData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<CustomScheduledTaskDTO>
-
getNextExecution
public DateTime getNextExecution()
-
setNextExecution
public void setNextExecution(DateTime nextExecution)
-
getScripts
public List<CustomScriptVO> getScripts()
-
setScripts
public void setScripts(List<CustomScriptVO> scripts)
-
-