public class ModuleAdviceImpl extends java.lang.Object implements ModuleAdvice
| Constructor and Description |
|---|
ModuleAdviceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Advice |
getAdvice()
returns the
Advice associated with the ModuleAdvice. |
java.lang.String |
getModuleName()
returns the module name that should be executed next.
|
void |
setAdvice(Advice advice) |
void |
setModuleName(java.lang.String moduleName) |
java.lang.String |
toString() |
public Advice getAdvice()
ModuleAdviceAdvice associated with the ModuleAdvice.
Advice.ABORT to abort the execution flow.
Advice.STOP signaling the end of the execution.
Advice.CONTINUE to continue the execution.
getAdvice in interface ModuleAdvicepublic java.lang.String getModuleName()
ModuleAdvicegetModuleName in interface ModuleAdvicepublic void setAdvice(Advice advice)
public void setModuleName(java.lang.String moduleName)
public java.lang.String toString()
toString in class java.lang.Object