Class StepsServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StepsServiceImpl
-
- All Implemented Interfaces:
Service
,StepsService
public class StepsServiceImpl extends ServiceImpl implements StepsService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StepsService
StepsService.AddRequest, StepsService.AddResponse, StepsService.ListRequest, StepsService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description StepsServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepsService.AddRequest
add()
Add an external step to an existing job or to an existing step.StepsService.ListRequest
list()
Retrieves the representation of the steps.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StepService
stepService(String id)
Reference to the step service.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
StepsServiceImpl
public StepsServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public StepsService.AddRequest add()
Description copied from interface:StepsService
Add an external step to an existing job or to an existing step. For example, to add a step to `job` with identifier `123` send the following request: [source] ---- POST /ovirt-engine/api/jobs/123/steps ---- With the following request body: [source,xml] ----Validating 2016-12-12T23:07:26.605+02:00 started validating Validating true 2 2016-12-13T01:06:15.380+02:00 started validating - Specified by:
add
in interfaceStepsService
-
list
public StepsService.ListRequest list()
Description copied from interface:StepsService
Retrieves the representation of the steps. [source] ---- GET /ovirt-engine/api/job/123/steps ---- You will receive response in XML like this one: [source,xml] ----Validating true 2 2016-12-13T01:06:15.380+02:00 started validating - Specified by:
list
in interfaceStepsService
-
stepService
public StepService stepService(String id)
Description copied from interface:StepsService
Reference to the step service.- Specified by:
stepService
in interfaceStepsService
-
service
public Service service(String path)
Description copied from interface:StepsService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceStepsService
-
-