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>
commands
protected Set<IndexingCommand.Type>
commandTypes
protected static Log
log
protected DocumentModel
targetDocument
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexingCommands()
IndexingCommands(DocumentModel targetDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(IndexingCommand command)
void
add(IndexingCommand.Type type, boolean sync, boolean recurse)
protected void
clear()
boolean
contains(IndexingCommand.Type command)
protected IndexingCommand
find(IndexingCommand.Type command)
List<IndexingCommand>
getCommands()
DocumentModel
getTargetDocument()
-
-
-
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()
-
-