Interface GraphRoute

    • Method Detail

      • getAttachedDocumentModels

        DocumentModelList getAttachedDocumentModels()
        Gets the attached documents.
        Returns:
        a list of document
      • getVariables

        Map<String,​Serializable> getVariables()
        Gets the graph variables.
        Returns:
        the map of variables
      • getJsonVariables

        Map<String,​Serializable> getJsonVariables()
        Gets the Json formatted graph variables.
        Returns:
        the map of variables
        Since:
        7.2
      • setVariables

        void setVariables​(Map<String,​Serializable> map)
        Sets the graph variables.
        Parameters:
        map - the map of variables
      • setJSONVariables

        void setJSONVariables​(Map<String,​String> map)
        Sets the variables of the workflow based on their JSON representation (especially for scalar lists). For example:
         Map<String, String> map = new HashMap<String, String>();
         map.put("contributors","[\"John Doe\", \"John Smith\"]");
         map.put("title","Test Title");
         
        Parameters:
        map - the map of variables
        Since:
        5.9.3, 5.8.0-HF10
      • getAvailabilityFilter

        String getAvailabilityFilter()
        Returns the availability filter name for this graph.
      • hasParentRoute

        boolean hasParentRoute()
        Checks if this graph instance has been started from another graph.
        Returns:
        true if this is a sub-route instance
        Since:
        5.7.2
      • resumeParentRoute

        void resumeParentRoute​(CoreSession session)
        Resumes execution of the parent route from which this graph was started.
        Parameters:
        session - the session
        Since:
        5.7.2
      • getSuspendedNodes

        List<GraphNode> getSuspendedNodes()
        Get the list of nodes of which the State is suspended.
        Since:
        7.4