jetbrains.buildServer.serverSide
Class UserPropertyInfo

java.lang.Object
  extended by jetbrains.buildServer.serverSide.UserPropertyInfo

public class UserPropertyInfo
extends java.lang.Object

Describes property of the user which correspond to some plugin and can be edited on the user settings page (in the corresponding plugin section).

Author:
Pavel.Sher

Constructor Summary
UserPropertyInfo(java.lang.String propertyName, java.lang.String displayName)
          Constructs new property descriptor.
UserPropertyInfo(java.lang.String propertyName, java.lang.String displayName, java.lang.String placeHolder, UserPropertyValidator... validators)
          Constructs new property descriptor.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getDisplayName()
           
 java.lang.String getPlaceHolder()
           
 java.lang.String getPropertyName()
           
 java.util.List<UserPropertyValidator> getValidators()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPropertyInfo

public UserPropertyInfo(@NotNull
                        java.lang.String propertyName,
                        @NotNull
                        java.lang.String displayName)
Constructs new property descriptor.

Parameters:
propertyName - name of the property
displayName - name of the property to show in the UI

UserPropertyInfo

public UserPropertyInfo(@NotNull
                        java.lang.String propertyName,
                        @NotNull
                        java.lang.String displayName,
                        @Nullable
                        java.lang.String placeHolder,
                        @NotNull
                        UserPropertyValidator... validators)
Constructs new property descriptor.

Parameters:
propertyName - name of the property
displayName - name of the property to show in the UI
placeHolder - text to show in UI when property value is empty
Since:
8.0
Method Detail

getPropertyName

@NotNull
public java.lang.String getPropertyName()

getDisplayName

@NotNull
public java.lang.String getDisplayName()

getPlaceHolder

@Nullable
public java.lang.String getPlaceHolder()

getValidators

@NotNull
public java.util.List<UserPropertyValidator> getValidators()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object