Interface VisitTaskExecutor
public interface VisitTaskExecutor
Interface for all executor classes which are called by visit callbacks. It can be used from outside (see the showcase).
- Since:
- 0.7
- Version:
- $Revision: 1.0 $
- Author:
- Oleg Varaksin
-
Method Summary
Modifier and TypeMethodDescriptionjavax.faces.component.visit.VisitResult
execute
(javax.faces.component.UIComponent component) Execute some task on the given component.boolean
shouldExecute
(javax.faces.component.UIComponent component) Should the task on the given component be executed?
-
Method Details
-
execute
javax.faces.component.visit.VisitResult execute(javax.faces.component.UIComponent component) Execute some task on the given component.- Parameters:
component
- UIComponent- Returns:
- VisitResult (ACCEPT, REJECT, COMPLETE)
-
shouldExecute
boolean shouldExecute(javax.faces.component.UIComponent component) Should the task on the given component be executed?- Parameters:
component
- UIComponent- Returns:
- boolean true - the task should be executed, false - otherwise
-