Class GovernanceEscalationTypeImpl
- java.lang.Object
-
- net.officefloor.compile.impl.governance.GovernanceEscalationTypeImpl
-
- All Implemented Interfaces:
GovernanceEscalationType
public class GovernanceEscalationTypeImpl extends java.lang.Object implements GovernanceEscalationType
GovernanceEscalationType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description GovernanceEscalationTypeImpl(java.lang.String escalationName, java.lang.Class<?> escalationType)
Initiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEscalationName()
Obtains the name for theGovernanceEscalationType
.<E extends java.lang.Throwable>
java.lang.Class<E>getEscalationType()
Obtains the type ofEscalationFlow
by theGovernanceActivity
.
-
-
-
Constructor Detail
-
GovernanceEscalationTypeImpl
public GovernanceEscalationTypeImpl(java.lang.String escalationName, java.lang.Class<?> escalationType)
Initiate.- Parameters:
escalationName
- Name ofEscalationFlow
.escalationType
- Type of theEscalationFlow
.
-
-
Method Detail
-
getEscalationName
public java.lang.String getEscalationName()
Description copied from interface:GovernanceEscalationType
Obtains the name for theGovernanceEscalationType
.- Specified by:
getEscalationName
in interfaceGovernanceEscalationType
- Returns:
- Name for the
GovernanceEscalationType
.
-
getEscalationType
public <E extends java.lang.Throwable> java.lang.Class<E> getEscalationType()
Description copied from interface:GovernanceEscalationType
Obtains the type ofEscalationFlow
by theGovernanceActivity
.- Specified by:
getEscalationType
in interfaceGovernanceEscalationType
- Type Parameters:
E
-Escalation
type.- Returns:
- Type of
EscalationFlow
by theGovernanceActivity
.
-
-