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.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
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
Long
getMaxIndexableSize
()
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
boolean
isAllowAnon
()
public
boolean
isAllowAnonWrite
()
public
boolean
isAllowLoggedUsers
()
public
boolean
isAllowLoggedUsersWrite
()
public
Boolean
isChangesetDiscussionsEnabled
()
public
boolean
isUsingDefaultsPermissions
()
public
void
setAllowAnon
(boolean allowAnon)
public
void
setAllowAnonWrite
(boolean allowAnonWrite)
public
void
setAllowLoggedUsers
(boolean allowLoggedUsers)
public
void
setAllowLoggedUsersWrite
(boolean allowLoggedUsersWrite)
public
void
setChangesetDiscussionsEnabled
(Boolean changesetDiscussionsEnabled)
public
void
setExternalAuthSettings
(ExternalAuthSettings externalAuthSettings)
Null signifies no external auth settings. This is not defaultable.
public
void
setMaxIndexableSize
(Long maxIndexableSize)
public
void
setRequiredGroups
(Set<String> requiredGroups)
public
void
setRequiredWriteGroups
(Set<String> requiredWriteGroups)
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)