Uses of Class
org.silverpeas.core.scheduler.trigger.TimeUnit
-
Packages that use TimeUnit Package Description org.silverpeas.core.scheduler.trigger Provides job trigger definitions. -
-
Uses of TimeUnit in org.silverpeas.core.scheduler.trigger
Methods in org.silverpeas.core.scheduler.trigger that return TimeUnit Modifier and Type Method Description TimeUnit
FixedPeriodJobTrigger. getTimeUnit()
Gets the unit of the interval of time between two job triggerings.static TimeUnit
TimeUnit. valueOf(String name)
Returns the enum constant of this type with the specified name.static TimeUnit[]
TimeUnit. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.silverpeas.core.scheduler.trigger with parameters of type TimeUnit Modifier and Type Method Description static FixedPeriodJobTrigger
JobTriggerProvider. getJobTriggerWithPeriodicity(int time, TimeUnit unit)
Creates a new job trigger that will fire a job execution at the specified regular time.static JobTrigger
JobTrigger. triggerEvery(int time, TimeUnit unit)
Creates a job trigger that will fire a job execution every the specified time.Constructors in org.silverpeas.core.scheduler.trigger with parameters of type TimeUnit Constructor Description FixedPeriodJobTrigger(int time, TimeUnit unit)
Creates a new job trigger that will fire a job execution at a specified interval.
-