Class PluginProfileFilterAttribute
- java.lang.Object
-
- de.xima.fc.security.authorization.filter.PluginProfileFilterAttribute
-
public class PluginProfileFilterAttribute extends Object
Model representing a profile filter attribute. Used for displayingattribute options
fromprofile filter extensions
.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginProfileFilterAttribute
forPluginAttribute(String attributeType, IPluginProfileFilterAttribute pluginAttribute)
@NotNull ProfileAttributeDescriptor
getAttribute()
Returns the attribute of the profile * which will be evaluated on a given profile during filter client authorization.String
getDescription(Locale locale)
Returns an optional description of the profile attribute.String
getDisplayName(Locale locale)
IGuiIcon
getIcon()
-
-
-
Method Detail
-
forPluginAttribute
public static PluginProfileFilterAttribute forPluginAttribute(String attributeType, IPluginProfileFilterAttribute pluginAttribute)
-
getAttribute
@NotNull public @NotNull ProfileAttributeDescriptor getAttribute()
Returns the attribute of the profile * which will be evaluated on a given profile during filter client authorization.- Returns:
- the attribute of the profile.
-
getDisplayName
public String getDisplayName(Locale locale)
- Parameters:
locale
- Locale to be used for internationalization.- Returns:
- the locale specific display name of the profile attribute.
-
getDescription
public String getDescription(Locale locale)
Returns an optional description of the profile attribute. This should be a helpful notice for the user on how to use the profile attribute.- Parameters:
locale
- Locale to be used for internationalization.- Returns:
- the locale specific description.
-
getIcon
public IGuiIcon getIcon()
-
-