public class RepositoryOptions
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_INDEXABLE_BYTES |
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<AdvancedLinker> |
getAdvancedLinkers() |
java.util.List<CaseAwarePathGlob> |
getAllowExcludes() |
java.util.List<CaseAwarePath> |
getAllowIncludes() |
java.util.Map<java.lang.String,java.lang.String> |
getCheckoutURL() |
CommitMessageSyntaxSettings |
getCommitMessageSyntaxSettings() |
ExternalAuthSettings |
getExternalAuthSettings() |
java.util.List<CaseAwarePath> |
getHiddenDirectories() |
java.lang.Long |
getMaxIndexableSize() |
java.util.Set<java.lang.String> |
getRequiredGroups()
Deprecated.
required groups are managed via
RepositoryPermissionService since 4.1 |
java.util.Set<java.lang.String> |
getRequiredWriteGroups()
Deprecated.
managed repositories were deprecated in version 2.8 and removed completely in 3.2. See
https://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+Internally+Managed+Repositories
|
java.lang.Boolean |
getShowCheckoutURL() |
java.util.List<SimpleLinker> |
getSimpleLinkers() |
TarballSettings |
getTarballSettings() |
UpdateOptions |
getUpdateOptions() |
int |
hashCode() |
boolean |
isAllowAnon() |
boolean |
isAllowAnonWrite()
Deprecated.
managed repositories were deprecated in version 2.8 and removed completely in 3.2. See
https://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+Internally+Managed+Repositories
|
boolean |
isAllowLoggedUsers() |
boolean |
isAllowLoggedUsersWrite()
Deprecated.
managed repositories were deprecated in version 2.8 and removed completely in 3.2. See
https://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+Internally+Managed+Repositories
|
java.lang.Boolean |
isChangesetDiscussionsEnabled() |
boolean |
isUsingDefaultsPermissions() |
java.lang.Boolean |
isWatchesEnabled() |
void |
setAdvancedLinkers(java.util.List<AdvancedLinker> advancedLinkers) |
void |
setAllowAnon(boolean allowAnon) |
void |
setAllowAnonWrite(boolean allowAnonWrite)
Deprecated.
managed repositories were deprecated in version 2.8 and removed completely in 3.2. See
https://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+Internally+Managed+Repositories
|
void |
setAllowExcludes(java.util.List<CaseAwarePathGlob> allowExcludes) |
void |
setAllowIncludes(java.util.List<CaseAwarePath> allowIncludes) |
void |
setAllowLoggedUsers(boolean allowLoggedUsers) |
void |
setAllowLoggedUsersWrite(boolean allowLoggedUsersWrite)
Deprecated.
managed repositories were deprecated in version 2.8 and removed completely in 3.2. See
https://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+Internally+Managed+Repositories
|
void |
setChangesetDiscussionsEnabled(java.lang.Boolean changesetDiscussionsEnabled) |
void |
setCheckoutURL(java.util.Map<java.lang.String,java.lang.String> checkoutURL) |
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 |
setRequiredGroups(java.util.Set<java.lang.String> requiredGroups)
Deprecated.
required groups are managed via
RepositoryPermissionService since 4.1 |
void |
setRequiredWriteGroups(java.util.Set<java.lang.String> requiredWriteGroups)
Deprecated.
managed repositories were deprecated in version 2.8 and removed completely in 3.2. See
https://confluence.atlassian.com/display/FISHEYE/End+of+Support+Announcement+for+Internally+Managed+Repositories
|
void |
setShowCheckoutURL(java.lang.Boolean showCheckoutURL) |
void |
setSimpleLinkers(java.util.List<SimpleLinker> simpleLinkers) |
void |
setTarballSettings(TarballSettings tarballSettings) |
void |
setUpdateOptions(UpdateOptions updateOptions) |
void |
setUsingDefaultsPermissions(boolean usingDefaultsPermissions) |
void |
setWatchesEnabled(java.lang.Boolean enabled) |
public static final long DEFAULT_MAX_INDEXABLE_BYTES
public RepositoryOptions()
public RepositoryOptions(RepositoryOptions options)
public java.lang.Long getMaxIndexableSize()
public void setMaxIndexableSize(java.lang.Long maxIndexableSize)
public java.util.List<SimpleLinker> getSimpleLinkers()
public void setSimpleLinkers(java.util.List<SimpleLinker> simpleLinkers)
public java.util.List<AdvancedLinker> getAdvancedLinkers()
public void setAdvancedLinkers(java.util.List<AdvancedLinker> advancedLinkers)
public java.lang.Boolean isWatchesEnabled()
public void setWatchesEnabled(java.lang.Boolean enabled)
public boolean isUsingDefaultsPermissions()
public void setUsingDefaultsPermissions(boolean usingDefaultsPermissions)
public boolean isAllowAnon()
public void setAllowAnon(boolean allowAnon)
@Deprecated public boolean isAllowAnonWrite()
@Deprecated public void setAllowAnonWrite(boolean allowAnonWrite)
public boolean isAllowLoggedUsers()
public void setAllowLoggedUsers(boolean allowLoggedUsers)
@Deprecated public boolean isAllowLoggedUsersWrite()
@Deprecated public void setAllowLoggedUsersWrite(boolean allowLoggedUsersWrite)
public java.lang.Boolean isChangesetDiscussionsEnabled()
public void setChangesetDiscussionsEnabled(java.lang.Boolean changesetDiscussionsEnabled)
public java.util.List<CaseAwarePath> getAllowIncludes()
public void setAllowIncludes(java.util.List<CaseAwarePath> allowIncludes)
public java.util.List<CaseAwarePathGlob> getAllowExcludes()
public void setAllowExcludes(java.util.List<CaseAwarePathGlob> allowExcludes)
public java.util.List<CaseAwarePath> getHiddenDirectories()
public void setHiddenDirectories(java.util.List<CaseAwarePath> hiddenDirectories)
public TarballSettings getTarballSettings()
public void setTarballSettings(TarballSettings tarballSettings)
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 CommitMessageSyntaxSettings getCommitMessageSyntaxSettings()
public void setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings)
@Deprecated public java.util.Set<java.lang.String> getRequiredGroups()
RepositoryPermissionService
since 4.1@Deprecated public void setRequiredGroups(java.util.Set<java.lang.String> requiredGroups)
RepositoryPermissionService
since 4.1@Deprecated public java.util.Set<java.lang.String> getRequiredWriteGroups()
@Deprecated public void setRequiredWriteGroups(java.util.Set<java.lang.String> requiredWriteGroups)
public ExternalAuthSettings getExternalAuthSettings()
public void setExternalAuthSettings(ExternalAuthSettings externalAuthSettings)
public UpdateOptions getUpdateOptions()
public void setUpdateOptions(UpdateOptions updateOptions)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Boolean getShowCheckoutURL()
public void setShowCheckoutURL(java.lang.Boolean showCheckoutURL)
public java.util.Map<java.lang.String,java.lang.String> getCheckoutURL()
public void setCheckoutURL(java.util.Map<java.lang.String,java.lang.String> checkoutURL)