com.atlassian.fisheye.spi.admin.data
Class SvnRepositoryData
java.lang.Object
com.atlassian.fisheye.spi.admin.data.RepositoryData
com.atlassian.fisheye.spi.admin.data.SvnRepositoryData
public class SvnRepositoryData
- extends RepositoryData
FishEye repository data object for Subversion repositories.
Only those methods specified to throw NullPointerException
do not
accept null values to clear the corresponding field.
Nested Class Summary |
static class |
SvnRepositoryData.SymbolicRule
Data object for patterns to match and extract repository structure
from Subversion paths. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SvnRepositoryData
public SvnRepositoryData(java.lang.String name,
java.lang.String url)
See RepositoryData.setName(String)
and setUrl(String)
for possible
exceptions thrown.
getType
public RepositoryData.Type getType()
- Specified by:
getType
in class RepositoryData
getUrl
public java.lang.String getUrl()
setUrl
public void setUrl(java.lang.String url)
- Throws:
java.lang.NullPointerException
- if url is null
java.lang.IllegalArgumentException
- if url is blank
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
getUsername
public java.lang.String getUsername()
setUsername
public void setUsername(java.lang.String username)
getPassword
public java.lang.String getPassword()
setPassword
public void setPassword(java.lang.String password)
getBlockSize
public java.lang.Integer getBlockSize()
setBlockSize
public void setBlockSize(java.lang.Integer blockSize)
- Throws:
java.lang.IllegalArgumentException
- if a non-null blockSize is not positive
getCommandTimeout
public java.lang.String getCommandTimeout()
setCommandTimeout
public void setCommandTimeout(java.lang.String commandTimeout)
- Throws:
java.lang.IllegalArgumentException
- if a non-null commandTimeout does not match RepositoryData.TIME_INTERVAL_REGEX
getConnectionsPerSecond
public java.lang.Float getConnectionsPerSecond()
setConnectionsPerSecond
public void setConnectionsPerSecond(java.lang.Float connectionsPerSecond)
- Throws:
java.lang.IllegalArgumentException
- if a non-null connectionsPerSecond is not positive
getCharset
public java.nio.charset.Charset getCharset()
setCharset
public void setCharset(java.nio.charset.Charset charset)
getAccessCode
public java.lang.String getAccessCode()
setAccessCode
public void setAccessCode(java.lang.String accessCode)
getStartRevision
public java.lang.Long getStartRevision()
setStartRevision
public void setStartRevision(java.lang.Long startRevision)
- Throws:
java.lang.IllegalArgumentException
- if a non-null startRev is not positive
getInitialImport
public java.lang.String getInitialImport()
setInitialImport
public void setInitialImport(java.lang.String initialImport)
isFollowBase
public java.lang.Boolean isFollowBase()
setFollowBase
public void setFollowBase(java.lang.Boolean followBase)
isUsingInbuiltSymbolicRules
public java.lang.Boolean isUsingInbuiltSymbolicRules()
setUsingInbuiltSymbolicRules
public void setUsingInbuiltSymbolicRules(java.lang.Boolean useInbuilt)
getTrunks
public java.util.Collection<SvnRepositoryData.SymbolicRule> getTrunks()
setTrunks
public void setTrunks(java.util.Collection<SvnRepositoryData.SymbolicRule> trunks)
getBranches
public java.util.Collection<SvnRepositoryData.SymbolicRule> getBranches()
setBranches
public void setBranches(java.util.Collection<SvnRepositoryData.SymbolicRule> branches)
getTags
public java.util.Collection<SvnRepositoryData.SymbolicRule> getTags()
setTags
public void setTags(java.util.Collection<SvnRepositoryData.SymbolicRule> tags)