Class TikaCommandOptions
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.tika.TikaCommandOptions
-
- All Implemented Interfaces:
OptionsBean
public class TikaCommandOptions extends Object implements OptionsBean
-
-
Field Summary
Fields Modifier and Type Field Description static OptionsBeanFactory
FACTORY
static String
NAME
-
Constructor Summary
Constructors Constructor Description TikaCommandOptions(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 optionsboolean
extract()
boolean
generate()
File
getDataFile()
joptsimple.OptionSpec<File>
getDataFileSpecOpt()
File
getIndexDir()
joptsimple.OptionSpec<File>
getIndexDirSpecOpt()
String
getPath()
int
getPoolSize()
File
getStoreDir()
joptsimple.OptionSpec<File>
getStoreDirSpecOpt()
File
getTikaConfig()
boolean
isPoolSizeDefined()
Set<String>
operationNames()
Option names which are actually performing operationint
order()
Used to sort the help output.boolean
populate()
boolean
report()
String
title()
Title string for this set of options
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
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
-
getPath
public String getPath()
-
getDataFile
public File getDataFile()
-
getTikaConfig
public File getTikaConfig()
-
getStoreDir
public File getStoreDir()
-
getIndexDir
public File getIndexDir()
-
isPoolSizeDefined
public boolean isPoolSizeDefined()
-
getPoolSize
public int getPoolSize()
-
report
public boolean report()
-
generate
public boolean generate()
-
populate
public boolean populate()
-
extract
public boolean extract()
-
getDataFileSpecOpt
public joptsimple.OptionSpec<File> getDataFileSpecOpt()
-
getIndexDirSpecOpt
public joptsimple.OptionSpec<File> getIndexDirSpecOpt()
-
getStoreDirSpecOpt
public joptsimple.OptionSpec<File> getStoreDirSpecOpt()
-
-