Package org.apache.maven.index.packer
Class IndexPackingRequest
java.lang.Object
org.apache.maven.index.packer.IndexPackingRequest
An index packing request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Index format enumeration. -
Field Summary
-
Constructor Summary
ConstructorDescriptionIndexPackingRequest
(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, File targetDir) -
Method Summary
Modifier and TypeMethodDescriptionReturns index formats to be created.org.apache.lucene.index.IndexReader
int
boolean
boolean
boolean
void
setCreateChecksumFiles
(boolean createChecksumFiles) void
setCreateIncrementalChunks
(boolean createIncrementalChunks) void
Sets index formats to be createdvoid
setMaxIndexChunks
(int maxIndexChunks) void
setUseTargetProperties
(boolean useTargetProperties)
-
Field Details
-
MAX_CHUNKS
public static final int MAX_CHUNKS- See Also:
-
-
Constructor Details
-
IndexPackingRequest
public IndexPackingRequest(IndexingContext context, org.apache.lucene.index.IndexReader indexReader, File targetDir)
-
-
Method Details
-
getContext
-
getIndexReader
public org.apache.lucene.index.IndexReader getIndexReader() -
setFormats
Sets index formats to be created -
getFormats
Returns index formats to be created. -
getTargetDir
-
isCreateIncrementalChunks
public boolean isCreateIncrementalChunks() -
setCreateIncrementalChunks
public void setCreateIncrementalChunks(boolean createIncrementalChunks) -
isCreateChecksumFiles
public boolean isCreateChecksumFiles() -
setCreateChecksumFiles
public void setCreateChecksumFiles(boolean createChecksumFiles) -
getMaxIndexChunks
public int getMaxIndexChunks() -
setMaxIndexChunks
public void setMaxIndexChunks(int maxIndexChunks) -
isUseTargetProperties
public boolean isUseTargetProperties() -
setUseTargetProperties
public void setUseTargetProperties(boolean useTargetProperties)
-