jetbrains.buildServer.users
Class PluginPropertyKey

java.lang.Object
  extended by jetbrains.buildServer.users.PropertyKey
      extended by jetbrains.buildServer.users.PluginPropertyKey
Direct Known Subclasses:
NotificatorPropertyKey, VcsUsernamePropertyKey

public class PluginPropertyKey
extends PropertyKey

Base class for plugin properties that can be stored in the user profile


Constructor Summary
PluginPropertyKey(java.lang.String propertyKey)
          Constructor
PluginPropertyKey(java.lang.String pluginType, java.lang.String pluginName, java.lang.String propertyName)
          Constructor
 
Method Summary
 java.lang.String getKey()
          Returns string representation of the property key
 java.lang.String getPluginName()
          Returns name of the plugin
static boolean isPluginPropertyKey(java.lang.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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginPropertyKey

public PluginPropertyKey(@NotNull
                         java.lang.String pluginType,
                         @NotNull
                         java.lang.String pluginName,
                         @NotNull
                         java.lang.String propertyName)
Constructor

Parameters:
pluginType - see PluginTypes
pluginName - name of a plugin
propertyName - name of a property

PluginPropertyKey

public PluginPropertyKey(@NotNull
                         java.lang.String propertyKey)
Constructor

Parameters:
propertyKey - full property key
Method Detail

getKey

@NotNull
public final java.lang.String getKey()
Returns string representation of the property key

Specified by:
getKey in class PropertyKey
Returns:
string representation of the property key

getPluginName

@NotNull
public java.lang.String getPluginName()
Returns name of the plugin

Returns:
name of the plugin

isPluginPropertyKey

public static boolean isPluginPropertyKey(java.lang.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