public class DefaultRepositoryOptions
extends java.lang.Object
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 and Description |
---|
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.
|
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() |
CommitMessageSyntaxSettings |
getCommitMessageSyntaxSettings() |
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 |
getShowCheckoutURLs() |
java.util.List<SimpleLinker> |
getSimpleLinkers() |
TarballSettings |
getTarballSettings() |
DefaultUpdateOptions |
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
|
boolean |
isChangesetDiscussionsEnabled() |
boolean |
isWatchesEnabled() |
static RepositoryOptions |
newRepositoryOptions(DefaultRepositoryOptions defaultOptions)
Create a new
RepositoryOptions object based on the given
default repository options. |
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(boolean allow) |
void |
setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings) |
void |
setHiddenDirectories(java.util.List<CaseAwarePath> hiddenDirectories) |
void |
setMaxIndexableSize(java.lang.Long maxIndexableSize) |
void |
setRequiredGroups(java.util.Set<java.lang.String> groups)
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 |
setShowCheckoutURLs(java.lang.Boolean showCheckoutURLs) |
void |
setSimpleLinkers(java.util.List<SimpleLinker> simpleLinkers) |
void |
setTarballSettings(TarballSettings tarballSettings) |
void |
setUpdateOptions(DefaultUpdateOptions updateOptions) |
void |
setWatchesEnabled(boolean enable) |
public DefaultRepositoryOptions()
public DefaultRepositoryOptions(RepositoryOptions repositoryOptions)
Provides interoperability between RepositoryOptions
and DefaultRepositoryOptions
objects. Also see newRepositoryOptions(DefaultRepositoryOptions)
.
java.lang.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 repositoryOptionspublic static RepositoryOptions newRepositoryOptions(DefaultRepositoryOptions defaultOptions)
RepositoryOptions
object based on the given
default repository options.
Provides interoperability between RepositoryOptions
and DefaultRepositoryOptions
objects. Also see DefaultRepositoryOptions(RepositoryOptions)
.
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 boolean isWatchesEnabled()
public void setWatchesEnabled(boolean enable)
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.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. Changes to the passed in reference
are reflected in this object.java.lang.NullPointerException
- if tarballSettings is nullpublic void setChangesetDiscussionsEnabled(boolean allow)
public boolean isChangesetDiscussionsEnabled()
public CommitMessageSyntaxSettings getCommitMessageSyntaxSettings()
public void setCommitMessageSyntaxSettings(CommitMessageSyntaxSettings commitMessageSyntaxSettings)
@Deprecated public void setRequiredGroups(java.util.Set<java.lang.String> groups)
RepositoryPermissionService
since 4.1@Deprecated public java.util.Set<java.lang.String> getRequiredGroups()
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 java.lang.Long getMaxIndexableSize()
public void setMaxIndexableSize(java.lang.Long maxIndexableSize)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setUpdateOptions(DefaultUpdateOptions updateOptions)
public DefaultUpdateOptions getUpdateOptions()
public java.lang.Boolean getShowCheckoutURLs()
public void setShowCheckoutURLs(java.lang.Boolean showCheckoutURLs)