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.TypeNAME_REGEX, NAME_REGEX_PATTERN, TIME_INTERVAL_REGEX| Constructor and Description |
|---|
HgRepositoryData(java.lang.String name,
java.lang.String location)
See the documentation of
RepositoryData.setName(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, getName, getParent, isManaged, isObsolete, isStoreDiff, setDescription, setManaged, setName, setParent, setStoreDiffpublic HgRepositoryData(java.lang.String name,
java.lang.String location)
See the documentation of RepositoryData.setName(String) and setLocation(String) for
possible exceptions thrown.
public RepositoryData.Type getType()
getType in class RepositoryDatapublic 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 HasAuthenticationDatapublic void setAuthentication(AuthenticationData authenticationData)
setAuthentication in interface HasAuthenticationDatapublic 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 RepositoryDatapublic 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