@OpenApiAll public abstract class ProjectCommandLine extends CommandLine
execute(Properties, Project).
Specific argument parsing can be done by overriding parseArguments(String[])
| Constructor and Description |
|---|
ProjectCommandLine() |
| Modifier and Type | Method and Description |
|---|---|
protected byte |
execute()
Override this method to execute your custom task(s) in running MagicDraw environment.
|
protected abstract byte |
execute(java.util.Properties properties,
Project project)
Override this method to execute your custom task(s) in running MagicDraw environment on opened project.
|
protected void |
parseArgs(java.lang.String[] args)
Override to parse arguments before launching MagicDraw.
|
protected void |
parseArguments(java.lang.String[] args)
Override to parse arguments before launching MagicDraw.
|
launchprotected final void parseArgs(java.lang.String[] args)
throws java.lang.Exception
CommandLineparseArgs in class CommandLineargs - program argumentsjava.lang.Exception - if arguments are not correct and MagicDraw should not be startedprotected void parseArguments(java.lang.String[] args)
throws java.lang.Exception
args - program argumentsjava.lang.Exception - if arguments are not correct and MagicDraw should not be startedprotected final byte execute()
CommandLineCommandLine.launch(String[]) to launch the commandline.execute in class CommandLineprotected abstract byte execute(java.util.Properties properties,
Project project)
properties - parsed arguments for this projectproject - project opened based on provided arguments