com.atlassian.fisheye.spi.admin.data
Class CvsRepositoryData
java.lang.Object
com.atlassian.fisheye.spi.admin.data.RepositoryData
com.atlassian.fisheye.spi.admin.data.CvsRepositoryData
public class CvsRepositoryData
- extends RepositoryData
FishEye repository data object for CVS 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 |
CvsRepositoryData
public CvsRepositoryData(java.lang.String name,
java.lang.String directory)
See the documentation of RepositoryData.setName(String) and setDirectory(String)
for possible exceptions thrown.
getType
public RepositoryData.Type getType()
- Specified by:
getType in class RepositoryData
getDirectory
public java.lang.String getDirectory()
setDirectory
public void setDirectory(java.lang.String directory)
- Throws:
java.lang.NullPointerException - if directory is null
java.lang.IllegalArgumentException - if directory is blank
getCharset
public java.nio.charset.Charset getCharset()
setCharset
public void setCharset(java.nio.charset.Charset charset)
getLocationDescription
public java.lang.String getLocationDescription()
- Specified by:
getLocationDescription in class RepositoryData
- Returns:
- a human-friendly representation of the location of the repository