Interface WorkflowAdminService
- All Known Implementing Classes:
WorkflowAdminServiceImpl
public interface WorkflowAdminService
Client facing API for providing administration information about the
WorkflowService.- Since:
- 4.0
- Author:
- Gavin Cornwell
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisEngineEnabled(String engineId) Determines whether the engine with the given id is enabled.booleanisEngineVisible(String engineId) Determines whether the workflow definitions are visible for the engine with the given id.voidsetEngineEnabled(String engineId, boolean isEnabled) Enables/disables the engine with the given id.voidsetEngineVisibility(String engineId, boolean isVisible) Sets the visiblity of workflow definitions for the engine with the given id.
-
Method Details
-
isEngineEnabled
Determines whether the engine with the given id is enabled.- Parameters:
engineId- The id of a workflow engine- Returns:
- true if the engine id is valid and is enabled
-
setEngineEnabled
Enables/disables the engine with the given id.- Parameters:
engineId- The id of a workflow engineisEnabled- true to enable the engine, false to disable
-
isEngineVisible
Determines whether the workflow definitions are visible for the engine with the given id. NOTE: Workflow definitions can always be retrieved directly i.e. via name or id- Parameters:
engineId- The id of a workflow engine- Returns:
- true if the definitions are visible
-
setEngineVisibility
Sets the visiblity of workflow definitions for the engine with the given id. NOTE: Workflow definitions can always be retrieved directly i.e. via name or id- Parameters:
engineId- The id of a workflow engineisVisible- true if the definitions are visible
-