Package org.apache.jackrabbit.oak.run
Class FlatFileCommand.FlatFileOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.FlatFileCommand.FlatFileOptions
-
- All Implemented Interfaces:
OptionsBean
- Enclosing class:
- FlatFileCommand
public static class FlatFileCommand.FlatFileOptions extends Object implements OptionsBean
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<joptsimple.OptionSpec>
actionOpts
protected joptsimple.OptionSet
options
-
Constructor Summary
Constructors Constructor Description FlatFileOptions(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 optionsFile
getOutFile()
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
-
options
protected joptsimple.OptionSet options
-
actionOpts
protected final Set<joptsimple.OptionSpec> actionOpts
-
-
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
-
getOutFile
public File getOutFile() throws IOException
- Throws:
IOException
-
-