org.rhq.enterprise.server.xmlschema
Class PeriodicScheduleType

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

public class PeriodicScheduleType
extends AbstractScheduleType

A schedule type whose jobs are triggered periodically every certain number of milliseconds.

Author:
John Mazzitelli

Field Summary
static java.lang.String TYPE_NAME
           
 
Constructor Summary
PeriodicScheduleType(boolean concurrent, long period)
           
 
Method Summary
 long getPeriod()
           
 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

PeriodicScheduleType

public PeriodicScheduleType(boolean concurrent,
                            long period)
Method Detail

getPeriod

public long getPeriod()

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.