Interface WorkflowAdminService
-
- All Known Implementing Classes:
WorkflowAdminServiceImpl
public interface WorkflowAdminServiceClient facing API for providing administration information about theWorkflowService.- Since:
- 4.0
- Author:
- Gavin Cornwell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEngineEnabled(java.lang.String engineId)Determines whether the engine with the given id is enabled.booleanisEngineVisible(java.lang.String engineId)Determines whether the workflow definitions are visible for the engine with the given id.voidsetEngineEnabled(java.lang.String engineId, boolean isEnabled)Enables/disables the engine with the given id.voidsetEngineVisibility(java.lang.String engineId, boolean isVisible)Sets the visiblity of workflow definitions for the engine with the given id.
-
-
-
Method Detail
-
isEngineEnabled
boolean isEngineEnabled(java.lang.String engineId)
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
void setEngineEnabled(java.lang.String engineId, boolean isEnabled)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
boolean isEngineVisible(java.lang.String engineId)
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
void setEngineVisibility(java.lang.String engineId, boolean isVisible)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
-
-