|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.standalone.StandaloneCommand org.eclipse.ocl.examples.standalone.validity.ValidateCommand
public class ValidateCommand
The ValidateCommand provides model validation.
Nested Class Summary | |
---|---|
protected static class |
ValidateCommand.ExporterComparator
|
static class |
ValidateCommand.ExporterToken
An optional argument to specify which exporter should be used. |
static class |
ValidateCommand.ModelToken
A mandatory argument key of the model file path. |
static class |
ValidateCommand.OutputToken
An optional argument to define the output file path. |
static class |
ValidateCommand.RulesToken
A mandatory argument used to define the paths to the OCL documents containing the constraints to evaluate. |
static class |
ValidateCommand.UsingToken
An optional argument used if the user wishes to run all constraints or to only run the OCL, Java or UML constraints validation. |
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.standalone.StandaloneCommand |
---|
StandaloneCommand.CommandToken, StandaloneCommand.StringToken |
Fields inherited from class org.eclipse.ocl.examples.standalone.StandaloneCommand |
---|
help, name, standaloneApplication, tokens |
Constructor Summary | |
---|---|
ValidateCommand(StandaloneApplication standaloneApplication)
|
Method Summary | |
---|---|
StandaloneResponse |
execute(java.util.Map<StandaloneCommand.CommandToken,java.util.List<java.lang.String>> token2strings)
|
protected static java.lang.String |
getCheckedFileName(java.lang.String string)
|
static boolean |
isWindows()
|
Methods inherited from class org.eclipse.ocl.examples.standalone.StandaloneCommand |
---|
addToken, check, getHelp, getName, getTokens, parse, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@NonNull public final ValidateCommand.ExporterToken exporterToken
@NonNull public final ValidateCommand.ModelToken modelToken
@NonNull public final ValidateCommand.OutputToken outputToken
@NonNull public final ValidateCommand.RulesToken rulesToken
@NonNull public final ValidateCommand.UsingToken usingToken
Constructor Detail |
---|
public ValidateCommand(@NonNull StandaloneApplication standaloneApplication)
Method Detail |
---|
protected static java.lang.String getCheckedFileName(@NonNull java.lang.String string)
public static boolean isWindows()
@NonNull public StandaloneResponse execute(@NonNull java.util.Map<StandaloneCommand.CommandToken,java.util.List<java.lang.String>> token2strings)
execute
in class StandaloneCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |