Class ScheduledJobConfiguration
- java.lang.Object
-
- com.atlassian.confluence.schedule.ScheduledJobConfiguration
-
- All Implemented Interfaces:
Serializable
public class ScheduledJobConfiguration extends Object implements Serializable
Stores the current configuration of a job managed by the system. This configuration is persisted and used on restart of Confluence to schedule the managed jobs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduledJobConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getCronSchedule()
@Nullable Long
getRepeatInterval()
boolean
isEnabled()
void
setCronSchedule(@Nullable String cronSchedule)
void
setEnabled(boolean enabled)
void
setRepeatInterval(@Nullable Long repeatInterval)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getCronSchedule
public @Nullable String getCronSchedule()
-
setCronSchedule
public void setCronSchedule(@Nullable String cronSchedule)
-
getRepeatInterval
public @Nullable Long getRepeatInterval()
-
setRepeatInterval
public void setRepeatInterval(@Nullable Long repeatInterval)
-
-