Interface CommandLineAction
- All Known Implementing Classes:
ProjectCommandLineAction
@OpenApiAll
public interface CommandLineAction
Action allows to execute custom task in application command line mode.
It must be registered via
CommandLineActionManager.addAction(CommandLineAction).- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbyteImplement this method to execute custom task in running MagicDraw application environment.static voidPrint to commandline console.
-
Method Details
-
execute
Implement this method to execute custom task in running MagicDraw application environment.- Returns:
- application exit status.
-
printToCommandLineConsole
Print to commandline console. Do not useSystem.outsince it might be redirected to log.- Parameters:
text- test to print
-