public enum ReIndexOption extends Enum<ReIndexOption>
Enum Constant and Description |
---|
ATTACHMENT_ONLY
Attachment only
|
CONTENT_ONLY
All content except those others specifically listed below - e.g.
|
USER_ONLY
User only
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<ReIndexOption> |
fullReindex() |
abstract Predicate<String> |
getClassFilter() |
abstract SearchQuery |
getDeleteQuery() |
abstract List<HibernateHandle> |
getHandles(SearchableDao dao) |
abstract Integer |
getThreadCount() |
static boolean |
isFullReindex(Set<ReIndexOption> options) |
static ReIndexOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReIndexOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReIndexOption CONTENT_ONLY
public static final ReIndexOption ATTACHMENT_ONLY
public static final ReIndexOption USER_ONLY
public static ReIndexOption[] values()
for (ReIndexOption c : ReIndexOption.values()) System.out.println(c);
public static ReIndexOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract SearchQuery getDeleteQuery()
public abstract Integer getThreadCount()
public abstract List<HibernateHandle> getHandles(SearchableDao dao)
public static boolean isFullReindex(Set<ReIndexOption> options)
public static EnumSet<ReIndexOption> fullReindex()
Copyright © 2003–2021 Atlassian. All rights reserved.