public interface Schedulable
Modifier and Type | Method and Description |
---|---|
boolean |
acceptConcurrentExecution()
Returns true if two runnables of this schedulable can be executed concurrently
|
void |
execute(JobExecutionContext context)
The action to perform when a trigger is fired.
|
I18nizableText |
getDescription()
Return the description
|
String |
getIconGlyph()
Returns the glyph icon
|
String |
getIconLarge()
Returns the path to the large icon in 48x48 pixels
|
String |
getIconMedium()
Returns the path to the medium icon in 32x32 pixels
|
String |
getIconSmall()
Returns the path to the small icon in 16x16 pixels
|
String |
getId()
Returns the id
|
I18nizableText |
getLabel()
Returns the label
|
Map<String,ElementDefinition> |
getParameters()
Get the parameters for job execution
|
boolean |
isPrivate()
Returns true if the schedulable is private
|
void execute(JobExecutionContext context) throws Exception
context
- the contextException
- if an error occuredI18nizableText getLabel()
I18nizableText getDescription()
String getIconGlyph()
String getIconSmall()
String getIconMedium()
String getIconLarge()
boolean isPrivate()
boolean acceptConcurrentExecution()
Map<String,ElementDefinition> getParameters()