|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.cli.BaseLauncher
org.stanwood.media.cli.AbstractLauncher
org.stanwood.media.cli.manager.CLIMediaManager
public class CLIMediaManager
This is a command line launcher that is used to managed a media directory. It reads the configuration file to work out which sources, stores and actions are to be used with media directory. Then the actions are performed on the media directory.
It has the following usage:
usage: mm-manager [-c
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The entry point |
protected boolean |
processOptions(java.lang.String[] args,
org.apache.commons.cli.CommandLine cmd)
Used to check the CLI options are valid |
protected boolean |
run()
This does the actual work of the tool. |
Methods inherited from class org.stanwood.media.cli.AbstractLauncher |
---|
getController, parseLongOption, processOptionsInternal, setConfig |
Methods inherited from class org.stanwood.media.cli.BaseLauncher |
---|
addOption, checkSubCommand, displayHelp, doExit, fatal, fatal, getName, getOptions, getStderr, getStdout, handleBadSubCommandOption, info, init, launch, printOptions, printUsage, shouldDisplayHelp, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.stanwood.media.cli.ICLICommand |
---|
getName |
Method Detail |
---|
public static void main(java.lang.String[] args)
It has the following usage:
usage: mm-manager [-c
args
- The argumentsprotected boolean run()
run
in class BaseLauncher
protected boolean processOptions(java.lang.String[] args, org.apache.commons.cli.CommandLine cmd)
processOptions
in class AbstractLauncher
cmd
- The CLI options
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |