public class GtfValidationFactory extends java.lang.Object implements ActionFactory<GtfValidationAction>
Constructor and Description |
---|
GtfValidationFactory() |
Modifier and Type | Method and Description |
---|---|
GtfValidationAction[] |
getActions(InvokationContext<? super GtfValidationAction> context)
This method may be called one or several times for each request.
|
boolean |
prepareContext(InvokationContext<? super GtfValidationAction> context)
This method is called once for each request/use of an
extension and have two purposes:
The factory should decide if the extension should be enabled or
not.
|
public boolean prepareContext(InvokationContext<? super GtfValidationAction> context)
ActionFactory
JspContext
.
prepareContext
in interface ActionFactory<GtfValidationAction>
context
- The current invokation contextpublic GtfValidationAction[] getActions(InvokationContext<? super GtfValidationAction> context)
ActionFactory
getActions
in interface ActionFactory<GtfValidationAction>
context
- The current invokation context