Interface ProcedureTypeBuilder
public interface ProcedureTypeBuilder
Builder of expected
ProcedureType.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddEscalationType(Class<? extends Throwable> escalationType) Convenience method to addProcedureEscalationTypedefaulting the name.voidaddEscalationType(String escalationName, Class<? extends Throwable> escalationType) Adds aProcedureEscalationType.voidaddFlowType(String flowName, Class<?> argumentType) Adds aProcedureFlowType.voidaddObjectType(String objectName, Class<?> objectType, String typeQualifier) Adds aProcedureObjectType.voidaddVariableType(String variableType) Convenience method to add aProcedureVariableTypedefaulting the name.voidaddVariableType(String variableName, Class<?> variableType) Adds aProcedureVariableType.voidaddVariableType(String variableName, String variableType) Adds aProcedureVariableType.build()Builds theProcedureType.voidsetNextArgumentType(Class<?> nextArgumentType) Specifies the next argument type.
-
Method Details
-
addObjectType
Adds aProcedureObjectType. -
addVariableType
Convenience method to add aProcedureVariableTypedefaulting the name.- Parameters:
variableType- Type ofVar.
-
addVariableType
Adds aProcedureVariableType. -
addVariableType
Adds aProcedureVariableType. -
addFlowType
Adds aProcedureFlowType.- Parameters:
flowName- Name ofFlow.argumentType- Possible argument type. May benullfor no argument.
-
addEscalationType
Convenience method to addProcedureEscalationTypedefaulting the name.- Parameters:
escalationType- Escalation type.
-
addEscalationType
Adds aProcedureEscalationType.- Parameters:
escalationName- Name ofEscalationFlow.escalationType-Escalationtype.
-
setNextArgumentType
Specifies the next argument type.- Parameters:
nextArgumentType- Next argument type.
-
build
ProcedureType build()Builds theProcedureType.- Returns:
ProcedureType
-