public class IndexPackingRequest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexPackingRequest.IndexFormat
Index format enumeration.
|
Modifier and Type | Field and Description |
---|---|
private IndexingContext |
context |
private boolean |
createChecksumFiles |
private boolean |
createIncrementalChunks |
private java.util.Collection<IndexPackingRequest.IndexFormat> |
formats |
static int |
MAX_CHUNKS |
private int |
maxIndexChunks |
private java.io.File |
targetDir |
private boolean |
useTargetProperties |
Constructor and Description |
---|
IndexPackingRequest(IndexingContext context,
java.io.File targetDir) |
Modifier and Type | Method and Description |
---|---|
IndexingContext |
getContext() |
java.util.Collection<IndexPackingRequest.IndexFormat> |
getFormats()
Returns index formats to be created.
|
int |
getMaxIndexChunks() |
java.io.File |
getTargetDir() |
boolean |
isCreateChecksumFiles() |
boolean |
isCreateIncrementalChunks() |
boolean |
isUseTargetProperties() |
void |
setContext(IndexingContext context) |
void |
setCreateChecksumFiles(boolean createChecksumFiles) |
void |
setCreateIncrementalChunks(boolean createIncrementalChunks) |
void |
setFormats(java.util.Collection<IndexPackingRequest.IndexFormat> formats)
Sets index formats to be created
|
void |
setMaxIndexChunks(int maxIndexChunks) |
void |
setTargetDir(java.io.File targetDir) |
void |
setUseTargetProperties(boolean useTargetProperties) |
public static final int MAX_CHUNKS
private IndexingContext context
private java.io.File targetDir
private boolean createIncrementalChunks
private boolean createChecksumFiles
private int maxIndexChunks
private boolean useTargetProperties
private java.util.Collection<IndexPackingRequest.IndexFormat> formats
public IndexPackingRequest(IndexingContext context, java.io.File targetDir)
public IndexingContext getContext()
public void setContext(IndexingContext context)
public void setFormats(java.util.Collection<IndexPackingRequest.IndexFormat> formats)
public java.util.Collection<IndexPackingRequest.IndexFormat> getFormats()
public java.io.File getTargetDir()
public void setTargetDir(java.io.File targetDir)
public boolean isCreateIncrementalChunks()
public void setCreateIncrementalChunks(boolean createIncrementalChunks)
public boolean isCreateChecksumFiles()
public void setCreateChecksumFiles(boolean createChecksumFiles)
public int getMaxIndexChunks()
public void setMaxIndexChunks(int maxIndexChunks)
public boolean isUseTargetProperties()
public void setUseTargetProperties(boolean useTargetProperties)