public class PublishPageRunnable extends AbstractPublishOrUnpublishPageRunnable
Runnable
which schedules a PublishOrUnpublishPageSchedulable
task for publishing a page.Runnable.FireProcess, Runnable.MisfirePolicy
_date, _pageId, _pageName, _userIdentity
Constructor and Description |
---|
PublishPageRunnable(String pageId,
String pageName,
UserIdentity userIdentity,
ZonedDateTime date)
Constructor
|
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDescription()
Returns the description
|
I18nizableText |
getLabel()
Returns the label
|
getCronExpression, getFireProcess, getId, getMisfirePolicy, getParameterValues, getSchedulableId, getUserIdentity, isDeactivatable, isModifiable, isRemovable, isVolatile
public PublishPageRunnable(String pageId, String pageName, UserIdentity userIdentity, ZonedDateTime date)
pageId
- The id of the page to publishpageName
- The name of the page to publishuserIdentity
- The UserIdentity
to launch the runnable taskdate
- The date when to publish the pagepublic I18nizableText getLabel()
Runnable
public I18nizableText getDescription()
Runnable