public class CLICopyToMediaDir extends AbstractLauncher
The mm-move-into-media-directory command is used to move media files into a directory. It then uses the sources and stores with the media file and performs the actions on it. The media files can be either files or directories.
It has the following usage:
usage: mm-manager [-c
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getPrintArguments() |
static void |
main(java.lang.String[] args)
The entry point to the application.
|
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.
|
getController, parseLongOption, processOptionsInternal, setConfig
addOption, checkSubCommand, displayHelp, doExit, fatal, fatal, getName, getOptions, getStderr, getStdout, handleBadSubCommandOption, info, init, launch, printOptions, printUsage, shouldDisplayHelp, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static void main(java.lang.String[] args)
args
- The arguments.protected 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 optionsprotected java.lang.String getPrintArguments()