public class ValidationAction extends Object implements Action
Action
that when executed appends its type and message to the resultsConstructor 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
- ValidationActionType
message
- for when action executespublic void execute(ExecutionEnvironment environment)
Action
ExecutionEnvironment
.execute
in interface Action
environment
- ExecutionEnvironment
to execute.public void executeSimulation(ExecutionEnvironment environment)
Action
executeSimulation
in interface Action
environment
- ExecutionEnvironment
to simulate execution on.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.