public class AbstractDefaultActionValidator extends Object implements ActionValidator
ActionValidator
implementation. It'll accept every action.Constructor and Description |
---|
AbstractDefaultActionValidator() |
public boolean isValid(Action<? extends Result> action)
ActionValidator
Action
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 ActionValidator
action
- The action that called this validator.true
if the action can be executed, false
otherwise.Copyright © 2010–2014 Arcbees. All rights reserved.