Package ru.akman.maven.plugins
Class CommandLineBuilder
java.lang.Object
ru.akman.maven.plugins.CommandLineBuilder
CommandLine builder is a wrapper added group of agruments to an option.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.codehaus.plexus.util.cli.CommandlineBuild command line.Build list of options.org.codehaus.plexus.util.cli.ArgCreate a new agrument and a new option for it, then add created argument to this option.Create a new option (group of arguments).voidsetExecutable(String executable) Set executable.
- 
Constructor Details- 
CommandLineBuilderpublic CommandLineBuilder()Default constructor.
 
- 
- 
Method Details- 
setExecutableSet executable.- Parameters:
- executable- the executable path
 
- 
createOptCreate a new option (group of arguments).- Returns:
- created empty option
 
- 
createArgpublic org.codehaus.plexus.util.cli.Arg createArg()Create a new agrument and a new option for it, then add created argument to this option.- Returns:
- created option with added argument
 
- 
buildCommandLinepublic org.codehaus.plexus.util.cli.Commandline buildCommandLine()Build command line.- Returns:
- builded command line
 
- 
buildOptionListBuild list of options.- Returns:
- builded option list
 
 
-