@Retention(value=RUNTIME) @Target(value=TYPE) public @interface PortletPreferencesValidator
The annotated class must implement the PreferencesValidator
interface.
PreferencesValidator
Modifier and Type | Optional Element and Description |
---|---|
String[] |
portletNames
The portlet names for which the validator applies.
|
public abstract String[] portletNames
The annotated validator method can apply to multiple portlets within the portlet application. The names of the portlets to which the validator applies must be specified in this field.
A wildcard character '*' can be specified in the first portletName array element to indicate that the validator is to apply to all portlets in the portlet application. If specified, the wildcard character must appear alone in the first array element.
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.