|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.xmlschema.AbstractScheduleType
public abstract class AbstractScheduleType
Defines a type of schedule for a server plugin job. This also has a static factory that allows you to build concrete forms of schedule types.
| Constructor Summary | |
|---|---|
AbstractScheduleType(boolean concurrent,
java.lang.String typeName)
Builds the schedule type. |
|
| Method Summary | |
|---|---|
static AbstractScheduleType |
create(boolean concurrent,
java.lang.String scheduleType,
java.lang.String scheduleTrigger)
Factory method that creates a concrete schedule type object based on the given parameters. |
abstract java.lang.String |
getScheduleTrigger()
Returns the string form of the trigger that causes the job to be invoked. |
java.lang.String |
getTypeName()
The name that identifies this type of schedule. |
boolean |
isConcurrent()
If true, multiple jobs can execute at any one time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractScheduleType(boolean concurrent,
java.lang.String typeName)
concurrent - if true, multiple jobs can run concurrently. If false, only one
scheduled job will run at any one time across the RHQ Server cloud.typeName - the name of the concrete schedule type (subclasses must provide this)| Method Detail |
|---|
public static final AbstractScheduleType create(boolean concurrent,
java.lang.String scheduleType,
java.lang.String scheduleTrigger)
concurrent - if true, multiple jobs can run concurrently.scheduleType - the name of the concrete schedule typescheduleTrigger - the string form of the schedule's trigger
public java.lang.String getTypeName()
public boolean isConcurrent()
public abstract java.lang.String getScheduleTrigger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||