org.loom.interceptor
Class MethodInterceptor.BeforeValidate

java.lang.Object
  extended by org.loom.interceptor.MethodInterceptor
      extended by org.loom.interceptor.MethodInterceptor.BeforeValidate
All Implemented Interfaces:
Interceptor, ValidateInterceptor
Enclosing class:
MethodInterceptor

public static class MethodInterceptor.BeforeValidate
extends MethodInterceptor
implements ValidateInterceptor


Nested Class Summary
 
Nested classes/interfaces inherited from class org.loom.interceptor.MethodInterceptor
MethodInterceptor.AfterCreate, MethodInterceptor.BeforeExecute, MethodInterceptor.BeforePopulate, MethodInterceptor.BeforeValidate, MethodInterceptor.DoFinally, MethodInterceptor.OnError
 
Constructor Summary
MethodInterceptor.BeforeValidate()
           
 
Method Summary
 Resolution beforeValidate(ParsedAction action)
           
 
Methods inherited from class org.loom.interceptor.MethodInterceptor
getInstance, invoke, setMethod, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodInterceptor.BeforeValidate

public MethodInterceptor.BeforeValidate()
Method Detail

beforeValidate

public Resolution beforeValidate(ParsedAction action)
Specified by:
beforeValidate in interface ValidateInterceptor
Parameters:
action - the action and event that is being executed
Returns:
if return value != null, stops the execution of the workflow and return the provided resolution