| Package | Description |
|---|---|
| org.mentawai.coc | |
| org.mentawai.core |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultConsequenceProvider
The default consequence provider used by Mentawai controller
when autoView is set to true, which is the default anyways.
|
class |
ForwardConsequenceProvider
A ConsequenceProvider that provides ForwardConsequences based on the given
convetion: If the execute() method was invoked: /(the name of the
action)/(the result of the action's execution).jsp If a inner action was
invojed: /(the name of the action)/(the name of the inner action)/(the result
of the action's execution).jsp
|
class |
InnerActionConsequenceProvider |
class |
OldAutoViewConsequenceProvider
This consequence provider was build for backward compatibility with the old
auto view schema, in other words, if you were using the old auto view schema
you can use the consequence provider to simulate the same behaviour when
choosing your consequences.
|
| Modifier and Type | Method and Description |
|---|---|
ConsequenceProvider |
CoCApplicationManager.getConsequenceProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
CoCApplicationManager.setConsequenceProvider(ConsequenceProvider consequenceProvider) |
static void |
CoCActionConfig.setConsequenceProvider(ConsequenceProvider consequenceProvider) |
| Modifier and Type | Method and Description |
|---|---|
static ConsequenceProvider |
Controller.getConsequenceProvider() |
ConsequenceProvider |
ApplicationManager.getConsequenceProvider()
Get the consequence provider that will be used by the controller.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Controller.setConsequenceProvider(ConsequenceProvider provider) |
void |
ApplicationManager.setConsequenceProvider(ConsequenceProvider consequenceProvider)
Sets the consequence provider that will be used by the controller.
|
Copyright © 2015. All Rights Reserved.