Package com.adobe.granite.maintenance
Class MaintenanceConstants
java.lang.Object
com.adobe.granite.maintenance.MaintenanceConstants
This class defines some constants for registering maintenance tasks.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBoolean property to define whether a task is conservative.static final StringBoolean property to define whether a task is mandatory.static final StringThe unique name of a maintenance task.static final StringRelative ranking for task inside a window.static final StringThe schedule of a maintenance task.static final StringBoolean property to define whether a task is stoppable.static final StringBoolean property to define whether a task supports throttling.static final StringThe title for a maintenance task.static final StringHuman readable form of the end time in 24h format, like 2:35 or 14:30.static final Stringstatic final StringSchedule of the window, this is integer with value 0 for the first day of the month of the given type and 1 for the last one.static final StringSchedule of the window, this is an array of integer values ranging from 1 = Sunday to 7 = Saturday.static final StringHuman readable form of the start time in 24h format, like 2:30 or 14:15.static final Stringstatic final StringDeprecated.static final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PROPERTY_TASK_NAME
The unique name of a maintenance task. This property is required.- See Also:
-
PROPERTY_TASK_TITLE
The title for a maintenance task. This property is required.- See Also:
-
PROPERTY_TASK_SCHEDULE
The schedule of a maintenance task. This property is optional, allowed values areSCHEDULE_DAILY,SCHEDULE_WEEKLY,SCHEDULE_MONTHLY- See Also:
-
PROPERTY_TASK_STOPPABLE
Boolean property to define whether a task is stoppable. Optional default value false.- See Also:
-
PROPERTY_TASK_CONSERVATIVE
Boolean property to define whether a task is conservative. Optional default value true.- See Also:
-
PROPERTY_TASK_THROTTLING
Boolean property to define whether a task supports throttling. Optional default value false.- See Also:
-
PROPERTY_TASK_MANDATORY
Boolean property to define whether a task is mandatory. Optional default value false.- Since:
- 1.1
- See Also:
-
SCHEDULE_DAILY
- See Also:
-
SCHEDULE_WEEKLY
- See Also:
-
SCHEDULE_BIWEEKLY
Deprecated.- See Also:
-
SCHEDULE_MONTHLY
- See Also:
-
TASK_TOPIC_PREFIX
- See Also:
-
PROPERTY_WINDOW_TITLE
- See Also:
-
PROPERTY_WINDOW_START_TIME
Human readable form of the start time in 24h format, like 2:30 or 14:15.- See Also:
-
PROPERTY_WINDOW_END_TIME
Human readable form of the end time in 24h format, like 2:35 or 14:30.- See Also:
-
PROPERTY_WINDOW_SCHEDULE
- See Also:
-
PROPERTY_WINDOW_SCHEDULE_WEEKDAYS
Schedule of the window, this is an array of integer values ranging from 1 = Sunday to 7 = Saturday.- See Also:
-
PROPERTY_WINDOW_SCHEDULE_FIRST_LAST_DAY
Schedule of the window, this is integer with value 0 for the first day of the month of the given type and 1 for the last one. This is used for monthly scheduling, in conjunction with PROPERTY_WINDOW_SCHEDULE_WEEKDAYS, to allow period selection in the form of: "The first Monday of the month / the last Friday of the month"- See Also:
-
PROPERTY_TASK_RANKING
Relative ranking for task inside a window. Tasks with higher values will be executed before lower value tasks inside the window.- See Also:
-
-
Constructor Details
-
MaintenanceConstants
public MaintenanceConstants()
-