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 theManagedFunctionMetaData
of 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
-ManagedFunctionMetaData
determine the actions for thisEscalationFlow
.
-
-
Method Detail
-
getTypeOfCause
public java.lang.Class<? extends java.lang.Throwable> getTypeOfCause()
Description copied from interface:EscalationFlow
Obtains the type of cause handled by thisEscalationFlow
.- Specified by:
getTypeOfCause
in interfaceEscalationFlow
- Returns:
- Type of cause handled by this
EscalationFlow
.
-
getManagedFunctionMetaData
public ManagedFunctionMetaData<?,?> getManagedFunctionMetaData()
Description copied from interface:EscalationFlow
Obtains theManagedFunctionMetaData
of the escalation handlingManagedFunction
.- Specified by:
getManagedFunctionMetaData
in interfaceEscalationFlow
- Returns:
ManagedFunctionMetaData
of the escalation handlingManagedFunction
.
-
-