public interface Runnable
Schedulable
can be scheduled.Modifier and Type | Interface and Description |
---|---|
static class |
Runnable.FireProcess
The possible ways to fire the runnable
|
static class |
Runnable.MisfirePolicy
The possible misfire policies
|
Modifier and Type | Method and Description |
---|---|
String |
getCronExpression()
Returns the cron expression to base the schedule on.
|
I18nizableText |
getDescription()
Returns the description
|
Runnable.FireProcess |
getFireProcess()
Gets the process of firing, i.e.
|
String |
getId()
Returns the id
|
I18nizableText |
getLabel()
Returns the label
|
Runnable.MisfirePolicy |
getMisfirePolicy()
Gets the misfire policy, i.e.
|
Map<String,Object> |
getParameterValues()
Gets the values of the parameters (from the linked
Schedulable ) |
String |
getSchedulableId()
Gets the identifier of
Schedulable to execute |
UserIdentity |
getUserIdentity()
Gets the user which should be used to launch the runnable task.
|
boolean |
isDeactivatable()
Determines if this runnable can be activate or deactivate
|
boolean |
isModifiable()
Determines if this runnable can be modified
|
boolean |
isRemovable()
Determines if this runnable can be removed
|
boolean |
isVolatile()
Determines if the runnable must not survive to a server restart
|
I18nizableText getLabel()
I18nizableText getDescription()
Runnable.FireProcess getFireProcess()
String getCronExpression()
getFireProcess()
is different from Runnable.FireProcess.CRON
.String getSchedulableId()
Schedulable
to executeSchedulable
boolean isRemovable()
true
if this runnable is removableboolean isModifiable()
true
if this runnable is modifiableboolean isDeactivatable()
true
if this runnable is deactivatableRunnable.MisfirePolicy getMisfirePolicy()
getFireProcess()
is different from Runnable.FireProcess.CRON
.boolean isVolatile()
Map<String,Object> getParameterValues()
Schedulable
)UserIdentity getUserIdentity()
UserIdentity
of the user