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 OptionsBeanFactory
FACTORY
-
Constructor Summary
Constructors Constructor Description DataStoreOptions(joptsimple.OptionParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
anyActionSelected()
boolean
checkConsistency()
boolean
checkConsistencyAfterGC()
boolean
collectGarbage()
void
configure(joptsimple.OptionSet options)
boolean
consistencyCheckMarkOnly()
String
description()
Description string for this set of optionsboolean
dumpIds()
boolean
dumpRefs()
boolean
exportMetrics()
String
exportMetricsArgs()
int
getBatchCount()
long
getBlobGcMaxAgeInSecs()
boolean
getMetadata()
File
getOutDir()
List<String>
getVerboseInclusionRegex()
List<String>
getVerboseRootPaths()
File
getWorkDir()
boolean
hasVerboseInclusionRegex()
boolean
hasVerboseRootPaths()
boolean
isResetLoggingConfig()
boolean
isUseDirListing()
boolean
isVerbose()
boolean
markOnly()
Set<String>
operationNames()
Option names which are actually performing operationint
order()
Used to sort the help output.boolean
sweepIfRefsPastRetention()
String
title()
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:
configure
in interfaceOptionsBean
-
title
public String title()
Description copied from interface:OptionsBean
Title string for this set of options- Specified by:
title
in interfaceOptionsBean
-
description
public String description()
Description copied from interface:OptionsBean
Description string for this set of options- Specified by:
description
in interfaceOptionsBean
-
order
public int order()
Description copied from interface:OptionsBean
Used to sort the help output. Help for OptionsBean in descending order i.e. bean having highest order would be rendered first- Specified by:
order
in interfaceOptionsBean
-
operationNames
public Set<String> operationNames()
Description copied from interface:OptionsBean
Option names which are actually performing operation- Specified by:
operationNames
in 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()
-
-