org.rhq.core.domain.operation
Class ResourceOperationHistory
java.lang.Object
org.rhq.core.domain.operation.OperationHistory
org.rhq.core.domain.operation.ResourceOperationHistory
- All Implemented Interfaces:
- Serializable
public class ResourceOperationHistory
- extends OperationHistory
Information on a specific operation execution on a particular resource. This individual operation execution may or
may not have been part of a group execution
.
- See Also:
- Serialized Form
Methods inherited from class org.rhq.core.domain.operation.OperationHistory |
equals, getCreatedTime, getDuration, getErrorMessage, getId, getJobGroup, getJobId, getJobName, getModifiedTime, getOperationDefinition, getParameters, getStartedTime, getStatus, getSubjectName, hashCode, setErrorMessage, setId, setJobGroup, setJobName, setOperationDefinition, setParameters, setStartedTime, setStatus |
QUERY_FIND_ALL_IN_STATUS
public static final String QUERY_FIND_ALL_IN_STATUS
- See Also:
- Constant Field Values
QUERY_FIND_BY_GROUP_OPERATION_HISTORY_ID
public static final String QUERY_FIND_BY_GROUP_OPERATION_HISTORY_ID
- See Also:
- Constant Field Values
QUERY_FIND_BY_RESOURCE_ID_AND_STATUS
public static final String QUERY_FIND_BY_RESOURCE_ID_AND_STATUS
- See Also:
- Constant Field Values
QUERY_FIND_BY_RESOURCE_ID_AND_NOT_STATUS
public static final String QUERY_FIND_BY_RESOURCE_ID_AND_NOT_STATUS
- See Also:
- Constant Field Values
QUERY_FIND_LATEST_COMPLETED_OPERATION
public static final String QUERY_FIND_LATEST_COMPLETED_OPERATION
- See Also:
- Constant Field Values
QUERY_FIND_OLDEST_INPROGRESS_OPERATION
public static final String QUERY_FIND_OLDEST_INPROGRESS_OPERATION
- See Also:
- Constant Field Values
QUERY_DELETE_BY_RESOURCES
public static final String QUERY_DELETE_BY_RESOURCES
- See Also:
- Constant Field Values
QUERY_FIND_ALL
public static final String QUERY_FIND_ALL
- See Also:
- Constant Field Values
QUERY_FIND_ALL_ADMIN
public static final String QUERY_FIND_ALL_ADMIN
- See Also:
- Constant Field Values
ResourceOperationHistory
protected ResourceOperationHistory()
ResourceOperationHistory
public ResourceOperationHistory(String jobName,
String jobGroup,
String subjectName,
OperationDefinition operationDefinition,
Configuration parameters,
Resource resource,
GroupOperationHistory groupHistory)
getResource
public Resource getResource()
setResource
public void setResource(Resource resource)
getResults
public Configuration getResults()
setResults
public void setResults(Configuration results)
getGroupOperationHistory
public GroupOperationHistory getGroupOperationHistory()
- If this individual resource operation execution history was part of a group operation execution, this will return
the non-
null
history for that group execution. If this was not part of a group execution, this will
return null
.
- Returns:
- the group history entity
setGroupOperationHistory
public void setGroupOperationHistory(GroupOperationHistory groupOperationHistory)
toString
public String toString()
- Overrides:
toString
in class OperationHistory
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.