public class

DefaultRepositoryOptions

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

Class Overview

Default repository options for FishEye.

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
DefaultRepositoryOptions()
Create default repository options that disables all options (where possible).
DefaultRepositoryOptions(RepositoryOptions repositoryOptions)
Create a default repository options object based on the given repository options.
Public Methods
boolean equals(Object o)
List<AdvancedLinker> getAdvancedLinkers()
List<CaseAwarePathGlob> getAllowExcludes()
List<CaseAwarePath> getAllowIncludes()
CommitMessageSyntaxSettings getCommitMessageSyntaxSettings()
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 isWatchesEnabled()
static RepositoryOptions newRepositoryOptions(DefaultRepositoryOptions defaultOptions)
Create a new RepositoryOptions object based on the given default repository options.
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 allow)
void setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings)
void setHiddenDirectories(List<CaseAwarePath> hiddenDirectories)
void setMaxIndexableSize(Long maxIndexableSize)
void setProperties(Map<StringString> properties)
void setRequiredGroups(Set<String> groups)
void setRequiredWriteGroups(Set<String> groups)
void setSimpleLinkers(List<SimpleLinker> simpleLinkers)
void setTarballSettings(TarballSettings tarballSettings)
void setWatchesEnabled(boolean enable)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DefaultRepositoryOptions ()

Create default repository options that disables all options (where possible).

public DefaultRepositoryOptions (RepositoryOptions repositoryOptions)

Create a default repository options object based on the given repository options.

Provides interoperability between RepositoryOptions and DefaultRepositoryOptions objects. Also see newRepositoryOptions(DefaultRepositoryOptions).

Throws
IllegalArgumentException if any method that may return null in RepositoryOptions, to signify that the repository options should delegate to the repository defaults, does return null for repositoryOptions

Public Methods

public boolean equals (Object o)

public List<AdvancedLinker> getAdvancedLinkers ()

public List<CaseAwarePathGlob> getAllowExcludes ()

public List<CaseAwarePath> getAllowIncludes ()

public CommitMessageSyntaxSettings getCommitMessageSyntaxSettings ()

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. Doesn't return null. 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 isWatchesEnabled ()

public static RepositoryOptions newRepositoryOptions (DefaultRepositoryOptions defaultOptions)

Create a new RepositoryOptions object based on the given default repository options.

Provides interoperability between RepositoryOptions and DefaultRepositoryOptions objects. Also see DefaultRepositoryOptions(RepositoryOptions).

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 allow)

public void setCommitMessageSyntaxSettings (CommitMessageSyntaxSettings commitMessageSyntaxSettings)

public void setHiddenDirectories (List<CaseAwarePath> hiddenDirectories)

public void setMaxIndexableSize (Long maxIndexableSize)

public void setProperties (Map<StringString> properties)

public void setRequiredGroups (Set<String> groups)

public void setRequiredWriteGroups (Set<String> groups)

public void setSimpleLinkers (List<SimpleLinker> simpleLinkers)

public void setTarballSettings (TarballSettings tarballSettings)

Parameters
tarballSettings the tarball settings. Changes to the passed in reference are reflected in this object.
Throws
NullPointerException if tarballSettings is null

public void setWatchesEnabled (boolean enable)