Package org.apache.jackrabbit.oak.run
Class DataStoreOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.DataStoreOptions
-
- All Implemented Interfaces:
OptionsBean
public class DataStoreOptions extends Object implements OptionsBean
-
-
Field Summary
Fields Modifier and Type Field Description static OptionsBeanFactoryFACTORY
-
Constructor Summary
Constructors Constructor Description DataStoreOptions(joptsimple.OptionParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleananyActionSelected()booleancheckConsistency()booleancheckConsistencyAfterGC()booleancollectGarbage()voidconfigure(joptsimple.OptionSet options)booleanconsistencyCheckMarkOnly()Stringdescription()Description string for this set of optionsbooleandumpIds()booleandumpRefs()booleanexportMetrics()StringexportMetricsArgs()intgetBatchCount()longgetBlobGcMaxAgeInSecs()booleangetMetadata()FilegetOutDir()List<String>getVerboseInclusionRegex()List<String>getVerboseRootPaths()FilegetWorkDir()booleanhasVerboseInclusionRegex()booleanhasVerboseRootPaths()booleanisResetLoggingConfig()booleanisUseDirListing()booleanisVerbose()booleanmarkOnly()Set<String>operationNames()Option names which are actually performing operationintorder()Used to sort the help output.booleansweepIfRefsPastRetention()Stringtitle()Title string for this set of options
-
-
-
Field Detail
-
FACTORY
public static final OptionsBeanFactory FACTORY
-
-
Method Detail
-
configure
public void configure(joptsimple.OptionSet options)
- Specified by:
configurein interfaceOptionsBean
-
title
public String title()
Description copied from interface:OptionsBeanTitle string for this set of options- Specified by:
titlein interfaceOptionsBean
-
description
public String description()
Description copied from interface:OptionsBeanDescription string for this set of options- Specified by:
descriptionin interfaceOptionsBean
-
order
public int order()
Description copied from interface:OptionsBeanUsed to sort the help output. Help for OptionsBean in descending order i.e. bean having highest order would be rendered first- Specified by:
orderin interfaceOptionsBean
-
operationNames
public Set<String> operationNames()
Description copied from interface:OptionsBeanOption names which are actually performing operation- Specified by:
operationNamesin interfaceOptionsBean
-
anyActionSelected
public boolean anyActionSelected()
-
getWorkDir
public File getWorkDir() throws IOException
- Throws:
IOException
-
getOutDir
public File getOutDir()
-
collectGarbage
public boolean collectGarbage()
-
checkConsistency
public boolean checkConsistency()
-
dumpRefs
public boolean dumpRefs()
-
dumpIds
public boolean dumpIds()
-
getMetadata
public boolean getMetadata()
-
checkConsistencyAfterGC
public boolean checkConsistencyAfterGC()
-
markOnly
public boolean markOnly()
-
consistencyCheckMarkOnly
public boolean consistencyCheckMarkOnly()
-
getBlobGcMaxAgeInSecs
public long getBlobGcMaxAgeInSecs()
-
getBatchCount
public int getBatchCount()
-
isVerbose
public boolean isVerbose()
-
hasVerboseRootPaths
public boolean hasVerboseRootPaths()
-
hasVerboseInclusionRegex
public boolean hasVerboseInclusionRegex()
-
isResetLoggingConfig
public boolean isResetLoggingConfig()
-
exportMetrics
public boolean exportMetrics()
-
exportMetricsArgs
public String exportMetricsArgs()
-
isUseDirListing
public boolean isUseDirListing()
-
sweepIfRefsPastRetention
public boolean sweepIfRefsPastRetention()
-
-