public enum UIExtensionFilterType extends Enum<UIExtensionFilterType>
| Enum Constant and Description |
|---|
MANDATORY
This type of filter will be used to know if the
action related to the extension can be launched
and to know if the component related to the
extension can be added to the webui tree
The filter is required to launch the action and
to add the component related to the extension
to the webui tree.
|
OPTIONAL
This type of filter will only be used to know if the
action related to the extension can be launched.
|
REQUIRED
This type of filter will only be used to know if the
action related to the extension can be launched.
|
REQUISITE
This type of filter will be used to know if the
action related to the extension can be launched.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptOnlyIfOK()
Indicates if the filter allows to continue if it fails
|
boolean |
checkOtherFiltersOnlyIfOK()
Indicates if the other filters can be checked if it fails
|
boolean |
showExtensionOnlyIfOK()
Indicates if the filter allows to display the extension if it fails
|
static UIExtensionFilterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UIExtensionFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UIExtensionFilterType MANDATORY
public static final UIExtensionFilterType REQUISITE
public static final UIExtensionFilterType REQUIRED
public static final UIExtensionFilterType OPTIONAL
public static UIExtensionFilterType[] values()
for (UIExtensionFilterType c : UIExtensionFilterType.values()) System.out.println(c);
public static UIExtensionFilterType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean showExtensionOnlyIfOK()
public boolean checkOtherFiltersOnlyIfOK()
public boolean acceptOnlyIfOK()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.