public class AbstractDefaultActionValidator extends Object implements ActionValidator
ActionValidator implementation. It'll accept every action.| Constructor and Description |
|---|
AbstractDefaultActionValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(Action<? extends Result> action)
Validate whether or not that
Action can be executed at this time. |
public boolean isValid(Action<? extends Result> action)
ActionValidatorAction can be executed at this time. You can also throw an
ActionException if you want to fine grain why the validator failed.isValid in interface ActionValidatoraction - The action that called this validator.true if the action can be executed, false otherwise.Copyright © 2010–2016 Arcbees. All rights reserved.