Interface ProcedureTypeBuilder
-
public interface ProcedureTypeBuilder
Builder of expectedProcedureType
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addEscalationType(java.lang.Class<? extends java.lang.Throwable> escalationType)
Convenience method to addProcedureEscalationType
defaulting the name.void
addEscalationType(java.lang.String escalationName, java.lang.Class<? extends java.lang.Throwable> escalationType)
Adds aProcedureEscalationType
.void
addFlowType(java.lang.String flowName, java.lang.Class<?> argumentType)
Adds aProcedureFlowType
.void
addObjectType(java.lang.String objectName, java.lang.Class<?> objectType, java.lang.String typeQualifier)
Adds aProcedureObjectType
.void
addVariableType(java.lang.String variableType)
Convenience method to add aProcedureVariableType
defaulting the name.void
addVariableType(java.lang.String variableName, java.lang.Class<?> variableType)
Adds aProcedureVariableType
.void
addVariableType(java.lang.String variableName, java.lang.String variableType)
Adds aProcedureVariableType
.ProcedureType
build()
Builds theProcedureType
.void
setNextArgumentType(java.lang.Class<?> nextArgumentType)
Specifies the next argument type.
-
-
-
Method Detail
-
addObjectType
void addObjectType(java.lang.String objectName, java.lang.Class<?> objectType, java.lang.String typeQualifier)
Adds aProcedureObjectType
.- Parameters:
objectName
- Name ofObject
.objectType
-Object
type.typeQualifier
- Type qualifier. May benull
.
-
addVariableType
void addVariableType(java.lang.String variableType)
Convenience method to add aProcedureVariableType
defaulting the name.- Parameters:
variableType
- Type ofVar
.
-
addVariableType
void addVariableType(java.lang.String variableName, java.lang.String variableType)
Adds aProcedureVariableType
.
-
addVariableType
void addVariableType(java.lang.String variableName, java.lang.Class<?> variableType)
Adds aProcedureVariableType
.
-
addFlowType
void addFlowType(java.lang.String flowName, java.lang.Class<?> argumentType)
Adds aProcedureFlowType
.- Parameters:
flowName
- Name ofFlow
.argumentType
- Possible argument type. May benull
for no argument.
-
addEscalationType
void addEscalationType(java.lang.Class<? extends java.lang.Throwable> escalationType)
Convenience method to addProcedureEscalationType
defaulting the name.- Parameters:
escalationType
- Escalation type.
-
addEscalationType
void addEscalationType(java.lang.String escalationName, java.lang.Class<? extends java.lang.Throwable> escalationType)
Adds aProcedureEscalationType
.- Parameters:
escalationName
- Name ofEscalationFlow
.escalationType
-Escalation
type.
-
setNextArgumentType
void setNextArgumentType(java.lang.Class<?> nextArgumentType)
Specifies the next argument type.- Parameters:
nextArgumentType
- Next argument type.
-
build
ProcedureType build()
Builds theProcedureType
.- Returns:
ProcedureType
-
-