public interface VcsRoot
extends jetbrains.buildServer.log.Loggable
SECURE_PROPERTY_PREFIX
indicate that value of this property
contains secure information, such properties are persisted in scrambled form.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SECURE_PROPERTY_PREFIX |
Modifier and Type | Method and Description |
---|---|
long |
getId()
returns root internal id
|
java.lang.String |
getName()
returns descriptive name of the vcs root
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns mapping from a property name to its value
|
java.lang.String |
getProperty(java.lang.String propertyName)
Provides specified property value
|
java.lang.String |
getProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Provides specified property value or default value if property is not defined
|
java.lang.String |
getVcsName()
Returns name of the corresponding version control.
|
@NonNls static final java.lang.String SECURE_PROPERTY_PREFIX
long getId()
@NotNull java.lang.String getName()
@NotNull java.lang.String getVcsName()
@NotNull java.util.Map<java.lang.String,java.lang.String> getProperties()
@Nullable java.lang.String getProperty(@NotNull java.lang.String propertyName)
propertyName
- name of the property whose value is requested@Nullable @Contract(value="_,null->null;_,!null->!null") java.lang.String getProperty(@NotNull java.lang.String propertyName, @Nullable java.lang.String defaultValue)
propertyName
- name of the property whose value is requesteddefaultValue
- default value which is returned if property value was not specified explicitly