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<AdvancedLinker> getAdvancedLinkers()
           
 java.util.List<CaseAwarePathGlob> getAllowExcludes()
           
 java.util.List<CaseAwarePath> getAllowIncludes()
           
 CommitMessageSyntaxSettings getCommitMessageSyntaxSettings()
           
 ExternalAuthSettings getExternalAuthSettings()
           
 java.util.List<CaseAwarePath> getHiddenDirectories()
           
 java.lang.Long getMaxIndexableSize()
           
 java.util.Map<java.lang.String,java.lang.String> getProperties()
           
 java.util.Set<java.lang.String> getRequiredGroups()
           
 java.util.List<SimpleLinker> getSimpleLinkers()
           
 TarballSettings getTarballSettings()
           
 int hashCode()
           
 java.lang.Boolean isAllowAnon()
           
 java.lang.Boolean isChangesetDiscussionsEnabled()
           
 java.lang.Boolean isWatchesEnabled()
           
 void setAdvancedLinkers(java.util.List<AdvancedLinker> advancedLinkers)
           
 void setAllowAnon(java.lang.Boolean allowAnon)
           
 void setAllowExcludes(java.util.List<CaseAwarePathGlob> allowExcludes)
           
 void setAllowIncludes(java.util.List<CaseAwarePath> allowIncludes)
           
 void setChangesetDiscussionsEnabled(java.lang.Boolean changesetDiscussionsEnabled)
           
 void setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings)
           
 void setExternalAuthSettings(ExternalAuthSettings externalAuthSettings)
          Null signifies no external auth settings.
 void setHiddenDirectories(java.util.List<CaseAwarePath> hiddenDirectories)
           
 void setMaxIndexableSize(java.lang.Long maxIndexableSize)
           
 void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
           
 void setRequiredGroups(java.util.Set<java.lang.String> requiredGroups)
           
 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

getMaxIndexableSize

public java.lang.Long getMaxIndexableSize()

setMaxIndexableSize

public void setMaxIndexableSize(java.lang.Long maxIndexableSize)

getSimpleLinkers

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

setSimpleLinkers

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

getAdvancedLinkers

public java.util.List<AdvancedLinker> getAdvancedLinkers()

setAdvancedLinkers

public void setAdvancedLinkers(java.util.List<AdvancedLinker> advancedLinkers)

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)

isChangesetDiscussionsEnabled

public java.lang.Boolean isChangesetDiscussionsEnabled()

setChangesetDiscussionsEnabled

public void setChangesetDiscussionsEnabled(java.lang.Boolean changesetDiscussionsEnabled)

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.

getCommitMessageSyntaxSettings

public CommitMessageSyntaxSettings getCommitMessageSyntaxSettings()

setCommitMessageSyntaxSettings

public void setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings)

getRequiredGroups

public java.util.Set<java.lang.String> getRequiredGroups()

setRequiredGroups

public void setRequiredGroups(java.util.Set<java.lang.String> requiredGroups)

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)

getExternalAuthSettings

public ExternalAuthSettings getExternalAuthSettings()

setExternalAuthSettings

public void setExternalAuthSettings(ExternalAuthSettings externalAuthSettings)
Null signifies no external auth settings. This is not defaultable.


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