public interface WorkerConfigurationService
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExecutionCancelled(Long executionId)
checks if the given execution is pending cancel
|
boolean |
isExecutionPaused(Long executionId,
String branchId)
checks if the given execution is pending pause
|
boolean |
isMemberOf(String group)
checks if the current worker is part of the fiven group
|
void |
setEnabled(boolean enabled)
Sets the current worker enabled state
relevant for tasks not to work until the worker is enabled
|
boolean isExecutionCancelled(Long executionId)
executionId - the execution id to checkboolean isExecutionPaused(Long executionId, String branchId)
executionId - the execution id to checkboolean isMemberOf(String group)
group - the group to checkvoid setEnabled(boolean enabled)
enabled - the edibility state to setCopyright © 2019. All rights reserved.