Package jetbrains.buildServer.users
Class PluginPropertyKey
- java.lang.Object
-
- jetbrains.buildServer.users.PropertyKey
-
- jetbrains.buildServer.users.PluginPropertyKey
-
- Direct Known Subclasses:
AuthPropertyKey
,NotificatorPropertyKey
,VcsUsernamePropertyKey
public class PluginPropertyKey extends PropertyKey
Base class for plugin properties that can be stored in the user profile
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
PLUGIN_PROPERTY_PREFIX
-
Constructor Summary
Constructors Constructor Description PluginPropertyKey(String propertyKey)
ConstructorPluginPropertyKey(String pluginType, String pluginName, String propertyName)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
Returns string representation of the property keyString
getPluginName()
Returns name of the pluginstatic boolean
isPluginPropertyKey(String key)
Returns true if the specified string representation is a plugin property key.-
Methods inherited from class jetbrains.buildServer.users.PropertyKey
equals, hashCode, toString
-
-
-
-
Field Detail
-
PLUGIN_PROPERTY_PREFIX
@NotNull protected static final String PLUGIN_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PluginPropertyKey
public PluginPropertyKey(@NotNull String pluginType, @NotNull String pluginName, @NotNull String propertyName)
Constructor- Parameters:
pluginType
- seePluginTypes
pluginName
- name of a pluginpropertyName
- name of a property
-
PluginPropertyKey
public PluginPropertyKey(@NotNull String propertyKey)
Constructor- Parameters:
propertyKey
- full property key
-
-
Method Detail
-
getKey
@NotNull public final String getKey()
Returns string representation of the property key- Specified by:
getKey
in classPropertyKey
- Returns:
- string representation of the property key
-
getPluginName
@NotNull public String getPluginName()
Returns name of the plugin- Returns:
- name of the plugin
-
isPluginPropertyKey
public static boolean isPluginPropertyKey(String key)
Returns true if the specified string representation is a plugin property key.- Parameters:
key
- property key- Returns:
- true if the specified string is a plugin property key
-
-