Package org.nuxeo.elasticsearch.commands
Class IndexingCommands
- java.lang.Object
-
- org.nuxeo.elasticsearch.commands.IndexingCommands
-
public class IndexingCommands extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<IndexingCommand>commandsprotected Set<IndexingCommand.Type>commandTypesprotected static Loglogprotected DocumentModeltargetDocument
-
Constructor Summary
Constructors Modifier Constructor Description protectedIndexingCommands()IndexingCommands(DocumentModel targetDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidadd(IndexingCommand command)voidadd(IndexingCommand.Type type, boolean sync, boolean recurse)protected voidclear()booleancontains(IndexingCommand.Type command)protected IndexingCommandfind(IndexingCommand.Type command)List<IndexingCommand>getCommands()DocumentModelgetTargetDocument()
-
-
-
Field Detail
-
log
protected static final Log log
-
commands
protected final List<IndexingCommand> commands
-
commandTypes
protected final Set<IndexingCommand.Type> commandTypes
-
targetDocument
protected DocumentModel targetDocument
-
-
Constructor Detail
-
IndexingCommands
protected IndexingCommands()
-
IndexingCommands
public IndexingCommands(DocumentModel targetDocument)
-
-
Method Detail
-
add
public void add(IndexingCommand.Type type, boolean sync, boolean recurse)
-
find
protected IndexingCommand find(IndexingCommand.Type command)
-
add
protected void add(IndexingCommand command)
-
clear
protected void clear()
-
getTargetDocument
public DocumentModel getTargetDocument()
-
contains
public boolean contains(IndexingCommand.Type command)
-
getCommands
public List<IndexingCommand> getCommands()
-
-