Class ManagedFunctionEscalationTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.managedfunction.ManagedFunctionEscalationTypeImpl
-
- All Implemented Interfaces:
ManagedFunctionEscalationType,ManagedFunctionEscalationTypeBuilder
public class ManagedFunctionEscalationTypeImpl extends java.lang.Object implements ManagedFunctionEscalationType, ManagedFunctionEscalationTypeBuilder
ManagedFunctionEscalationTypeimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedFunctionEscalationTypeImpl(java.lang.Class<?> escalationType)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEscalationName()Obtains the name for theManagedFunctionEscalationType.<E extends java.lang.Throwable>
java.lang.Class<E>getEscalationType()Obtains the type ofEscalationFlowby theManagedFunction.ManagedFunctionEscalationTypeBuildersetLabel(java.lang.String label)Provides means to specify a display label for theEscalationFlow.
-
-
-
Constructor Detail
-
ManagedFunctionEscalationTypeImpl
public ManagedFunctionEscalationTypeImpl(java.lang.Class<?> escalationType)
Initiate.- Parameters:
escalationType- Type of theEscalationFlow.
-
-
Method Detail
-
setLabel
public ManagedFunctionEscalationTypeBuilder setLabel(java.lang.String label)
Description copied from interface:ManagedFunctionEscalationTypeBuilderProvides means to specify a display label for the
EscalationFlow.This need not be set as is only an aid to better identify the
EscalationFlow. If not set it will use theSimplename of theEscalationFlowClass.- Specified by:
setLabelin interfaceManagedFunctionEscalationTypeBuilder- Parameters:
label- Display label for theEscalationFlow.- Returns:
this.
-
getEscalationType
public <E extends java.lang.Throwable> java.lang.Class<E> getEscalationType()
Description copied from interface:ManagedFunctionEscalationTypeObtains the type ofEscalationFlowby theManagedFunction.- Specified by:
getEscalationTypein interfaceManagedFunctionEscalationType- Type Parameters:
E-Escalationtype.- Returns:
- Type of
EscalationFlowby theManagedFunction.
-
getEscalationName
public java.lang.String getEscalationName()
Description copied from interface:ManagedFunctionEscalationTypeObtains the name for theManagedFunctionEscalationType.- Specified by:
getEscalationNamein interfaceManagedFunctionEscalationType- Returns:
- Name for the
ManagedFunctionEscalationType.
-
-