Class InternalProperties
- java.lang.Object
-
- jetbrains.buildServer.web.functions.InternalProperties
-
public class InternalProperties extends Object
A wrapper over theTeamCityPropertiesmethods intended to be used in JSP pages and tags.- Since:
- 7.1.1
- Author:
- Pavel Sher, Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description InternalProperties()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BooleangetBoolean(String propName)static BooleangetBooleanOrTrue(String propName)static intgetInteger(String propName, int defaultValue)static longgetIntervalMilliseconds(String propName, long defaultValue)static StringgetProperty(String propName, String defaultValue)
-
-
-
Method Detail
-
getBoolean
public static Boolean getBoolean(@NotNull String propName)
- Parameters:
propName- name of the property- Returns:
- boolean value for internal property with specified name
-
getBooleanOrTrue
public static Boolean getBooleanOrTrue(@NotNull String propName)
- Parameters:
propName- name of the property- Returns:
- boolean value for internal property with specified name or true if property is not defined
-
getInteger
public static int getInteger(@NotNull String propName, int defaultValue)- Parameters:
propName- name of the propertydefaultValue- the default value- Returns:
- integer value for internal property with specified name
-
getProperty
public static String getProperty(@NotNull String propName, String defaultValue)
- Parameters:
propName- name of the propertydefaultValue- the default value- Returns:
- value for internal property with specified name
-
getIntervalMilliseconds
public static long getIntervalMilliseconds(@NotNull String propName, long defaultValue)- Parameters:
propName- name of the propertydefaultValue- the default value- Returns:
- long value for internal property with specified name
- Since:
- 2020.2
-
-