Class RepeatingPolicyRunner
java.lang.Object
org.opencastproject.lifecyclemanagement.impl.RepeatingPolicyRunner
A special periodic checker for repeating policies.
Repeating policies require date/time representation that is best reflected by a cron string.
A quartz scheduler supports cron strings.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRepeatingPolicyRunner(org.opencastproject.lifecyclemanagement.api.LifeCyclePolicy policy, org.opencastproject.security.api.Organization organization, org.opencastproject.lifecyclemanagement.api.LifeCycleService lifeCycleService, org.opencastproject.security.api.SecurityService securityService, org.opencastproject.security.api.User systemAdminUser) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()org.opencastproject.lifecyclemanagement.api.LifeCyclePolicyorg.opencastproject.lifecyclemanagement.api.LifeCycleServiceorg.opencastproject.security.api.Organizationorg.opencastproject.security.api.SecurityServiceorg.opencastproject.security.api.Uservoidschedule()voidshutdown()Shutdown the scheduler.void
-
Constructor Details
-
RepeatingPolicyRunner
protected RepeatingPolicyRunner(org.opencastproject.lifecyclemanagement.api.LifeCyclePolicy policy, org.opencastproject.security.api.Organization organization, org.opencastproject.lifecyclemanagement.api.LifeCycleService lifeCycleService, org.opencastproject.security.api.SecurityService securityService, org.opencastproject.security.api.User systemAdminUser)
-
-
Method Details
-
getLifeCyclePolicy
public org.opencastproject.lifecyclemanagement.api.LifeCyclePolicy getLifeCyclePolicy() -
getLifeCycleService
public org.opencastproject.lifecyclemanagement.api.LifeCycleService getLifeCycleService() -
getOrganization
public org.opencastproject.security.api.Organization getOrganization() -
getSecurityService
public org.opencastproject.security.api.SecurityService getSecurityService() -
getSystemAdminUser
public org.opencastproject.security.api.User getSystemAdminUser() -
schedule
public void schedule() -
unschedule
public void unschedule() -
shutdown
public void shutdown()Shutdown the scheduler. -
finalize
-