Package org.ovirt.engine.sdk4.services
Interface StepService
-
- All Superinterfaces:
MeasurableService
,Service
- All Known Implementing Classes:
StepServiceImpl
public interface StepService extends MeasurableService
A service to manage a step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StepService.EndRequest
Marks an external step execution as ended.static interface
StepService.EndResponse
Marks an external step execution as ended.static interface
StepService.GetRequest
Retrieves a step.static interface
StepService.GetResponse
Retrieves a step.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StepService.EndRequest
end()
Marks an external step execution as ended.StepService.GetRequest
get()
Retrieves a step.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.-
Methods inherited from interface org.ovirt.engine.sdk4.services.MeasurableService
statisticsService
-
-
-
-
Method Detail
-
end
StepService.EndRequest end()
Marks an external step execution as ended. For example, to terminate a step with identifier `456` which belongs to a `job` with identifier `123` send the following request: [source] ---- POST /ovirt-engine/api/jobs/123/steps/456/end ---- With the following request body: [source,xml] ----true true
-
get
StepService.GetRequest get()
Retrieves a step. [source] ---- GET /ovirt-engine/api/jobs/123/steps/456 ---- You will receive response in XML like this one: [source,xml] ----Validating 2016-12-12T23:07:26.627+02:00 false 0 2016-12-12T23:07:26.605+02:00 finished validating
-
service
Service service(String path)
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMeasurableService
-
-