Class ConditionalActionInterceptor
java.lang.Object
com.atlassian.bamboo.ww2.interceptors.ConditionalActionInterceptor
- All Implemented Interfaces:
com.opensymphony.xwork2.interceptor.Interceptor
,Serializable
@Component
public class ConditionalActionInterceptor
extends Object
implements com.opensymphony.xwork2.interceptor.Interceptor
Interceptor that checks for conditional accessibility annotations on an action and runs the condition to check if
action should be executed or intercepted.
Current limitation is that
Condition
classes need to be visible for HostContainer
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConditionalActionInterceptor
public ConditionalActionInterceptor()
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
init
public void init()- Specified by:
init
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
-
intercept
- Specified by:
intercept
in interfacecom.opensymphony.xwork2.interceptor.Interceptor
- Throws:
Exception
-