jetbrains.buildServer.serverSide.parameters
Class WellknownParameters

java.lang.Object
  extended by jetbrains.buildServer.serverSide.parameters.WellknownParameters

public class WellknownParameters
extends java.lang.Object

Created 08.05.13 14:06

Author:
Eugene Petrenko (eugene.petrenko@jetbrains.com)

Constructor Summary
WellknownParameters()
           
 
Method Summary
static WellknownParameter<java.lang.Boolean> forBoolean(java.lang.String key, boolean def)
           
static WellknownParameter<ControlDisplayMode> forDisplayMode(java.lang.String key)
           
static WellknownParameter<java.lang.Double> forDouble(java.lang.String key, java.lang.Double def)
           
static WellknownParameter<java.lang.Integer> forInteger(java.lang.String key, java.lang.Integer def)
           
static WellknownParameter<java.lang.String> forString(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WellknownParameters

public WellknownParameters()
Method Detail

forDisplayMode

@NotNull
public static WellknownParameter<ControlDisplayMode> forDisplayMode(@NotNull
                                                                            java.lang.String key)
Parameters:
key - key
Returns:
WellknownParameter instance for given key/def
Since:
8.0

forBoolean

@NotNull
public static WellknownParameter<java.lang.Boolean> forBoolean(@NotNull
                                                                       java.lang.String key,
                                                                       boolean def)
Parameters:
key - key
def - default value
Returns:
WellknownParameter instance for given key/def
Since:
8.0

forString

@NotNull
public static WellknownParameter<java.lang.String> forString(@NotNull
                                                                     java.lang.String key)
Parameters:
key - key
Returns:
WellknownParameter instance for given key/def
Since:
8.0

forInteger

@NotNull
public static WellknownParameter<java.lang.Integer> forInteger(@NotNull
                                                                       java.lang.String key,
                                                                       @Nullable
                                                                       java.lang.Integer def)
Parameters:
key - key
def - default value
Returns:
WellknownParameter instance for given key/def
Since:
8.0

forDouble

@NotNull
public static WellknownParameter<java.lang.Double> forDouble(@NotNull
                                                                     java.lang.String key,
                                                                     @Nullable
                                                                     java.lang.Double def)
Parameters:
key - key
def - default value
Returns:
WellknownParameter instance for given key/def
Since:
8.0