public class ValidationAction extends Object implements Action
Action that when executed appends its type and message to the results| Constructor and Description |
|---|
ValidationAction(ValidationActionType type,
String message)
create a Validation action of the given type with the given message
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExecutionEnvironment environment)
Execute on a given
ExecutionEnvironment. |
void |
executeSimulation(ExecutionEnvironment environment)
The engine may be run in a simulation mode and in this case,
most actions should not be executed.
|
public ValidationAction(ValidationActionType type, String message)
type - ValidationActionTypemessage - for when action executespublic void execute(ExecutionEnvironment environment)
ActionExecutionEnvironment.execute in interface Actionenvironment - ExecutionEnvironment to execute.public void executeSimulation(ExecutionEnvironment environment)
ActionexecuteSimulation in interface Actionenvironment - ExecutionEnvironment to simulate execution on.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.