com.xebialabs.deployit.core.rest.api
Class TaskResource
java.lang.Object
com.xebialabs.deployit.core.rest.secured.AbstractSecuredResource
com.xebialabs.deployit.core.rest.api.TaskResource
- All Implemented Interfaces:
- com.xebialabs.deployit.core.api.TaskProxy
@Controller
public class TaskResource
- extends AbstractSecuredResource
- implements com.xebialabs.deployit.core.api.TaskProxy
|
Method Summary |
javax.ws.rs.core.Response |
abort(java.lang.String taskId)
|
javax.ws.rs.core.Response |
cancel(java.lang.String taskId)
|
javax.ws.rs.core.Response |
getStepInfo(java.lang.String taskId,
int stepNr,
com.xebialabs.deployit.core.api.resteasy.Date ifModifiedSince)
|
javax.ws.rs.core.Response |
getStepsForTask(java.lang.String taskId)
|
javax.ws.rs.core.Response |
getTaskInfo(java.lang.String taskId)
|
javax.ws.rs.core.Response |
getUnfinishedTasks()
|
protected boolean |
hasBeenModifiedSince(com.xebialabs.deployit.task.TaskStepInfo step,
com.xebialabs.deployit.core.api.resteasy.Date ifModifiedSince)
|
javax.ws.rs.core.Response |
moveStep(java.lang.String taskId,
int stepNr,
int newPosition)
|
javax.ws.rs.core.Response |
start(java.lang.String taskId)
|
javax.ws.rs.core.Response |
stop(java.lang.String taskId)
|
javax.ws.rs.core.Response |
toggleSkipSteps(java.lang.String taskId,
java.lang.String stepIds)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskResource
public TaskResource()
start
public javax.ws.rs.core.Response start(java.lang.String taskId)
- Specified by:
start in interface com.xebialabs.deployit.core.api.TaskProxy
cancel
public javax.ws.rs.core.Response cancel(java.lang.String taskId)
- Specified by:
cancel in interface com.xebialabs.deployit.core.api.TaskProxy
stop
public javax.ws.rs.core.Response stop(java.lang.String taskId)
- Specified by:
stop in interface com.xebialabs.deployit.core.api.TaskProxy
abort
public javax.ws.rs.core.Response abort(java.lang.String taskId)
- Specified by:
abort in interface com.xebialabs.deployit.core.api.TaskProxy
getTaskInfo
public javax.ws.rs.core.Response getTaskInfo(java.lang.String taskId)
- Specified by:
getTaskInfo in interface com.xebialabs.deployit.core.api.TaskProxy
toggleSkipSteps
public javax.ws.rs.core.Response toggleSkipSteps(java.lang.String taskId,
java.lang.String stepIds)
- Specified by:
toggleSkipSteps in interface com.xebialabs.deployit.core.api.TaskProxy
moveStep
public javax.ws.rs.core.Response moveStep(java.lang.String taskId,
int stepNr,
int newPosition)
- Specified by:
moveStep in interface com.xebialabs.deployit.core.api.TaskProxy
getStepInfo
public javax.ws.rs.core.Response getStepInfo(java.lang.String taskId,
int stepNr,
com.xebialabs.deployit.core.api.resteasy.Date ifModifiedSince)
- Specified by:
getStepInfo in interface com.xebialabs.deployit.core.api.TaskProxy
hasBeenModifiedSince
protected boolean hasBeenModifiedSince(com.xebialabs.deployit.task.TaskStepInfo step,
com.xebialabs.deployit.core.api.resteasy.Date ifModifiedSince)
getUnfinishedTasks
public javax.ws.rs.core.Response getUnfinishedTasks()
- Specified by:
getUnfinishedTasks in interface com.xebialabs.deployit.core.api.TaskProxy
getStepsForTask
public javax.ws.rs.core.Response getStepsForTask(java.lang.String taskId)
- Specified by:
getStepsForTask in interface com.xebialabs.deployit.core.api.TaskProxy