public class HgRepositoryData extends RepositoryData implements HasAuthenticationData
Only those methods specified to throw NullPointerException
do not
accept null values to clear the corresponding field.
RepositoryData.Type
NAME_REGEX, NAME_REGEX_PATTERN, TIME_INTERVAL_REGEX
Constructor and Description |
---|
HgRepositoryData(java.lang.String name,
java.lang.String location)
Deprecated.
since 4.2.0; use
HgRepositoryData(String, String, String) instead |
HgRepositoryData(java.lang.String name,
java.lang.String displayName,
java.lang.String location)
See the documentation of
RepositoryData.setName(String) , RepositoryData.setDisplayName(String)
and setLocation(String) for possible exceptions thrown. |
Modifier and Type | Method and Description |
---|---|
AuthenticationData |
getAuthentication() |
java.lang.Integer |
getBlockSize() |
java.lang.String |
getCommandTimeout() |
java.lang.String |
getLocation() |
java.lang.String |
getLocationDescription() |
java.lang.String |
getPath() |
RepositoryData.Type |
getType() |
void |
setAuthentication(AuthenticationData authenticationData) |
void |
setBlockSize(java.lang.Integer blockSize) |
void |
setCommandTimeout(java.lang.String commandTimeout) |
void |
setLocation(java.lang.String location) |
void |
setPath(java.lang.String path) |
getDescription, getDisplayName, getEnabled, getName, getParent, isManaged, isObsolete, isStoreDiff, setDescription, setDisplayName, setEnabled, setManaged, setName, setParent, setStoreDiff, toString
@Deprecated public HgRepositoryData(java.lang.String name, java.lang.String location)
HgRepositoryData(String, String, String)
insteadpublic HgRepositoryData(java.lang.String name, java.lang.String displayName, java.lang.String location)
See the documentation of RepositoryData.setName(String)
, RepositoryData.setDisplayName(String)
and setLocation(String)
for possible exceptions thrown.
public RepositoryData.Type getType()
getType
in class RepositoryData
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
java.lang.NullPointerException
- if location is nulljava.lang.IllegalArgumentException
- if location is blankpublic AuthenticationData getAuthentication()
getAuthentication
in interface HasAuthenticationData
public void setAuthentication(AuthenticationData authenticationData)
setAuthentication
in interface HasAuthenticationData
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.Integer getBlockSize()
public void setBlockSize(java.lang.Integer blockSize)
public java.lang.String getLocationDescription()
getLocationDescription
in class RepositoryData
public java.lang.String getCommandTimeout()
public void setCommandTimeout(java.lang.String commandTimeout)
java.lang.IllegalArgumentException
- if a non-null commandTimeout does not match RepositoryData.TIME_INTERVAL_REGEX