Class StepServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.MeasurableServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.StepServiceImpl
-
- All Implemented Interfaces:
Service
,MeasurableService
,StepService
public class StepServiceImpl extends MeasurableServiceImpl implements StepService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.StepService
StepService.EndRequest, StepService.EndResponse, StepService.GetRequest, StepService.GetResponse
-
-
Constructor Summary
Constructors Constructor Description StepServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete 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.StatisticsService
statisticsService()
String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
StepServiceImpl
public StepServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
end
public StepService.EndRequest end()
Description copied from interface:StepService
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 - Specified by:
end
in interfaceStepService
-
get
public StepService.GetRequest get()
Description copied from interface:StepService
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 - Specified by:
get
in interfaceStepService
-
statisticsService
public StatisticsService statisticsService()
- Specified by:
statisticsService
in interfaceMeasurableService
- Overrides:
statisticsService
in classMeasurableServiceImpl
-
service
public Service service(String path)
Description copied from interface:MeasurableService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceMeasurableService
- Specified by:
service
in interfaceStepService
- Overrides:
service
in classMeasurableServiceImpl
-
toString
public String toString()
- Overrides:
toString
in classMeasurableServiceImpl
-
-