Package com.atlassian.bamboo.utils
Class SystemProperty.UrlSystemProperty
- java.lang.Object
-
- com.atlassian.bamboo.utils.AbstractSystemProperty
-
- com.atlassian.bamboo.utils.SystemProperty.UrlSystemProperty
-
- Enclosing class:
- SystemProperty
public static class SystemProperty.UrlSystemProperty extends AbstractSystemProperty
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.utils.AbstractSystemProperty
myPropertyKey, myPropertyValue
-
-
Constructor Summary
Constructors Constructor Description UrlSystemProperty(boolean mandatory, String... properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getValue(@NotNull String defaultValue)
Obtain the value of the property (returns the default value if the environment variable has not been defined.-
Methods inherited from class com.atlassian.bamboo.utils.AbstractSystemProperty
exists, getEnvironmentVariable, getKey, getValue, getValue, getValue, getValue, setValue, toString
-
-
-
-
Constructor Detail
-
UrlSystemProperty
public UrlSystemProperty(boolean mandatory, String... properties)
-
-
Method Detail
-
getValue
@NotNull public @NotNull String getValue(@NotNull @NotNull String defaultValue)
Description copied from class:AbstractSystemProperty
Obtain the value of the property (returns the default value if the environment variable has not been defined.- Overrides:
getValue
in classAbstractSystemProperty
- Parameters:
defaultValue
- The default value, if the environment variable has not been defined- Returns:
- The value of the property
-
-