org.rhq.core.domain.operation.bean
Class OperationSchedule

java.lang.Object
  extended by org.rhq.core.domain.operation.bean.OperationSchedule
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GroupOperationSchedule, ResourceOperationSchedule

public abstract class OperationSchedule
extends Object
implements Serializable

A simple non-entity POJO that describes a particular scheduled operation.

See Also:
Serialized Form

Constructor Summary
OperationSchedule()
           
 
Method Summary
 String getDescription()
           
 int getId()
           
 String getJobGroup()
           
 JobId getJobId()
          The single job ID which identifies the operation.
 String getJobName()
           
 JobTrigger getJobTrigger()
           
 Date getNextFireTime()
           
 String getOperationDisplayName()
           
 String getOperationName()
           
 Configuration getParameters()
          Returns the option parameters that are passed to the operation invocation.
 Subject getSubject()
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setJobGroup(String jobGroup)
           
 void setJobName(String jobName)
           
 void setJobTrigger(JobTrigger jobTrigger)
           
 void setNextFireTime(Date nextFireTime)
           
 void setOperationDisplayName(String operationDisplayName)
           
 void setOperationName(String operationName)
           
 void setParameters(Configuration parameters)
           
 void setSubject(Subject subject)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationSchedule

public OperationSchedule()
Method Detail

getId

public int getId()

setId

public void setId(int id)

getJobGroup

public String getJobGroup()

setJobGroup

public void setJobGroup(String jobGroup)

getJobName

public String getJobName()

setJobName

public void setJobName(String jobName)

getOperationName

public String getOperationName()

setOperationName

public void setOperationName(String operationName)

getOperationDisplayName

public String getOperationDisplayName()

setOperationDisplayName

public void setOperationDisplayName(String operationDisplayName)

getParameters

public Configuration getParameters()
Returns the option parameters that are passed to the operation invocation.

Returns:
the parameters, or null if no parameters are to be passed

setParameters

public void setParameters(Configuration parameters)

getSubject

public Subject getSubject()

setSubject

public void setSubject(Subject subject)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getJobTrigger

public JobTrigger getJobTrigger()

setJobTrigger

public void setJobTrigger(JobTrigger jobTrigger)

getNextFireTime

public Date getNextFireTime()

setNextFireTime

public void setNextFireTime(Date nextFireTime)

getJobId

public JobId getJobId()
The single job ID which identifies the operation. It can later be parsed via JobId.JobId(String). Note that this job ID only identifies the scheduled operation; it does not identify any specific invocation of that operation (see HistoryJobId for that).

Returns:
job ID

toString

public String toString()
Overrides:
toString in class Object


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