org.eclipse.ocl.examples.standalone.validity
Class ValidateCommand.ExporterToken

java.lang.Object
  extended by org.eclipse.ocl.examples.standalone.StandaloneCommand.CommandToken
      extended by org.eclipse.ocl.examples.standalone.StandaloneCommand.StringToken
          extended by org.eclipse.ocl.examples.standalone.validity.ValidateCommand.ExporterToken
Enclosing class:
ValidateCommand

public static class ValidateCommand.ExporterToken
extends StandaloneCommand.StringToken

An optional argument to specify which exporter should be used. By default, the �txt� exporter will be used, exporting a textual report of the validation.


Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.standalone.StandaloneCommand.CommandToken
help, isRequired, name
 
Constructor Summary
ValidateCommand.ExporterToken()
           
 
Method Summary
 boolean check(java.util.List<java.lang.String> strings)
           
 java.lang.String getArgsHelp()
           
 IValidityExporter getExporter(java.util.Map<StandaloneCommand.CommandToken,java.util.List<java.lang.String>> token2strings)
           
 
Methods inherited from class org.eclipse.ocl.examples.standalone.StandaloneCommand.StringToken
parseArgument
 
Methods inherited from class org.eclipse.ocl.examples.standalone.StandaloneCommand.CommandToken
getHelp, getName, isRequired, isSingleton, setIsRequired, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidateCommand.ExporterToken

public ValidateCommand.ExporterToken()
Method Detail

check

public boolean check(@NonNull
                     java.util.List<java.lang.String> strings)
Overrides:
check in class StandaloneCommand.StringToken

getArgsHelp

@Nullable
public java.lang.String getArgsHelp()
Overrides:
getArgsHelp in class StandaloneCommand.StringToken

getExporter

@Nullable
public IValidityExporter getExporter(@NonNull
                                              java.util.Map<StandaloneCommand.CommandToken,java.util.List<java.lang.String>> token2strings)