Package com.bc.ceres.standalone
Class CliHandler
- java.lang.Object
-
- com.bc.ceres.standalone.CliHandler
-
public class CliHandler extends Object
Encapsulates the command line arguments handling.- Since:
- Ceres 0.13.2
-
-
Constructor Summary
Constructors Constructor Description CliHandler(String[] args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
fetchArguments()
HashMap<String,String>
fetchGlobalMetadataFiles()
HashMap<String,String>
fetchSourceItemFiles()
String
fetchTargetItemFile()
HashMap<String,String>
fetchTemplateFiles()
void
printUsage()
-
-
-
Constructor Detail
-
CliHandler
public CliHandler(String[] args)
-
-
Method Detail
-
printUsage
public void printUsage()
-
fetchTemplateFiles
public HashMap<String,String> fetchTemplateFiles() throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
fetchSourceItemFiles
public HashMap<String,String> fetchSourceItemFiles() throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
fetchTargetItemFile
public String fetchTargetItemFile() throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
fetchGlobalMetadataFiles
public HashMap<String,String> fetchGlobalMetadataFiles() throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
fetchArguments
public String[] fetchArguments() throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
-