Class InternalProperties
- java.lang.Object
-
- jetbrains.buildServer.web.functions.InternalProperties
-
public class InternalProperties extends java.lang.Object
A wrapper over theTeamCityProperties
methods 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 java.lang.Boolean
getBoolean(java.lang.String propName)
static java.lang.Boolean
getBooleanOrTrue(java.lang.String propName)
static int
getInteger(java.lang.String propName, int defaultValue)
static long
getIntervalMilliseconds(java.lang.String propName, long defaultValue)
static java.lang.String
getProperty(java.lang.String propName, java.lang.String defaultValue)
-
-
-
Method Detail
-
getBoolean
public static java.lang.Boolean getBoolean(@NotNull java.lang.String propName)
- Parameters:
propName
- name of the property- Returns:
- boolean value for internal property with specified name
-
getBooleanOrTrue
public static java.lang.Boolean getBooleanOrTrue(@NotNull java.lang.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 java.lang.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 java.lang.String getProperty(@NotNull java.lang.String propName, java.lang.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 java.lang.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
-
-