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 java.lang.String TYPE_NAME
           
 
Constructor Summary
CronScheduleType(boolean concurrent, java.lang.String cronExpression)
           
 
Method Summary
 java.lang.String getCronExpression()
           
 java.lang.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, 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 java.lang.String TYPE_NAME
See Also:
Constant Field Values
Constructor Detail

CronScheduleType

public CronScheduleType(boolean concurrent,
                        java.lang.String cronExpression)
Method Detail

getCronExpression

public java.lang.String getCronExpression()

getScheduleTrigger

public java.lang.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-2009 Red Hat, Inc.. All Rights Reserved.