Class EscalationFlowImpl
java.lang.Object
net.officefloor.frame.impl.execute.escalation.EscalationFlowImpl
- All Implemented Interfaces:
EscalationFlow
Implementation of
EscalationFlow.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionEscalationFlowImpl(Class<? extends Throwable> typeOfCause, ManagedFunctionMetaData<?, ?> taskMetaData) Initiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains theManagedFunctionMetaDataof the escalation handlingManagedFunction.Obtains the type of cause handled by thisEscalationFlow.
-
Constructor Details
-
EscalationFlowImpl
public EscalationFlowImpl(Class<? extends Throwable> typeOfCause, ManagedFunctionMetaData<?, ?> taskMetaData) Initiate.- Parameters:
typeOfCause- Type of cause handled by thisEscalationFlow.taskMetaData-ManagedFunctionMetaDatadetermine the actions for thisEscalationFlow.
-
-
Method Details
-
getTypeOfCause
Description copied from interface:EscalationFlowObtains the type of cause handled by thisEscalationFlow.- Specified by:
getTypeOfCausein interfaceEscalationFlow- Returns:
- Type of cause handled by this
EscalationFlow.
-
getManagedFunctionMetaData
Description copied from interface:EscalationFlowObtains theManagedFunctionMetaDataof the escalation handlingManagedFunction.- Specified by:
getManagedFunctionMetaDatain interfaceEscalationFlow- Returns:
ManagedFunctionMetaDataof the escalation handlingManagedFunction.
-