Interface WorkflowProcess

    • Method Detail

      • getImports

        Set<String> getImports()
        Returns the imports of this RuleFlow process. They are defined as a List of fully qualified class names.
        Specified by:
        getImports in interface Process
        Returns:
        the imports of this RuleFlow process
      • getFunctionImports

        List<String> getFunctionImports()
        Returns the function imports of this RuleFlow process. They are defined as a List of fully qualified class names.
        Specified by:
        getFunctionImports in interface Process
        Returns:
        the function imports of this RuleFlow process
      • setImports

        void setImports​(Set<String> imports)
        Sets the imports of this RuleFlow process
        Specified by:
        setImports in interface Process
        Parameters:
        imports - the imports as a List of fully qualified class names
      • setFunctionImports

        void setFunctionImports​(List<String> functionImports)
        Sets the imports of this RuleFlow process
        Specified by:
        setFunctionImports in interface Process
        Parameters:
        functionImports - the imports as a List of fully qualified class names
      • getGlobals

        Map<String,​String> getGlobals()
        Returns the globals of this RuleFlow process. They are defined as a Map with the name as key and the type as value.
        Specified by:
        getGlobals in interface Process
        Returns:
        the imports of this RuleFlow process
      • setGlobals

        void setGlobals​(Map<String,​String> globals)
        Sets the imports of this RuleFlow process
        Specified by:
        setGlobals in interface Process
        Parameters:
        globals - the globals as a Map with the name as key and the type as value
      • getGlobalNames

        String[] getGlobalNames()
        Returns the names of the globals used in this RuleFlow process
        Specified by:
        getGlobalNames in interface Process
        Returns:
        the names of the globals of this RuleFlow process
      • isAutoComplete

        boolean isAutoComplete()
        Returns whether this process will automatically complete if it contains no active node instances anymore
        Returns:
        the names of the globals of this RuleFlow process
      • isDynamic

        boolean isDynamic()
      • getProcessType

        Integer getProcessType()
      • getParentNode

        org.kie.api.definition.process.Node getParentNode​(long nodeId)