org.rhq.enterprise.server.xmlschema
Class CronScheduleType

java.lang.Object
  extended by org.rhq.enterprise.server.xmlschema.AbstractScheduleType
      extended by org.rhq.enterprise.server.xmlschema.CronScheduleType

public class CronScheduleType
extends AbstractScheduleType

A schedule that triggers based on a cron expression.

Author:
John Mazzitelli

Field Summary
static String TYPE_NAME
           
 
Constructor Summary
CronScheduleType(boolean concurrent, boolean clustered, String cronExpression)
           
 
Method Summary
 String getCronExpression()
           
 String getScheduleTrigger()
          Returns the string form of the trigger that causes the job to be invoked.
 
Methods inherited from class org.rhq.enterprise.server.xmlschema.AbstractScheduleType
create, getTypeName, isClustered, isConcurrent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NAME

public static final String TYPE_NAME
See Also:
Constant Field Values
Constructor Detail

CronScheduleType

public CronScheduleType(boolean concurrent,
                        boolean clustered,
                        String cronExpression)
Method Detail

getCronExpression

public String getCronExpression()

getScheduleTrigger

public String getScheduleTrigger()
Description copied from class: AbstractScheduleType
Returns the string form of the trigger that causes the job to be invoked.

Specified by:
getScheduleTrigger in class AbstractScheduleType
Returns:
a string that describes the trigger of the schedule


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.