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 java.lang.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()
java.lang.String
description()
Description string for this set of optionsboolean
dumpIds()
boolean
dumpRefs()
boolean
exportMetrics()
java.lang.String
exportMetricsArgs()
int
getBatchCount()
long
getBlobGcMaxAgeInSecs()
boolean
getMetadata()
java.io.File
getOutDir()
java.util.List<java.lang.String>
getVerboseInclusionRegex()
java.util.List<java.lang.String>
getVerboseRootPaths()
java.io.File
getWorkDir()
boolean
hasVerboseInclusionRegex()
boolean
hasVerboseRootPaths()
boolean
isResetLoggingConfig()
boolean
isUseDirListing()
boolean
isVerbose()
boolean
markOnly()
java.util.Set<java.lang.String>
operationNames()
Option names which are actually performing operationint
order()
Used to sort the help output.boolean
sweepIfRefsPastRetention()
java.lang.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 java.lang.String title()
Description copied from interface:OptionsBean
Title string for this set of options- Specified by:
title
in interfaceOptionsBean
-
description
public java.lang.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 java.util.Set<java.lang.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 java.io.File getWorkDir() throws java.io.IOException
- Throws:
java.io.IOException
-
getOutDir
public java.io.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 java.lang.String exportMetricsArgs()
-
getVerboseRootPaths
public java.util.List<java.lang.String> getVerboseRootPaths()
-
getVerboseInclusionRegex
public java.util.List<java.lang.String> getVerboseInclusionRegex()
-
isUseDirListing
public boolean isUseDirListing()
-
sweepIfRefsPastRetention
public boolean sweepIfRefsPastRetention()
-
-