org.eclipse.ocl.examples.standalone
Class StandaloneCommandAnalyzer

java.lang.Object
  extended by org.eclipse.ocl.examples.standalone.StandaloneCommandAnalyzer

public class StandaloneCommandAnalyzer
extends java.lang.Object

This class executes an OCL evaluation of a model with one or several OCL file(s). This class is intended to be used only in Standalone mode. The result may be saved in a XMI file or exported as a HTML report.

Noextend:
This class is not intended to be subclassed by clients.
Noinstantiate:
This class is not intended to be instantiated by clients.

Constructor Summary
StandaloneCommandAnalyzer(StandaloneApplication standaloneApplication)
           
 
Method Summary
protected  void addCommand(StandaloneCommand command)
           
 java.util.Collection<StandaloneCommand> getCommands()
           
 StandaloneCommand parse(java.lang.String[] args)
          This launch the application using the entered arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandaloneCommandAnalyzer

public StandaloneCommandAnalyzer(@NonNull
                                 StandaloneApplication standaloneApplication)
Method Detail

addCommand

protected void addCommand(@NonNull
                          StandaloneCommand command)

getCommands

@NonNull
public java.util.Collection<StandaloneCommand> getCommands()

parse

@Nullable
public StandaloneCommand parse(@NonNull
                                        java.lang.String[] args)
This launch the application using the entered arguments.

Parameters:
args - the application arguments.
Returns:
the application return code.