Class EscalationFlowImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.escalation.EscalationFlowImpl
-
- All Implemented Interfaces:
EscalationFlow
public class EscalationFlowImpl extends java.lang.Object implements EscalationFlow
Implementation ofEscalationFlow.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description EscalationFlowImpl(java.lang.Class<? extends java.lang.Throwable> typeOfCause, ManagedFunctionMetaData<?,?> taskMetaData)Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedFunctionMetaData<?,?>getManagedFunctionMetaData()Obtains theManagedFunctionMetaDataof the escalation handlingManagedFunction.java.lang.Class<? extends java.lang.Throwable>getTypeOfCause()Obtains the type of cause handled by thisEscalationFlow.
-
-
-
Constructor Detail
-
EscalationFlowImpl
public EscalationFlowImpl(java.lang.Class<? extends java.lang.Throwable> typeOfCause, ManagedFunctionMetaData<?,?> taskMetaData)Initiate.- Parameters:
typeOfCause- Type of cause handled by thisEscalationFlow.taskMetaData-ManagedFunctionMetaDatadetermine the actions for thisEscalationFlow.
-
-
Method Detail
-
getTypeOfCause
public java.lang.Class<? extends java.lang.Throwable> 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
public ManagedFunctionMetaData<?,?> getManagedFunctionMetaData()
Description copied from interface:EscalationFlowObtains theManagedFunctionMetaDataof the escalation handlingManagedFunction.- Specified by:
getManagedFunctionMetaDatain interfaceEscalationFlow- Returns:
ManagedFunctionMetaDataof the escalation handlingManagedFunction.
-
-