Class BatchResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.batch.impl.BatchResourceImpl
-
- All Implemented Interfaces:
BatchResource
public class BatchResourceImpl extends Object implements BatchResource
-
-
Field Summary
Fields Modifier and Type Field Description protected String
batchId
protected ProcessEngine
processEngine
-
Constructor Summary
Constructors Constructor Description BatchResourceImpl(ProcessEngine processEngine, String batchId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activateBatch()
void
deleteBatch(boolean cascade)
BatchDto
getBatch()
protected void
suspendBatch()
void
updateSuspensionState(SuspensionStateDto suspensionState)
-
-
-
Field Detail
-
processEngine
protected ProcessEngine processEngine
-
batchId
protected String batchId
-
-
Constructor Detail
-
BatchResourceImpl
public BatchResourceImpl(ProcessEngine processEngine, String batchId)
-
-
Method Detail
-
getBatch
public BatchDto getBatch()
- Specified by:
getBatch
in interfaceBatchResource
-
updateSuspensionState
public void updateSuspensionState(SuspensionStateDto suspensionState)
- Specified by:
updateSuspensionState
in interfaceBatchResource
-
suspendBatch
protected void suspendBatch()
-
activateBatch
protected void activateBatch()
-
deleteBatch
public void deleteBatch(boolean cascade)
- Specified by:
deleteBatch
in interfaceBatchResource
-
-