Interface ProcedureTypeBuilder


  • public interface ProcedureTypeBuilder
    Builder of expected ProcedureType.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • addObjectType

        void addObjectType​(java.lang.String objectName,
                           java.lang.Class<?> objectType,
                           java.lang.String typeQualifier)
        Parameters:
        objectName - Name of Object.
        objectType - Object type.
        typeQualifier - Type qualifier. May be null.
      • addVariableType

        void addVariableType​(java.lang.String variableType)
        Convenience method to add a ProcedureVariableType defaulting the name.
        Parameters:
        variableType - Type of Var.
      • addVariableType

        void addVariableType​(java.lang.String variableName,
                             java.lang.String variableType)
        Parameters:
        variableName - Name of Var.
        variableType - Type of Var.
      • addVariableType

        void addVariableType​(java.lang.String variableName,
                             java.lang.Class<?> variableType)
        Parameters:
        variableName - Name of Var.
        variableType - Type of Var.
      • addFlowType

        void addFlowType​(java.lang.String flowName,
                         java.lang.Class<?> argumentType)
        Parameters:
        flowName - Name of Flow.
        argumentType - Possible argument type. May be null for no argument.
      • addEscalationType

        void addEscalationType​(java.lang.Class<? extends java.lang.Throwable> escalationType)
        Convenience method to add ProcedureEscalationType defaulting the name.
        Parameters:
        escalationType - Escalation type.
      • addEscalationType

        void addEscalationType​(java.lang.String escalationName,
                               java.lang.Class<? extends java.lang.Throwable> escalationType)
        Parameters:
        escalationName - Name of EscalationFlow.
        escalationType - Escalation type.
      • setNextArgumentType

        void setNextArgumentType​(java.lang.Class<?> nextArgumentType)
        Specifies the next argument type.
        Parameters:
        nextArgumentType - Next argument type.