Package org.cyclos.model.system.monitor
Class BackgroundTaskData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.system.monitor.BaseTaskData
-
- org.cyclos.model.system.monitor.BackgroundTaskData
-
- All Implemented Interfaces:
Serializable
public class BackgroundTaskData extends BaseTaskData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Integer,BackgroundTaskData>RUNNING_EXECUTIONSstatic BasicProperty<Integer,BackgroundTaskData>SCHEDULED_EXECUTIONSstatic BasicProperty<BackgroundTaskStatus,BackgroundTaskData>STATUS-
Fields inherited from class org.cyclos.model.system.monitor.BaseTaskData
NAME, TYPE
-
-
Constructor Summary
Constructors Constructor Description BackgroundTaskData()BackgroundTaskData(Property<T,? super BackgroundTaskData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()IntegergetRunningExecutions()IntegergetScheduledExecutions()BackgroundTaskStatusgetStatus()voidsetRunningExecutions(Integer runningExecutions)voidsetScheduledExecutions(Integer scheduledExecutions)voidsetStatus(BackgroundTaskStatus status)-
Methods inherited from class org.cyclos.model.system.monitor.BaseTaskData
getName, getType, setName, setType
-
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
-
RUNNING_EXECUTIONS
public static final BasicProperty<Integer,BackgroundTaskData> RUNNING_EXECUTIONS
-
SCHEDULED_EXECUTIONS
public static final BasicProperty<Integer,BackgroundTaskData> SCHEDULED_EXECUTIONS
-
STATUS
public static final BasicProperty<BackgroundTaskStatus,BackgroundTaskData> STATUS
-
-
Constructor Detail
-
BackgroundTaskData
public BackgroundTaskData()
-
BackgroundTaskData
public BackgroundTaskData(Property<T,? super BackgroundTaskData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseTaskData
-
getRunningExecutions
public Integer getRunningExecutions()
-
setRunningExecutions
public void setRunningExecutions(Integer runningExecutions)
-
getScheduledExecutions
public Integer getScheduledExecutions()
-
setScheduledExecutions
public void setScheduledExecutions(Integer scheduledExecutions)
-
getStatus
public BackgroundTaskStatus getStatus()
-
setStatus
public void setStatus(BackgroundTaskStatus status)
-
-