|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.atlassian.fisheye.spi.admin.data.DefaultRepositoryOptions
public class DefaultRepositoryOptions
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.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.util.List<CaseAwarePathGlob> |
getAllowExcludes()
|
java.util.List<CaseAwarePath> |
getAllowIncludes()
|
java.util.List<CaseAwarePath> |
getHiddenDirectories()
|
java.util.List<SimpleLinker> |
getSimpleLinkers()
|
TarballSettings |
getTarballSettings()
|
int |
hashCode()
|
boolean |
isAllowAnon()
|
boolean |
isWatchesEnabled()
|
static RepositoryOptions |
newRepositoryOptions(DefaultRepositoryOptions defaultOptions)
Create a new RepositoryOptions object based on the given
default repository options. |
void |
setAllowAnon(boolean allowAnon)
|
void |
setAllowExcludes(java.util.List<CaseAwarePathGlob> allowExcludes)
|
void |
setAllowIncludes(java.util.List<CaseAwarePath> allowIncludes)
|
void |
setHiddenDirectories(java.util.List<CaseAwarePath> hiddenDirectories)
|
void |
setSimpleLinkers(java.util.List<SimpleLinker> simpleLinkers)
|
void |
setTarballSettings(TarballSettings tarballSettings)
|
void |
setWatchesEnabled(boolean enable)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 repositoryOptions| Method Detail |
|---|
public 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 boolean isWatchesEnabled()
public void setWatchesEnabled(boolean enable)
public boolean isAllowAnon()
public void setAllowAnon(boolean allowAnon)
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 boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||