com.atlassian.fisheye.spi.admin.data
Class P4RepositoryData
java.lang.Object
com.atlassian.fisheye.spi.admin.data.RepositoryData
com.atlassian.fisheye.spi.admin.data.P4RepositoryData
public class P4RepositoryData
- extends RepositoryData
FishEye repository data object for Perforce repositories.
Only those methods specified to throw NullPointerException
do not
accept null values to clear the corresponding field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
P4RepositoryData
public P4RepositoryData(java.lang.String name,
java.lang.String server,
java.lang.String path)
See the documentation of RepositoryData.setName(String)
, setServer(String)
,
and setPath(String)
for the possible exceptions thrown.
getType
public RepositoryData.Type getType()
- Specified by:
getType
in class RepositoryData
getServer
public java.lang.String getServer()
setServer
public void setServer(java.lang.String server)
- Throws:
java.lang.NullPointerException
- if server is null
java.lang.IllegalArgumentException
- if server is blank
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
- Throws:
java.lang.NullPointerException
- if path is null
java.lang.IllegalArgumentException
- if path is empty
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
isCaseSensitive
public java.lang.Boolean isCaseSensitive()
setCaseSensitive
public void setCaseSensitive(java.lang.Boolean caseSensitive)
isDisableMutli
public java.lang.Boolean isDisableMutli()
setDisableMutli
public void setDisableMutli(java.lang.Boolean disableMutli)
getCharset
public java.nio.charset.Charset getCharset()
setCharset
public void setCharset(java.nio.charset.Charset charset)
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
getFileLogLimit
public java.lang.Integer getFileLogLimit()
setFileLogLimit
public void setFileLogLimit(java.lang.Integer fileLogLimit)
- Throws:
java.lang.IllegalArgumentException
- if a non-null fileLogLimit is not positive
isInitialImport
public java.lang.Boolean isInitialImport()
setInitialImport
public void setInitialImport(java.lang.Boolean initialImport)
getPort
public java.lang.Integer getPort()
setPort
public void setPort(java.lang.Integer port)
- Throws:
java.lang.IllegalArgumentException
- if a non-null port is not positive
isSkipLabels
public java.lang.Boolean isSkipLabels()
setSkipLabels
public void setSkipLabels(java.lang.Boolean skipLabels)
getStartRevision
public java.lang.Long getStartRevision()
setStartRevision
public void setStartRevision(java.lang.Long startRevision)
isUnicode
public java.lang.Boolean isUnicode()
setUnicode
public void setUnicode(java.lang.Boolean unicode)