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.
|
getEndTime, getExternal, getJob, getNumber, getParentStep, getStartTime, getStatus, getType, isSetEndTime, isSetExternal, isSetJob, isSetNumber, isSetParentStep, isSetStartTime, isSetStatus, isSetType, setEndTime, setExternal, 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 Action end(Action action) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
action
- Action
[action.force] [action.status.state]
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.force] [action.status.state]
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.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0