Enum AbstractLuceneIndexerImpl.Action
- java.lang.Object
-
- java.lang.Enum<AbstractLuceneIndexerImpl.Action>
-
- org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerImpl.Action
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractLuceneIndexerImpl.Action>
- Enclosing class:
- AbstractLuceneIndexerImpl<T>
protected static enum AbstractLuceneIndexerImpl.Action extends java.lang.Enum<AbstractLuceneIndexerImpl.Action>
Enum for indexing actions against a node
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASCADEREINDEXA cascaded reindex (ensures directory structre is ok)DELETEA deleteINDEXAn indexREINDEXA reindex
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractLuceneIndexerImpl.ActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AbstractLuceneIndexerImpl.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INDEX
public static final AbstractLuceneIndexerImpl.Action INDEX
An index
-
REINDEX
public static final AbstractLuceneIndexerImpl.Action REINDEX
A reindex
-
DELETE
public static final AbstractLuceneIndexerImpl.Action DELETE
A delete
-
CASCADEREINDEX
public static final AbstractLuceneIndexerImpl.Action CASCADEREINDEX
A cascaded reindex (ensures directory structre is ok)
-
-
Method Detail
-
values
public static AbstractLuceneIndexerImpl.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractLuceneIndexerImpl.Action c : AbstractLuceneIndexerImpl.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractLuceneIndexerImpl.Action valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-