@Path(value="/control")
@Consumes(value={"application/xml","application/json"})
@Produces(value={"application/xml","application/json"})
public interface ControlService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createTask(Control control)
Creates the control task
|
Control |
prepare(java.lang.String controlName,
java.lang.String id)
Returns a parameter object for the task that will execute the control task method.
|
@GET @Path(value="prepare/{controlName}/{id:.*?}") Control prepare(@PathParam(value="controlName") java.lang.String controlName, @PathParam(value="id") java.lang.String id)
controlName
- The name of the control method to execute.id
- the CI to execute the control method on/control
.createTask(com.xebialabs.deployit.engine.api.dto.Control)
.@POST java.lang.String createTask(Control control)
control
- the Control parameter object.TaskService
./control/prepare
.prepare(String, String)