Class CommonOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.cli.CommonOptions
-
- All Implemented Interfaces:
OptionsBean
public class CommonOptions extends Object implements OptionsBean
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_CONNECTION_STRING
-
Constructor Summary
Constructors Constructor Description CommonOptions(joptsimple.OptionParser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(joptsimple.OptionSet options)
String
description()
Description string for this set of optionsList<String>
getNonOptions()
String
getStoreArg()
boolean
isDocument()
boolean
isHelpRequested()
boolean
isMemory()
boolean
isMetricsEnabled()
boolean
isMongo()
boolean
isOldSegment()
boolean
isRDB()
boolean
isReadWrite()
Set<String>
operationNames()
Option names which are actually performing operationint
order()
Used to sort the help output.String
title()
Title string for this set of options
-
-
-
Field Detail
-
DEFAULT_CONNECTION_STRING
public static final String DEFAULT_CONNECTION_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(joptsimple.OptionSet options)
- Specified by:
configure
in interfaceOptionsBean
-
isHelpRequested
public boolean isHelpRequested()
-
isReadWrite
public boolean isReadWrite()
-
isMongo
public boolean isMongo()
-
isRDB
public boolean isRDB()
-
isOldSegment
public boolean isOldSegment()
-
isDocument
public boolean isDocument()
-
isMemory
public boolean isMemory()
-
isMetricsEnabled
public boolean isMetricsEnabled()
-
getStoreArg
public String getStoreArg()
-
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
-
-