com.atlassian.fisheye.spi.admin.data
Class RepositoryOptions

java.lang.Object
  extended by com.atlassian.fisheye.spi.admin.data.RepositoryOptions

public class RepositoryOptions
extends java.lang.Object

Repository options for a specific FishEye repository.

Unless otherwise specified, setting any value to null signifies that the repository should use the repository defaults' settting. Similarly, getters will return null to indicate they delegate to the repository defaults' setting.

Futher to the above, and unless otherwise specified, getters and setters on a collection/map will throw a NullPointerException if null is passed in. Also, a reference to the passed in collection/map is stored in this object, thus changes via the getter and changes to the passed in reference are reflected in this object.


Constructor Summary
RepositoryOptions()
          Create a repository options object that delegates to the repository defaults' options (wherever possible).
RepositoryOptions(RepositoryOptions options)
          Copy constructor that makes a deep copy of the provided options.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List<CaseAwarePathGlob> getAllowExcludes()
           
 java.util.List<CaseAwarePath> getAllowIncludes()
           
 java.util.List<CaseAwarePath> getHiddenDirectories()
           
 java.util.List<SimpleLinker> getSimpleLinkers()
           
 TarballSettings getTarballSettings()
           
 int hashCode()
           
 java.lang.Boolean isAllowAnon()
           
 java.lang.Boolean isWatchesEnabled()
           
 void setAllowAnon(java.lang.Boolean allowAnon)
           
 void setAllowExcludes(java.util.List<CaseAwarePathGlob> allowExcludes)
           
 void setAllowIncludes(java.util.List<CaseAwarePath> allowIncludes)
           
 void setHiddenDirectories(java.util.List<CaseAwarePath> hiddenDirectories)
           
 void setSimpleLinkers(java.util.List<SimpleLinker> simpleLinkers)
           
 void setTarballSettings(TarballSettings tarballSettings)
           
 void setWatchesEnabled(java.lang.Boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryOptions

public RepositoryOptions()
Create a repository options object that delegates to the repository defaults' options (wherever possible).


RepositoryOptions

public RepositoryOptions(RepositoryOptions options)
Copy constructor that makes a deep copy of the provided options.

Method Detail

getSimpleLinkers

public java.util.List<SimpleLinker> getSimpleLinkers()

setSimpleLinkers

public void setSimpleLinkers(java.util.List<SimpleLinker> simpleLinkers)

isWatchesEnabled

public java.lang.Boolean isWatchesEnabled()

setWatchesEnabled

public void setWatchesEnabled(java.lang.Boolean enabled)

isAllowAnon

public java.lang.Boolean isAllowAnon()

setAllowAnon

public void setAllowAnon(java.lang.Boolean allowAnon)

getAllowIncludes

public java.util.List<CaseAwarePath> getAllowIncludes()

setAllowIncludes

public void setAllowIncludes(java.util.List<CaseAwarePath> allowIncludes)

getAllowExcludes

public java.util.List<CaseAwarePathGlob> getAllowExcludes()

setAllowExcludes

public void setAllowExcludes(java.util.List<CaseAwarePathGlob> allowExcludes)

getHiddenDirectories

public java.util.List<CaseAwarePath> getHiddenDirectories()

setHiddenDirectories

public void setHiddenDirectories(java.util.List<CaseAwarePath> hiddenDirectories)

getTarballSettings

public TarballSettings getTarballSettings()
Returns:
the tarball settings or null if the repository deletegates to the repository defaults' setting. Changes to the returned object are reflected in this object.

setTarballSettings

public void setTarballSettings(TarballSettings tarballSettings)
Parameters:
tarballSettings - the tarball settings, or null if the repository should delegate to the repository defaults' setting. Changes to the passed in reference are reflected in this object.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object