Constructor and Description |
---|
JobStep(HttpProxyBroker proxy) |
Modifier and Type | Method and Description |
---|---|
Action |
end(Action action)
Performs end action.
|
Action |
end(Action action,
String correlationId)
Performs end action.
|
Action |
end(Action action,
String correlationId,
Boolean async)
Performs end action.
|
JobStepStatistics |
getStatistics()
Gets the value of the JobStepStatistics property.
|
getEndTime, getExternal, getExternalType, getJob, getNumber, getParentStep, getStartTime, getStatus, getType, isSetEndTime, isSetExternal, isSetExternalType, isSetJob, isSetNumber, isSetParentStep, isSetStartTime, isSetStatus, isSetType, setEndTime, setExternal, setExternalType, setJob, setNumber, setParentStep, setStartTime, setStatus, setType
getComment, getCreationStatus, getDescription, getHref, getId, getLinks, getName, isSetComment, isSetCreationStatus, isSetDescription, isSetHref, isSetId, isSetLinks, isSetName, setComment, setCreationStatus, setDescription, setHref, setId, setName, unsetLinks
getActions, isSetActions, setActions
public JobStep(HttpProxyBroker proxy)
proxy
- HttpProxyBrokerpublic JobStepStatistics getStatistics()
JobStepStatistics
public Action end(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.succeeded [action.force] [action.status.state] [action.async] [action.grace_period.expiry]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action end(Action action, String correlationId) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.succeeded [action.force] [action.status.state] [action.async] [action.grace_period.expiry]
correlationId
- [any string]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.public Action end(Action action, String correlationId, Boolean async) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
action.succeeded [action.force] [action.status.state] [action.async] [action.grace_period.expiry]
correlationId
- [any string]
async
- [true|false]
Action
org.apache.http.client.ClientProtocolException
- Signals that HTTP/S protocol error has occurred.ServerException
- Signals that an oVirt api error has occurred.IOException
- Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0