public class

RepositoryOptions

extends Object
java.lang.Object
   ↳ com.atlassian.fisheye.spi.admin.data.RepositoryOptions

Class Overview

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.

Summary

Public Constructors
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.
Public Methods
boolean equals(Object o)
List<AdvancedLinker> getAdvancedLinkers()
List<CaseAwarePathGlob> getAllowExcludes()
List<CaseAwarePath> getAllowIncludes()
CommitMessageSyntaxSettings getCommitMessageSyntaxSettings()
ExternalAuthSettings getExternalAuthSettings()
List<CaseAwarePath> getHiddenDirectories()
Long getMaxIndexableSize()
Map<StringString> getProperties()
Set<String> getRequiredGroups()
Set<String> getRequiredWriteGroups()
List<SimpleLinker> getSimpleLinkers()
TarballSettings getTarballSettings()
int hashCode()
boolean isAllowAnon()
boolean isAllowAnonWrite()
boolean isAllowLoggedUsers()
boolean isAllowLoggedUsersWrite()
Boolean isChangesetDiscussionsEnabled()
boolean isUsingDefaultsPermissions()
Boolean isWatchesEnabled()
void setAdvancedLinkers(List<AdvancedLinker> advancedLinkers)
void setAllowAnon(boolean allowAnon)
void setAllowAnonWrite(boolean allowAnonWrite)
void setAllowExcludes(List<CaseAwarePathGlob> allowExcludes)
void setAllowIncludes(List<CaseAwarePath> allowIncludes)
void setAllowLoggedUsers(boolean allowLoggedUsers)
void setAllowLoggedUsersWrite(boolean allowLoggedUsersWrite)
void setChangesetDiscussionsEnabled(Boolean changesetDiscussionsEnabled)
void setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings)
void setExternalAuthSettings(ExternalAuthSettings externalAuthSettings)
Null signifies no external auth settings.
void setHiddenDirectories(List<CaseAwarePath> hiddenDirectories)
void setMaxIndexableSize(Long maxIndexableSize)
void setProperties(Map<StringString> properties)
void setRequiredGroups(Set<String> requiredGroups)
void setRequiredWriteGroups(Set<String> requiredWriteGroups)
void setSimpleLinkers(List<SimpleLinker> simpleLinkers)
void setTarballSettings(TarballSettings tarballSettings)
void setUsingDefaultsPermissions(boolean usingDefaultsPermissions)
void setWatchesEnabled(Boolean enabled)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RepositoryOptions ()

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

public RepositoryOptions (RepositoryOptions options)

Copy constructor that makes a deep copy of the provided options.

Public Methods

public boolean equals (Object o)

public List<AdvancedLinker> getAdvancedLinkers ()

public List<CaseAwarePathGlob> getAllowExcludes ()

public List<CaseAwarePath> getAllowIncludes ()

public CommitMessageSyntaxSettings getCommitMessageSyntaxSettings ()

public ExternalAuthSettings getExternalAuthSettings ()

public List<CaseAwarePath> getHiddenDirectories ()

public Long getMaxIndexableSize ()

public Map<StringString> getProperties ()

public Set<String> getRequiredGroups ()

public Set<String> getRequiredWriteGroups ()

public List<SimpleLinker> getSimpleLinkers ()

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.

public int hashCode ()

public boolean isAllowAnon ()

public boolean isAllowAnonWrite ()

public boolean isAllowLoggedUsers ()

public boolean isAllowLoggedUsersWrite ()

public Boolean isChangesetDiscussionsEnabled ()

public boolean isUsingDefaultsPermissions ()

public Boolean isWatchesEnabled ()

public void setAdvancedLinkers (List<AdvancedLinker> advancedLinkers)

public void setAllowAnon (boolean allowAnon)

public void setAllowAnonWrite (boolean allowAnonWrite)

public void setAllowExcludes (List<CaseAwarePathGlob> allowExcludes)

public void setAllowIncludes (List<CaseAwarePath> allowIncludes)

public void setAllowLoggedUsers (boolean allowLoggedUsers)

public void setAllowLoggedUsersWrite (boolean allowLoggedUsersWrite)

public void setChangesetDiscussionsEnabled (Boolean changesetDiscussionsEnabled)

public void setCommitMessageSyntaxSettings (CommitMessageSyntaxSettings commitMessageSyntaxSettings)

public void setExternalAuthSettings (ExternalAuthSettings externalAuthSettings)

Null signifies no external auth settings. This is not defaultable.

public void setHiddenDirectories (List<CaseAwarePath> hiddenDirectories)

public void setMaxIndexableSize (Long maxIndexableSize)

public void setProperties (Map<StringString> properties)

public void setRequiredGroups (Set<String> requiredGroups)

public void setRequiredWriteGroups (Set<String> requiredWriteGroups)

public void setSimpleLinkers (List<SimpleLinker> simpleLinkers)

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.

public void setUsingDefaultsPermissions (boolean usingDefaultsPermissions)

public void setWatchesEnabled (Boolean enabled)