Class ListValidatorsAction
java.lang.Object
org.apache.struts2.ActionSupport
org.apache.struts2.config_browser.ListValidatorsAction
- All Implemented Interfaces:
Serializable,Action,ValidationAware,LocaleProvider,TextProvider,Validateable
- Direct Known Subclasses:
ShowValidatorAction
ListValidatorsAction loads the validations for a given class and context
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts2.ActionSupport
container -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()A default implementation that does nothing an returns "success".getClazz()index()Index action to support cooperation with REST pluginprotected voidvoidvoidvoidsetContext(String context) stripPackage(Class clazz) stripPackage(String clazz) Methods inherited from class org.apache.struts2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validate
-
Constructor Details
-
ListValidatorsAction
public ListValidatorsAction()
-
-
Method Details
-
setActionValidatorManager
-
getClazz
-
setClazz
-
stripPackage
-
stripPackage
-
getContext
-
setContext
-
getValidators
-
execute
Description copied from class:ActionSupportA default implementation that does nothing an returns "success".Subclasses should override this method to provide their business logic.
See also
Action.execute().- Specified by:
executein interfaceAction- Overrides:
executein classActionSupport- Returns:
- returns
Action.SUCCESS - Throws:
Exception- can be thrown by subclasses.
-
index
Index action to support cooperation with REST plugin- Returns:
- action result
- Throws:
Exception
-
loadValidators
protected void loadValidators()
-