org.rhq.core.domain.operation.bean
Class OperationSchedule
java.lang.Object
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
OperationSchedule
public OperationSchedule()
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.