public class SvnRepositoryData extends RepositoryData
Only those methods specified to throw NullPointerException
do not
accept null values to clear the corresponding field.
Modifier and Type | Class and Description |
---|---|
static class |
SvnRepositoryData.SymbolicRule
Data object for patterns to match and extract repository structure
from Subversion paths.
|
RepositoryData.Type
NAME_REGEX, NAME_REGEX_PATTERN, TIME_INTERVAL_REGEX
Constructor and Description |
---|
SvnRepositoryData(java.lang.String name,
java.lang.String url)
Deprecated.
since 4.2.0; use
SvnRepositoryData(String, String, String) instead |
SvnRepositoryData(java.lang.String name,
java.lang.String displayName,
java.lang.String url)
See
RepositoryData.setName(String) and setUrl(String) for possible
exceptions thrown. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessCode() |
java.lang.Integer |
getBlockSize() |
java.util.Collection<SvnRepositoryData.SymbolicRule> |
getBranches() |
java.nio.charset.Charset |
getCharset() |
java.lang.String |
getCommandTimeout() |
java.lang.Float |
getConnectionsPerSecond() |
ImportMode |
getInitialImport() |
java.lang.String |
getLocationDescription() |
java.lang.String |
getPassword() |
java.lang.String |
getPath() |
java.lang.Long |
getStartRevision() |
java.util.Collection<SvnRepositoryData.SymbolicRule> |
getTags() |
java.util.Collection<SvnRepositoryData.SymbolicRule> |
getTrunks() |
RepositoryData.Type |
getType() |
java.lang.String |
getUrl() |
java.lang.String |
getUsername() |
java.lang.Boolean |
isFollowBase() |
java.lang.Boolean |
isUsingInbuiltSymbolicRules() |
void |
setAccessCode(java.lang.String accessCode) |
void |
setBlockSize(java.lang.Integer blockSize) |
void |
setBranches(java.util.Collection<SvnRepositoryData.SymbolicRule> branches) |
void |
setCharset(java.nio.charset.Charset charset) |
void |
setCommandTimeout(java.lang.String commandTimeout) |
void |
setConnectionsPerSecond(java.lang.Float connectionsPerSecond) |
void |
setFollowBase(java.lang.Boolean followBase) |
void |
setInitialImport(ImportMode initialImport) |
void |
setPassword(java.lang.String password) |
void |
setPath(java.lang.String path) |
void |
setStartRevision(java.lang.Long startRevision) |
void |
setTags(java.util.Collection<SvnRepositoryData.SymbolicRule> tags) |
void |
setTrunks(java.util.Collection<SvnRepositoryData.SymbolicRule> trunks) |
void |
setUrl(java.lang.String url) |
void |
setUsername(java.lang.String username) |
void |
setUsingInbuiltSymbolicRules(java.lang.Boolean useInbuilt) |
getDescription, getDisplayName, getEnabled, getName, getParent, isManaged, isObsolete, isStoreDiff, setDescription, setDisplayName, setEnabled, setManaged, setName, setParent, setStoreDiff, toString
@Deprecated public SvnRepositoryData(java.lang.String name, java.lang.String url)
SvnRepositoryData(String, String, String)
insteadname
- url
- public SvnRepositoryData(java.lang.String name, java.lang.String displayName, java.lang.String url)
See RepositoryData.setName(String)
and setUrl(String)
for possible
exceptions thrown.
public RepositoryData.Type getType()
getType
in class RepositoryData
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
java.lang.NullPointerException
- if url is nulljava.lang.IllegalArgumentException
- if url is blankpublic java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.Integer getBlockSize()
public void setBlockSize(java.lang.Integer blockSize)
java.lang.IllegalArgumentException
- if a non-null blockSize is not positivepublic 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
public java.lang.Float getConnectionsPerSecond()
public void setConnectionsPerSecond(java.lang.Float connectionsPerSecond)
java.lang.IllegalArgumentException
- if a non-null connectionsPerSecond is not positivepublic java.nio.charset.Charset getCharset()
public void setCharset(java.nio.charset.Charset charset)
public java.lang.String getAccessCode()
public void setAccessCode(java.lang.String accessCode)
public java.lang.Long getStartRevision()
public void setStartRevision(java.lang.Long startRevision)
java.lang.IllegalArgumentException
- if a non-null startRev is not positivepublic ImportMode getInitialImport()
public void setInitialImport(ImportMode initialImport)
public java.lang.Boolean isFollowBase()
public void setFollowBase(java.lang.Boolean followBase)
public java.lang.Boolean isUsingInbuiltSymbolicRules()
public void setUsingInbuiltSymbolicRules(java.lang.Boolean useInbuilt)
public java.util.Collection<SvnRepositoryData.SymbolicRule> getTrunks()
public void setTrunks(java.util.Collection<SvnRepositoryData.SymbolicRule> trunks)
public java.util.Collection<SvnRepositoryData.SymbolicRule> getBranches()
public void setBranches(java.util.Collection<SvnRepositoryData.SymbolicRule> branches)
public java.util.Collection<SvnRepositoryData.SymbolicRule> getTags()
public void setTags(java.util.Collection<SvnRepositoryData.SymbolicRule> tags)
public java.lang.String getLocationDescription()
getLocationDescription
in class RepositoryData