public class FlowExecutionResource extends com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowStatusId,com.linkedin.restli.common.EmptyRecord,FlowExecution>
| Constructor and Description |
|---|
FlowExecutionResource() |
| Modifier and Type | Method and Description |
|---|---|
com.linkedin.restli.server.UpdateResponse |
delete(com.linkedin.restli.common.ComplexResourceKey<FlowStatusId,com.linkedin.restli.common.EmptyRecord> key)
Kill the FlowExecution with the given key
|
FlowExecution |
get(com.linkedin.restli.common.ComplexResourceKey<FlowStatusId,com.linkedin.restli.common.EmptyRecord> key)
Retrieve the FlowExecution with the given key
|
List<FlowExecution> |
getLatestFlowExecution(com.linkedin.restli.server.PagingContext context,
FlowId flowId,
Integer count,
String tag,
String executionStatus) |
void |
resume(com.linkedin.restli.server.PathKeys pathKeys)
Resume a failed
FlowExecution from the point before failure. |
batchCreate, batchDelete, batchGet, batchUpdate, batchUpdate, create, getAll, update, updategetContext, setContextpublic FlowExecution get(com.linkedin.restli.common.ComplexResourceKey<FlowStatusId,com.linkedin.restli.common.EmptyRecord> key)
get in interface com.linkedin.restli.server.resources.CollectionResource<com.linkedin.restli.common.ComplexResourceKey<FlowStatusId,com.linkedin.restli.common.EmptyRecord>,FlowExecution>get in class com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowStatusId,com.linkedin.restli.common.EmptyRecord,FlowExecution>key - FlowStatusId of flow to getFlowExecutionpublic List<FlowExecution> getLatestFlowExecution(com.linkedin.restli.server.PagingContext context, FlowId flowId, Integer count, String tag, String executionStatus)
public void resume(com.linkedin.restli.server.PathKeys pathKeys)
FlowExecution from the point before failure.pathKeys - key of FlowExecution specified in pathpublic com.linkedin.restli.server.UpdateResponse delete(com.linkedin.restli.common.ComplexResourceKey<FlowStatusId,com.linkedin.restli.common.EmptyRecord> key)
delete in interface com.linkedin.restli.server.resources.CollectionResource<com.linkedin.restli.common.ComplexResourceKey<FlowStatusId,com.linkedin.restli.common.EmptyRecord>,FlowExecution>delete in class com.linkedin.restli.server.resources.ComplexKeyResourceTemplate<FlowStatusId,com.linkedin.restli.common.EmptyRecord,FlowExecution>key - FlowStatusId of flow to killUpdateResponse