Package com.nomagic.magicdraw.commandline


package com.nomagic.magicdraw.commandline
  • Class
    Description
    MagicDraw commandline launcher.
    Extend it and implement CommandLine.execute() method.
    Action allows to execute custom task in application command line mode.
    Manager registers available command line actions.
    MagicDraw commandline launcher capable of opening project provided using default project arguments.
    This class contains general methods (open, close project, read command line properties, connect to server, etc) related to project in command line for plugins Override ProjectCommandLineAction.execute(String[], Properties, Project)
    Arguments are specified as name=value pairs.
    Default arguments that will be used to try and open project: project - Project name or path projectDescriptor - Project descriptor server - Server url username - Username on server password - Password for provided username enableSSL - To use ssl serverType - Should be any value of ServerType, if not specified ServerType.TEAMWORK_CLOUD will be used encryptPassword - Set true if provided password is in plain text properties - Path to properties file containing properties.