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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isEngineEnabled​(java.lang.String engineId)
      Determines whether the engine with the given id is enabled.
      boolean isEngineVisible​(java.lang.String engineId)
      Determines whether the workflow definitions are visible for the engine with the given id.
      void setEngineEnabled​(java.lang.String engineId, boolean isEnabled)
      Enables/disables the engine with the given id.
      void setEngineVisibility​(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 engine
        isEnabled - 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 engine
        isVisible - true if the definitions are visible