Uses of Class
net.ssehub.easy.instantiation.core.model.common.VilException
-
Packages that use VilException Package Description de.uni_hildesheim.sse IVML core main classes (exported).de.uni_hildesheim.sse.buildLanguageTranslation de.uni_hildesheim.sse.vil.expressions.translation Translation functionality for expressions.de.uni_hildesheim.sse.vil.templatelang de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation net.ssehub.easy.instantiation.ant.instantiators Java-specific instantiators.net.ssehub.easy.instantiation.aspectj.instantiators AspectJ-specific instantiators.net.ssehub.easy.instantiation.core.model.artifactModel Contains the VIL artifact model.net.ssehub.easy.instantiation.core.model.artifactModel.representation Contains the implementation of the artifact content representations.net.ssehub.easy.instantiation.core.model.artifactModel.variability Contains fragment artifacts, i.e., artifacts which are used to decompose other artifacts but cannot be used standalone.net.ssehub.easy.instantiation.core.model.artifactModel.xml Contains simple (non-decomposed) artifacts.net.ssehub.easy.instantiation.core.model.buildlangModel Implements the abstract representation of the build language (parsed, analyzed and already linked, i.e.net.ssehub.easy.instantiation.core.model.buildlangModel.execOperand Executable operands for system execution operations.net.ssehub.easy.instantiation.core.model.buildlangModel.matchLoop Implements the LHS/RHS match loop and related applicators.net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch Rule match expressions.net.ssehub.easy.instantiation.core.model.common Implements the common language elements.net.ssehub.easy.instantiation.core.model.defaultInstantiators The default instantiators for VIL.net.ssehub.easy.instantiation.core.model.execution High level execution support.net.ssehub.easy.instantiation.core.model.expressions Implements the common expression tree for the VIL languages.net.ssehub.easy.instantiation.core.model.templateModel The template language model.net.ssehub.easy.instantiation.core.model.tracing Common tracing functionality.net.ssehub.easy.instantiation.core.model.vilTypes Contains the basic VIL types used as foundation for the artifact model and for integrating the variability model, i.e., types which are not artifacts themselves.net.ssehub.easy.instantiation.core.model.vilTypes.configuration All classes related to the EASy integration of configuration and decisions.net.ssehub.easy.instantiation.java.artifacts Default Java artifacts.net.ssehub.easy.instantiation.java.instantiators Java-specific instantiators.net.ssehub.easy.instantiation.maven A Maven instantiator.net.ssehub.easy.instantiation.serializer.xml.converter This package contains all converters that are needed for serialization.net.ssehub.easy.instantiation.velocity This package contains the VIL instantiator realization of Apache's Velocity.
For more information please visit the Velocity project page.net.ssehub.easy.instantiation.xvcl This package holds the Instantiator for the instantiation xvcl files using the XVCL library.net.ssehub.easy.producer.core.mgmt This package contains classes which are needed for data management, i.e.net.ssehub.easy.producer.ui.productline_editor.configuration This package holds classes for the configuration editor and super classes for similar configuration editors.net.ssehub.easy.producer.ui.productline_editor.instantiator This package holds classes for the instantiator editor. -
-
Uses of VilException in de.uni_hildesheim.sse
Methods in de.uni_hildesheim.sse that throw VilException Modifier and Type Method Description ExpressionBuildLangModelUtility. createExpression(java.lang.String text, Resolver resolver, java.lang.StringBuilder warnings)Parsestextinto an expression.ExpressionBuildLangModelUtility. createExpression(java.lang.String text, IRuntimeEnvironment environment)ExpressionVilExpressionParser. parse(java.lang.String text, Resolver resolver)ExpressionVilExpressionParser. parse(java.lang.String text, IRuntimeEnvironment environment) -
Uses of VilException in de.uni_hildesheim.sse.buildLanguageTranslation
Methods in de.uni_hildesheim.sse.buildLanguageTranslation with parameters of type VilException Modifier and Type Method Description (package private) voidAbstractModelTranslator. error(VilException exception, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature)Turns a buildlang exception into a xText error.(package private) voidAbstractModelTranslator. warning(VilException exception, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature)Turns a buildlang exception into a xText warning.Methods in de.uni_hildesheim.sse.buildLanguageTranslation that throw VilException Modifier and Type Method Description protected CompoundAbstractModelTranslator. createCompound(CompoundTypeDescriptor type)protected TypedefAbstractModelTranslator. createTypedef(java.lang.String name, TypeDescriptor<?> type)ExpressionExpressionTranslator. parseExpression(java.lang.String expression, Resolver resolver, java.lang.StringBuilder warnings)voidRuleInfo. registerVariables(Resolver resolver)Registers the LHS/RHS variables inresolverif applicable. -
Uses of VilException in de.uni_hildesheim.sse.vil.expressions.translation
Methods in de.uni_hildesheim.sse.vil.expressions.translation that return VilException Modifier and Type Method Description protected VilExceptionExpressionTranslator. checkSemantics(Expression expr)Checks the semantics of a potential call candidate.Methods in de.uni_hildesheim.sse.vil.expressions.translation with parameters of type VilException Modifier and Type Method Description protected booleanExpressionTranslator. continueResolution(VilException semanticException)Returns whether resolution shall be continued in case of multiple similar call expressions.Methods in de.uni_hildesheim.sse.vil.expressions.translation that throw VilException Modifier and Type Method Description java.lang.ObjectDeferredResolvableOperationExpression. accept(IExpressionVisitor visitor)protected abstract CompoundModelTranslator. createCompound(CompoundTypeDescriptor type)Creates a compound object.protected abstract TypedefModelTranslator. createTypedef(java.lang.String name, TypeDescriptor<?> type)Creates a typdef object.TypeDescriptor<?>DeferredResolvableOperationExpression. inferType()private ExpressionExpressionTranslator. normalizeStringExpression(Expression ex, java.lang.String st)Normalizes a string expression, i.e., ifex(within aCompositeExpressionis not a constant, aStringExpressioncontaining the expression is inserted instead.abstract ExpressionExpressionTranslator. parseExpression(java.lang.String expression, R resolver, java.lang.StringBuilder warnings)Parse the given expression. -
Uses of VilException in de.uni_hildesheim.sse.vil.templatelang
Methods in de.uni_hildesheim.sse.vil.templatelang that throw VilException Modifier and Type Method Description ExpressionTemplateLangModelUtility. createExpression(java.lang.String text, IRuntimeEnvironment environment)ExpressionTemplateLangModelUtility. createExpression(java.lang.String text, Resolver resolver, java.lang.StringBuilder warnings)Parsestextinto an expression.ExpressionTemplateLangModelUtility. createExpression(java.lang.String text, Resolver resolver, java.lang.StringBuilder warnings, IvmlMessageAdapter adapter)Parsestextinto an expression.ExpressionVtlExpressionParser. parse(java.lang.String text, IRuntimeEnvironment environment)ExpressionVtlExpressionParser. parse(java.lang.String text, Resolver resolver) -
Uses of VilException in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation
Methods in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation with parameters of type VilException Modifier and Type Method Description (package private) voidModelTranslator. error(VilException exception, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature)Turns a buildlang exception into a xText error.(package private) voidModelTranslator. warning(VilException exception, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature)Turns a buildlang exception into a xText warning.Methods in de.uni_hildesheim.sse.vil.templatelang.templateLanguageTranslation that throw VilException Modifier and Type Method Description protected CompoundModelTranslator. createCompound(CompoundTypeDescriptor type)protected TypedefModelTranslator. createTypedef(java.lang.String name, TypeDescriptor<?> type)ExpressionExpressionTranslator. parseExpression(java.lang.String expression, Resolver resolver, java.lang.StringBuilder warnings) -
Uses of VilException in net.ssehub.easy.instantiation.ant.instantiators
Methods in net.ssehub.easy.instantiation.ant.instantiators that throw VilException Modifier and Type Method Description static Set<FileArtifact>Ant. ant(Path root, java.lang.String buildFilePath, java.lang.String buildtarget)Executes a specific ANT-build target.static Set<FileArtifact>Make. make(Path root, java.lang.String buildFilePath, java.lang.String buildtarget, java.util.Map<java.lang.String,java.lang.Object> arguments)Runs make-scripts with the help of ANT. -
Uses of VilException in net.ssehub.easy.instantiation.aspectj.instantiators
Methods in net.ssehub.easy.instantiation.aspectj.instantiators that throw VilException Modifier and Type Method Description static Set<FileArtifact>AspectJ. aspectJ(Path source, Path target, java.util.Map<java.lang.String,java.lang.Object> other)Compiles a source path to a target path.private static Set<FileArtifact>AspectJ. aspectJ(Collection<FileArtifact> source, java.io.File sourceRoot, Path target, java.util.Map<java.lang.String,java.lang.Object> other)Compiles a source path to a target path.static Set<FileArtifact>AspectJ. aspectJ(Collection<FileArtifact> source, Path target, java.util.Map<java.lang.String,java.lang.Object> other)Compiles a source path to a target path.private static voidAspectJ. handleMessages(org.aspectj.bridge.MessageHandler handler)Handles AspectJ messages.private static java.lang.StringAspectJ. prepareAspectJClasspath(java.lang.String classpath)Prepares the AspectJ classpath. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.artifactModel
Fields in net.ssehub.easy.instantiation.core.model.artifactModel with type parameters of type VilException Modifier and Type Field Description private java.util.List<VilException>FileUtils.ScanResult. errorsMethod parameters in net.ssehub.easy.instantiation.core.model.artifactModel with type arguments of type VilException Modifier and Type Method Description private intArtifactModel. scanAll(java.io.File location, int count, ProgressObserver observer, ProgressObserver.ITask task, java.util.List<VilException> errors)Processes all files inlocationin a recursive manner.Methods in net.ssehub.easy.instantiation.core.model.artifactModel that throw VilException Modifier and Type Method Description abstract voidComponentArtifact. acticate()Activates this component.(package private) voidArtifactModel. afterRename(IFileSystemArtifact artifact)Called after rename in order to create the changed artifacts.voidCompositeArtifact. artifactChanged(java.lang.Object cause)voidFolderArtifact. artifactChanged(java.lang.Object cause)voidIArtifactChangedListener. artifactChanged(java.lang.Object cause)Is called when the artifact was changed, e.g., to trigger a reanalysis of substructures.(package private) voidArtifactModel. beforeRename(IFileSystemArtifact artifact)Called before renaming an artifact to cleanup.voidFileUtils.ScanResult. checkForException()Default handling of collected errors.private static java.lang.StringJavaPath. checkJavaPath(java.lang.String path)Checks the given path for compliance to Java path conventions.static IArtifactArtifactOperations. convert(java.lang.String val)Conversion operation.static IArtifactArtifactOperations. convert(Path path)Conversion operation.static FileArtifactFileArtifact. convert(java.lang.String val)Conversion operation.static PathFileArtifact. convert(FileArtifact val)Conversion operation.static FileArtifactFileArtifact. convert(Path path)Conversion operation.static PathFileSystemArtifactOperations. convert(IFileSystemArtifact val)Conversion operation.static PathFolderArtifact. convert(FolderArtifact val)Conversion operation.static FolderArtifactFolderArtifact. convert(Path path)Converts a path into a folder.static IFileSystemArtifactPath. convert(Path path)Converts a path into a file system artifact.static FileArtifactVtlFileArtifact. convert(java.lang.String val)Conversion operation.static FileArtifactVtlFileArtifact. convert(Path path)Conversion operation.Set<IFileSystemArtifact>FileArtifact. copy(IFileSystemArtifact target)(package private) static java.util.List<IFileSystemArtifact>FileUtils. copy(IFileSystemArtifact source, IFileSystemArtifact target)Copiessourcetotarget.Set<IFileSystemArtifact>FolderArtifact. copy(IFileSystemArtifact target)Set<IFileSystemArtifact>IFileSystemArtifact. copy(IFileSystemArtifact target)Copy this artifact.Set<IFileSystemArtifact>Path. copy(IFileSystemArtifact target)Copies the artifacts denoted by this path totarget.private static voidFileUtils. copyOrMove(java.io.File source, java.io.File target, ArtifactModel sourceModel, ArtifactModel targetModel, java.util.List<IFileSystemArtifact> artifacts)Copy or move fromsourcetotargetconsidering each as directories or files.private static java.util.List<IFileSystemArtifact>FileUtils. copyOrMove(IFileSystemArtifact source, IFileSystemArtifact target, boolean move)Copy or move fromsourcetotargetconsidering each as directories or files.(package private) static Set<IFileSystemArtifact>FileUtils. copyOrMove(Path source, IFileSystemArtifact target, boolean move)Copy or move from thesourcepath to thetargetartifact.static FileArtifactFileArtifact. create()Creates a temporary file artifact.static FolderArtifactFolderArtifact. create()Creates a temporary file artifact.static PathPath. create(java.lang.String path)Creates a path from the given string representation.static <T extends IArtifact>
TArtifactFactory. createArtifact(java.lang.Class<T> kind, java.lang.Object real, ArtifactModel model)Creates an artifact instance.static IArtifactArtifactFactory. createArtifact(java.lang.Object real)Creates an artifact instance.FileArtifactDefaultFileArtifactCreator. createArtifactInstance(java.lang.Object real, ArtifactModel model)FolderArtifactDefaultFolderArtifactCreator. createArtifactInstance(java.lang.Object real, ArtifactModel model)IArtifactIArtifactCreator. createArtifactInstance(java.lang.Object real, ArtifactModel model)Returns the artifact instance forreal.FileArtifactVtlFileArtifactCreator. createArtifactInstance(java.lang.Object real, ArtifactModel model)protected abstract BinaryCompositeArtifact. createBinary()Actually creates the binary representation.protected BinaryFileArtifact. createBinary()static IFileSystemArtifactArtifactFactory. createFileSystemArtifact(java.io.File real)Creates an artifact instance.(package private) static IFileSystemArtifactArtifactFactory. createFileSystemArtifact(java.io.File real, ArtifactModel model)Creates an artifact instance.protected abstract TextCompositeArtifact. createText()Actually creates the text representation.protected TextFileArtifact. createText()abstract voidComponentArtifact. deactivate()Deactivates this component.voidFileArtifact. delete()(package private) static voidFileUtils. delete(java.io.File file)Deletes the given file and handles the exceptions / return values in the sense of VIL.voidFolderArtifact. delete()voidIArtifact. delete()Deletes this artifact.voidPath. delete()Deletes the underlying artifact.voidPath. deleteAll()Deletes all files in the given path.BinaryCompositeArtifact. getBinary()BinaryFolderArtifact. getBinary()BinaryIArtifact. getBinary()Returns the binary representation of the contents of this artifact for manipulation.java.lang.StringFileArtifact. getName()Returns the simple name of this artifact.java.lang.StringFolderArtifact. getName()java.lang.StringIArtifact. getName()Returns the name of this artifact.java.lang.StringJavaPath. getName()java.lang.StringPath. getName()Returns the simple name of this artifact.PathIFileSystemArtifact. getPath()Returns the path artifact representing the path to this file system artifact.java.lang.StringFileArtifact. getPlainName()Returns the plain name without (possible) extension.TextCompositeArtifact. getText()TextFolderArtifact. getText()TextIArtifact. getText()Returns the textual representation of the contents of this artifact for manipulation.voidPath. mkdir()Creates the directories pointing to path.Set<IFileSystemArtifact>FileArtifact. move(IFileSystemArtifact target)(package private) static java.util.List<IFileSystemArtifact>FileUtils. move(IFileSystemArtifact source, IFileSystemArtifact target)Movessourcetotarget.Set<IFileSystemArtifact>FolderArtifact. move(IFileSystemArtifact target)Set<IFileSystemArtifact>IFileSystemArtifact. move(IFileSystemArtifact target)Move this artifact.Set<IFileSystemArtifact>Path. move(IFileSystemArtifact target)Moves the artifacts denoted by this path totarget.voidFileArtifact. rename(java.lang.String name)(package private) static voidFileUtils. rename(java.io.File file, java.io.File newFile)Renames the given file and handles the exceptions / return values in the sense of VIL.(package private) static voidFileUtils. rename(java.io.File file, java.lang.String name)Renames the given file and handles the exceptions / return values in the sense of VIL.voidFolderArtifact. rename(java.lang.String name)voidIArtifact. rename(java.lang.String name)Renames this artifact.PathPath. rename(java.lang.String name)Renames the underlying artifact and returns a new path if necessary.voidArtifactModel. scanAll(ProgressObserver observer)Scans the entire environment starting atroot.abstract Set<? extends FragmentArtifact>CompositeFragmentArtifact. selectAll()Returns all artifacts this composite artifact is composed of.Set<FileArtifact>FolderArtifact. selectAll()Returns the contained file system artifacts, i.e., folder and file artifacts.voidFileArtifact. setExecutable(boolean ownerOnly)(package private) static voidFileSystemArtifactOperations. setExecutable(IFileSystemArtifact art, boolean ownerOnly)Enables the (operation system specific) execution flag for the given artifact.voidFolderArtifact. setExecutable(boolean ownerOnly)voidIFileSystemArtifact. setExecutable(boolean ownerOnly)Enables the (operation system specific) execution flag for this artifact.voidFileArtifact. store()voidFolderArtifact. store()voidFragmentArtifact. store()voidIArtifact. store()Stores this artifact in case of changes.PathFileArtifact. substituteExtension(java.lang.String extension)Substitutes the extension.java.lang.StringPath. toAbsoluteOSPath()Turns this path into an absolute native OS path.JavaPathJavaPath. toJavaPath()JavaPathPath. toJavaPath()Turns this path into a java package name.JavaPathPath. toJavaPath(java.lang.String prefixRegEx)Turns this path into a java package name.voidArtifactChangedListenerQueue. triggerArtifactChanged(java.lang.Object cause)Triggers theIArtifactChangedListener#artifactChanged()method on all registered listeners.abstract voidComponentArtifact. update(ComponentArtifact artifact)Updates this component.voidCompositeArtifact. update()voidFolderArtifact. update()voidIArtifact. update()Called if the underlying real artifact may have been updated, e.g., by overriding it by another file.Constructors in net.ssehub.easy.instantiation.core.model.artifactModel that throw VilException Constructor Description JavaPath(Path path)Creates a new java path from a given path.JavaPath(Path path, java.lang.String prefixRegEx)Creates a new java path from a given path. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.artifactModel.representation
Methods in net.ssehub.easy.instantiation.core.model.artifactModel.representation that throw VilException Modifier and Type Method Description TextText. append(java.lang.String text)Appends the given text.TextText. append(Text text)Appends the textual representation of another artifact.voidBinary. artifactChanged(java.lang.Object cause)voidText. artifactChanged(java.lang.Object cause)TextText. insert(int index, java.lang.String insertion)Inserts the givenstringat the givenindex.TextText. insert(int index, Text insertion)Inserts the textual representation of another artifact at the givenindex.booleanText. matches(java.lang.String regex)Returns whether this textual representation matches the givenregex.TextText. prepend(java.lang.String text)Prepends the given text.TextText. prepend(Text text)Prepends the textual representation of another artifact.TextText. remove(java.lang.String part)Removes the the first occurrence of the given string in this.TextText. remove(Text part)Removes the the first occurrence of the given textual representation of another artifact in this.TextText. removeAll(java.lang.String part)Removes all occurrences of the given string in this.TextText. removeAll(Text part)Removes all occurrences of the given textual representation of another artifact in this.TextText. replace(java.lang.String search, java.lang.String replacement)Replaces all occurrences ofsearchbyreplacement.TextText. substitute(java.lang.String regex, java.lang.String replacement)Substitutes all parts matching the regular expressionregexbyreplacement.voidAbstractArtifactRepresentation. triggerArtifactChanged()Triggers all registerered listeners inAbstractArtifactRepresentation.getListeners().voidBinary. updateContents()Updates the text contents.voidIArtifactRepresentation. updateContents()Updates the contents.voidText. updateContents()Constructors in net.ssehub.easy.instantiation.core.model.artifactModel.representation that throw VilException Constructor Description Binary(java.io.File file, boolean modifiable)Creates a new binary representation fromfile.Binary(java.lang.String text, boolean modifiable)Creates a new binary representation fromfile.Text(java.io.File file, boolean modifiable)Creates a new textual representation fromfile.Text(java.lang.String text, boolean modifiable)Creates a new textual representation fromtext. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.artifactModel.variability
Methods in net.ssehub.easy.instantiation.core.model.artifactModel.variability that throw VilException Modifier and Type Method Description voidAlternativeFragment. delete()voidMultipleSelectionFragment. delete()voidOptionalityFragment. delete()BinaryAlternativeFragment. getBinary()BinaryMultipleSelectionFragment. getBinary()BinaryOptionalityFragment. getBinary()java.lang.StringAlternativeFragment. getName()java.lang.StringMultipleSelectionFragment. getName()java.lang.StringOptionalityFragment. getName()TextAlternativeFragment. getText()TextMultipleSelectionFragment. getText()TextOptionalityFragment. getText()voidAlternativeFragment. rename(java.lang.String name)voidMultipleSelectionFragment. rename(java.lang.String name)voidOptionalityFragment. rename(java.lang.String name)voidAlternativeFragment. update()voidMultipleSelectionFragment. update()voidOptionalityFragment. update() -
Uses of VilException in net.ssehub.easy.instantiation.core.model.artifactModel.xml
Methods in net.ssehub.easy.instantiation.core.model.artifactModel.xml that throw VilException Modifier and Type Method Description (package private) XmlAttributeXmlElement. addAttribute(java.lang.String name, java.lang.String value)Adds an attribute to this XmlElement.(package private) XmlAttributeXmlElement. addAttribute(java.lang.String name, java.lang.String value, boolean forceOverwrite)Adds an attribute to this XmlElement.(package private) voidXmlElement. addChild(XmlNode child)Adds a child XmlElement to this XmlElement.(package private) XmlElementXmlElement. appendChild(XmlElement child, org.w3c.dom.Node childNode)Appends a new child.voidXmlFileArtifact. artifactChanged(java.lang.Object cause)voidXmlNode. artifactChanged(java.lang.Object cause)Sequence<XmlAttribute>XmlElement. attributes()Returns all attributes.static XmlElementXmlElement. buildAttribute(XmlElement parent, java.lang.String name, java.lang.String value)Creates a new Attribute for given XmlElement, with given name and value, but returns the parent XML element.static XmlElementXmlElement. buildAttribute(XmlElement parent, java.lang.String name, java.lang.String value, boolean forceOverwrite)Creates a new Attribute for given XmlElement, with given name and value, but returns the parent.static XmlElementXmlElement. buildElement(XmlElement parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of given parent, with given name, but returns the parent element.protected voidXmlNode. checkRoot()Checks if this object represents the Root element.private voidXmlAttribute. checkValidity()Checks the validity of this object.protected voidXmlNode. checkValidity()Checks the validity of this object.static FileArtifactXmlFileArtifact. convert(java.lang.String val)Conversion operation.static XmlAttributeXmlAttribute. create(XmlElement parent, java.lang.String name, java.lang.String value)Creates a new Attribute for given XmlElement, with given name and value.static XmlAttributeXmlAttribute. create(XmlElement parent, java.lang.String name, java.lang.String value, boolean forceOverwrite)Creates a new Attribute for given XmlElement, with given name and value.static XmlCommentXmlComment. create(XmlElement parent, java.lang.String contents)Creates a new XmlComment as child of given parent.static XmlElementXmlElement. create(XmlElement parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of given parent, with given name.static XmlElementXmlElement. create(XmlFileArtifact parent, java.lang.String name, java.lang.String contents)Creates a new XmlElement as child of the root element of the given file artifact, with given name.static FileArtifactXmlFileArtifact. create()Creates a temporary file artifact.FileArtifactDefaultXmlFileArtifactCreator. createArtifactInstance(java.lang.Object real, ArtifactModel model)XmlElementXmlFileArtifact. createRootElement(java.lang.String name)Creates a root element if it does not exist.voidXmlAttribute. delete()voidXmlFileArtifact. delete()voidXmlNode. delete()Sequence<XmlElement>XmlElement. elements()Returns all nested elements in sequence.voidXmlFileArtifact. format()Enforces re-loading, formatting and writing of this artifact.XmlAttributeXmlElement. getAttribute(java.lang.String name)Returns a specific attribute.BinaryXmlAttribute. getBinary()BinaryXmlNode. getBinary()TextXmlNode. getCdata()Returns the cdata of the element.java.lang.StringXmlAttribute. getName()java.lang.StringXmlComment. getName()java.lang.StringXmlElement. getName()TextXmlAttribute. getText()TextXmlNode. getText()java.lang.StringXmlAttribute. getValue()Returns the value of this attribute.private voidXmlFileArtifact. initialize()(Re)initializes this artifact.private voidXmlElement. insertElement(XmlNode elem, XmlNode previous)Inserts an XmlElement at a certain position.private voidXmlFileArtifact. load(java.io.File file)Loads and builds the jdom-tree.Set<XmlNode>XmlElement. nodes()Returns all nested nodes in sequence.private voidXmlFileArtifact. readDtd()Checks the base file for embedded DTDs.voidXmlAttribute. rename(java.lang.String name)voidXmlComment. rename(java.lang.String name)voidXmlElement. rename(java.lang.String name)(package private) voidXmlElement. renameAttribute(XmlAttribute attribute, java.lang.String name)Renames an Attribute (internal called from XmlAttribute).Set<? extends FragmentArtifact>XmlComment. selectAll()Set<? extends FragmentArtifact>XmlElement. selectAll()Set<XmlAttribute>XmlElement. selectAttributeByRegex(java.lang.String regEx)Returns a specific attribute.Set<XmlElement>IXmlContainer. selectByName(java.lang.String name)Returns a Set with all XmlElements matching name.Set<XmlElement>XmlElement. selectByName(java.lang.String name)Set<XmlElement>XmlElement. selectByName(java.lang.String name, boolean caseSensitive)Returns a Set with all XmlElements matching name.Set<XmlElement>XmlFileArtifact. selectByName(java.lang.String name)Set<XmlElement>IXmlContainer. selectByPath(java.lang.String path)Selects XML elements according to a given path.(package private) static Set<XmlElement>PathUtils. selectByPath(IXmlContainer container, java.lang.String path)Selects XML elements fromcontaineraccording to a given path.Set<XmlElement>XmlElement. selectByPath(java.lang.String path)Set<XmlElement>XmlFileArtifact. selectByPath(java.lang.String path)Set<XmlElement>XmlElement. selectByRegEx(java.lang.String regEx)Returns a set of all XmlElements specified by regEx.Set<XmlElement>XmlFileArtifact. selectByRegEx(java.lang.String regEx)Returns a set of all XmlElements that start with prefix and end with suffix.Set<XmlElement>IXmlContainer. selectByXPath(java.lang.String path)Selects XML elements according to a given XPath.static Set<XmlElement>PathUtils. selectByXPath(java.lang.String path, java.lang.Object root, IXmlContainer container)Selects XML elements based on a given XPath expression.Set<XmlElement>XmlElement. selectByXPath(java.lang.String path)Set<XmlElement>XmlFileArtifact. selectByXPath(java.lang.String path)Set<? extends XmlElement>XmlFileArtifact. selectChilds()Returns a set of all childs of the root element.voidXmlElement. setAttribute(java.lang.String name, java.lang.String value)Directly modifies an attribute.voidXmlNode. setCdata(java.lang.String cdata)Sets the cdata of the element.voidXmlAttribute. setValue(java.lang.String value)Changes the value of this attribute.voidXmlFileArtifact. store()voidXmlAttribute. update()voidXmlFileArtifact. update()voidXmlNode. update()private voidXmlFileArtifact. writeToFile()Writes the Dom tree back to the file.Constructors in net.ssehub.easy.instantiation.core.model.artifactModel.xml that throw VilException Constructor Description XmlFileArtifact(java.io.File file, ArtifactModel model)Creates a new XML file artifact. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.buildlangModel
Methods in net.ssehub.easy.instantiation.core.model.buildlangModel that throw VilException Modifier and Type Method Description java.lang.ObjectAlternativeExpression. accept(IExpressionVisitor visitor)java.lang.ObjectCompound. accept(IVisitor visitor)java.lang.ObjectExpressionStatement. accept(IVisitor visitor)java.lang.ObjectForStatement. accept(IVisitor visitor)java.lang.ObjectIBuildlangElement. accept(IVisitor visitor)Accepts the visitor for visiting.java.lang.ObjectInstantiateExpression. accept(IExpressionVisitor visitor)java.lang.ObjectJoinExpression. accept(IExpressionVisitor visitor)java.lang.ObjectJoinVariableDeclaration. accept(IVisitor visitor)java.lang.ObjectLoadProperties. accept(IVisitor visitor)java.lang.ObjectMapExpression. accept(IExpressionVisitor visitor)java.lang.ObjectNestedRuleBlock. accept(IVisitor visitor)java.lang.ObjectRule. accept(IVisitor visitor)java.lang.ObjectRuleCallExpression. accept(IExpressionVisitor visitor)java.lang.ObjectScript. accept(IVisitor visitor)java.lang.ObjectStrategyCallExpression. accept(IExpressionVisitor visitor)java.lang.ObjectTypeDef. accept(IVisitor visitor)java.lang.ObjectVariableDeclaration. accept(IVisitor visitor)java.lang.ObjectVtlRule. accept(IVisitor visitor)java.lang.ObjectWhileStatement. accept(IVisitor visitor)voidIRuleBlock. addBodyElement(int index, IRuleElement element)Changes the given rule block.voidSimpleStatementBlock. addBodyElement(int index, IRuleElement element)IArtifactOtherProjects. any(ExpressionEvaluator evaluator)abstract voidAbstractRule. appendCallTo(AbstractRule target, boolean qualifiedCall)Appends a call totargetto the rule body.voidRule. appendCallTo(AbstractRule target, boolean qualifiedCall)voidVtlRule. appendCallTo(AbstractRule target, boolean qualifiedCall)Appends a call totargetto the rule body.java.lang.ObjectOtherProjects. apply(ExpressionEvaluator evaluator)protected java.lang.ObjectBuildlangExecution. applyRuleBody(Rule rule, java.lang.Object[] rhsValues, RuleExecutionContext context)Determines pre- and postcondition matches and, if enabled, assigns RHS/LHS variables and executes the rule body.protected voidBuildlangExecution. assignModelParameter(IResolvableModel<VariableDeclaration,Script> targetModel, IResolvableModel<VariableDeclaration,Script> srcModel)java.lang.ObjectExecutableRules. buildContributing(AbstractRuleMatchExpression expression, BuildlangExecution visitor)Aims at building contributing match expressions if the given expression fails.private voidBuildlangExecution. checkConstants(Script script)Checks the constant values for proper initialization.protected voidBuildlangExecution. checkPostconditions(RuleExecutionContext context)Checks the postconditions of therule.protected voidBuildlangExecution. cleanupRuleExecution(RuleExecutionContext context)Cleans up the rule execution.Set<?>OtherProjects. closure(ExpressionEvaluator evaluator)Set<?>OtherProjects. collect(ExpressionEvaluator evaluator)Set<?>OtherProjects. collectNested(ExpressionEvaluator evaluator)protected RuleCallExpressionResolver. createCallExpression(Script model, boolean isSuper, java.lang.String name, CallArgument... arguments)protected ModelCallExpression<VariableDeclaration,Script,AbstractRule>BuildlangExecution. createModelCall(Script model, AbstractRule operation, CallArgument... arguments)protected TypeDescriptor<?>StrategyCallExpression. determineOperand()private RuleExecutionResult.StatusBuildlangExecution. determineRhsLhsMatching(Rule rule, java.lang.Object[] rhsValues)Checks the RHS/LHS matching.AbstractRuleScript. determineStartRule(java.lang.String startRuleName)Determines the start rule for script involving imported scripts.private Collection<java.lang.Object>BuildlangExecution. evaluate(JoinVariableDeclaration var)Evaluates the condition for a variable.private java.lang.ObjectBuildlangExecution. evaluateExternalValue(VariableDeclaration var, java.lang.String value)Evaluates an external value for a givenvar.private voidBuildlangExecution. evaluateJoinCombination(JoinExpression join, java.util.List<IVilType> simpleResult, java.util.List<IVilType[]> complexResult)Evaluates a join combination.protected java.lang.ObjectBuildlangExecution. executeDefault(Script script)Executes the givenscriptvia its default entry point.private java.lang.ObjectBuildlangExecution. executeLoop(IEnumeratingLoop loop, boolean parallelize, java.util.List<java.lang.Object> result)Executes a loop.protected java.lang.ObjectBuildlangExecution. executeModelCall(AbstractRule rule)java.lang.ObjectBuildlangExecution. executeRuleBody(IRuleBlock ruleBody, RuleExecutionContext context)private java.lang.ObjectBuildlangExecution. executeScript(Script script, RuleCallExpression start)Executes the given script starting atstart.java.lang.BooleanOtherProjects. exists(ExpressionEvaluator evaluator)Set<?>OtherProjects. flatten()java.lang.BooleanOtherProjects. forAll(ExpressionEvaluator evaluator)private static TypeDescriptor<?>JoinVariableDeclaration. getJoinVariableType(Expression expr)Determine the type of the join variable from the initializing expression.protected voidBuildlangExecution. handleParameterInSequence(IResolvableModel<VariableDeclaration,Script> model, java.util.Map<java.lang.String,VariableDeclaration> varMap)TypeDescriptor<?>AlternativeExpression. inferType()TypeDescriptor<?>InstantiateExpression. inferType()TypeDescriptor<?>JoinExpression. inferType()TypeDescriptor<?>MapExpression. inferType()TypeDescriptor<?>StrategyCallExpression. inferType()private TypeDescriptor<?>StrategyCallExpression. inferTypeExecute()Resolves the expression for system call execution.protected voidBuildlangExecution. initializeImplicitVariables(IResolvableModel<VariableDeclaration,Script> model)java.lang.ObjectRule. invoke(java.lang.Object... args)java.lang.ObjectVtlRule. invoke(java.lang.Object... args)booleanOtherProjects. isAcyclic(ExpressionEvaluator evaluator)java.lang.BooleanOtherProjects. isUnique(ExpressionEvaluator evaluator)private java.lang.ObjectBuildlangExecution. join(JoinExpression join)Performs the join operation.private voidBuildlangExecution. loadProperties(java.io.File file, java.util.Properties prop, java.lang.String os)Loads properties fromfileintoproppossibly overriding existing properties.IArtifactOtherProjects. one(ExpressionEvaluator evaluator)protected booleanBuildlangExecution. prepareExecution(RuleExecutionContext context)Evaluates the rule header and returns whether the rule is applicable.protected voidBuildlangWriter. printBlock(IRuleBlock block)Prints an entire block including braces.protected voidBuildlangWriter. printBlockContents(IRuleBlock block)Prints the actual block contents.private voidBuildlangWriter. printImports(Script script)Prints the imports ofscript.protected voidBuildlangWriter. printRuleConditions(Rule rule, Rule.Side side)Prints the rule conditions on the specified side.protected voidBuildlangWriter. printScript(Script script)Prints an entire script.protected voidBuildlangWriter. printScriptContents(Script script)Prints the script contents.protected voidBuildlangWriter. printScriptContentsBeforeRules(Script script)Prints the script contents before rules.protected voidBuildlangWriter. printScriptHeader(Script script)Prints the header ofscript.private voidBuildlangWriter. printVtlRestrictions(Script script)Prints the VTL restrictions.protected voidBuildlangExecution. processProperties(Script script, java.io.File base)Processes theLoadProperties.private voidBuildlangExecution. registerParameter(AbstractRule rule)Registers the parameter ofrule.voidRuleDescriptor. registerVariables(Resolver resolver)Registers the LHS/RHS variables inresolverif applicable.private voidRuleDescriptor. registerVariables(Rule.Side side, Resolver res, java.util.Map<java.lang.String,java.lang.Integer> names)Registers the variables inresolverif applicable.Set<IArtifact>OtherProjects. reject(ExpressionEvaluator evaluator)(package private) voidBuildlangExecution. resolveMatches(AbstractRule rule, Rule.Side side)Resolves rule condition matches.private ScriptBuildlangExecution. resolveScript(Project project, IVersionRestriction restrictions)Resolves the script for an instantiation expression.protected booleanBuildlangExecution. ruleElementFailed(IRuleElement elt, RuleExecutionContext context)Is called wheneltfailed in execution, e.g., to put further information about failing into the rule executioncontext.Set<IArtifact>OtherProjects. select(ExpressionEvaluator evaluator)private voidBuildlangExecution. setJoinVariableValue(JoinExpression join, int index, java.lang.Object value)Sets the specified join variable.protected voidBuildlangExecution. setModelArgument(VariableDeclaration param, java.lang.Object value)private voidBuildlangExecution. setModelArgument(IResolvableModel<VariableDeclaration,Script> srcModel, int index, java.lang.String name)Sets a model argument.Collection<IArtifact>OtherProjects. sortedBy(ExpressionEvaluator evaluator)java.lang.ObjectExpressionCopyVisitor. visitAdvice(Advice advice)java.lang.ObjectExpressionVersionRestrictionValidator. visitAdvice(Advice advice)java.lang.ObjectVariableFinder. visitAdvice(Advice advice)java.lang.ObjectBuildlangExecution. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectBuildlangWriter. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectExpressionCopyVisitor. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectExpressionVersionRestrictionValidator. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectIVisitor. visitAlternativeExpression(AlternativeExpression alt)Visits an alternative.java.lang.ObjectVariableFinder. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectBuildlangExecution. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectBuildlangWriter. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectExpressionCopyVisitor. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectExpressionVersionRestrictionValidator. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectVariableFinder. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectBuildlangExecution. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectBuildlangWriter. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectExpressionCopyVisitor. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectExpressionVersionRestrictionValidator. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectVariableFinder. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectVariableFinder. visitCallExpression(CallExpression call)java.lang.ObjectBuildlangExecution. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectBuildlangWriter. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectExpressionCopyVisitor. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectExpressionVersionRestrictionValidator. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectVariableFinder. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectVariableFinder. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectBuildlangExecution. visitCompound(Compound compound)java.lang.ObjectExpressionCopyVisitor. visitCompound(Compound compound)java.lang.ObjectExpressionVersionRestrictionValidator. visitCompound(Compound compound)java.lang.ObjectVariableFinder. visitCompound(Compound compound)java.lang.ObjectBuildlangExecution. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectBuildlangWriter. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectExpressionCopyVisitor. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectExpressionVersionRestrictionValidator. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectVariableFinder. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectBuildlangExecution. visitConstantExpression(ConstantExpression cst)java.lang.ObjectVariableFinder. visitConstantExpression(ConstantExpression cst)java.lang.ObjectVariableFinder. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectVariableFinder. visitExpression(Expression ex)java.lang.ObjectVariableFinder. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectExpressionCopyVisitor. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectExpressionVersionRestrictionValidator. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectVariableFinder. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectVariableFinder. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectBuildlangExecution. visitForStatement(ForStatement stmt)java.lang.ObjectBuildlangWriter. visitForStatement(ForStatement stmt)java.lang.ObjectExpressionCopyVisitor. visitForStatement(ForStatement stmt)java.lang.ObjectExpressionVersionRestrictionValidator. visitForStatement(ForStatement stmt)java.lang.ObjectIVisitor. visitForStatement(ForStatement stmt)Visits a for statement.java.lang.ObjectVariableFinder. visitForStatement(ForStatement stmt)java.lang.ObjectBuildlangExecution. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectBuildlangWriter. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectExpressionCopyVisitor. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectExpressionVersionRestrictionValidator. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectIVisitor. visitInstantiateExpression(InstantiateExpression inst)Visits an instantiate expression.java.lang.ObjectVariableFinder. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectBuildlangExecution. visitJoinExpression(JoinExpression ex)java.lang.ObjectBuildlangWriter. visitJoinExpression(JoinExpression ex)java.lang.ObjectExpressionCopyVisitor. visitJoinExpression(JoinExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitJoinExpression(JoinExpression ex)java.lang.ObjectIVisitor. visitJoinExpression(JoinExpression ex)Visits a join expression.java.lang.ObjectVariableFinder. visitJoinExpression(JoinExpression ex)java.lang.ObjectBuildlangExecution. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectBuildlangWriter. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectExpressionCopyVisitor. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectExpressionVersionRestrictionValidator. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectIVisitor. visitJoinVariableDeclaration(JoinVariableDeclaration decl)Visits a join variable declaration.java.lang.ObjectVariableFinder. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectBuildlangExecution. visitLoadProperties(LoadProperties properties)java.lang.ObjectBuildlangWriter. visitLoadProperties(LoadProperties properties)java.lang.ObjectExpressionCopyVisitor. visitLoadProperties(LoadProperties properties)java.lang.ObjectExpressionVersionRestrictionValidator. visitLoadProperties(LoadProperties properties)java.lang.ObjectIVisitor. visitLoadProperties(LoadProperties properties)Visits a load properties directive.java.lang.ObjectVariableFinder. visitLoadProperties(LoadProperties properties)private java.lang.ObjectBuildlangWriter. visitLoop(IEnumeratingLoop loop)Visits a loop.java.lang.ObjectBuildlangExecution. visitMapExpression(MapExpression map)java.lang.ObjectBuildlangWriter. visitMapExpression(MapExpression map)java.lang.ObjectExpressionCopyVisitor. visitMapExpression(MapExpression map)java.lang.ObjectExpressionVersionRestrictionValidator. visitMapExpression(MapExpression map)java.lang.ObjectIVisitor. visitMapExpression(MapExpression map)Visits a map expression.java.lang.ObjectVariableFinder. visitMapExpression(MapExpression map)java.lang.ObjectVariableFinder. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectVariableFinder. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectBuildlangExecution. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectBuildlangWriter. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectExpressionCopyVisitor. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectExpressionVersionRestrictionValidator. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectVariableFinder. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectBuildlangExecution. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectVariableFinder. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectVariableFinder. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectBuildlangExecution. visitRule(Rule rule)java.lang.ObjectBuildlangExecution. visitRule(VtlRule rule)java.lang.ObjectBuildlangWriter. visitRule(Rule rule)java.lang.ObjectBuildlangWriter. visitRule(VtlRule rule)java.lang.ObjectExpressionCopyVisitor. visitRule(Rule rule)java.lang.ObjectExpressionCopyVisitor. visitRule(VtlRule rule)java.lang.ObjectExpressionVersionRestrictionValidator. visitRule(Rule rule)java.lang.ObjectExpressionVersionRestrictionValidator. visitRule(VtlRule rule)java.lang.ObjectIVisitor. visitRule(Rule rule)Visits a rule.java.lang.ObjectIVisitor. visitRule(VtlRule rule)Visits a VTL mapping rule.java.lang.ObjectVariableFinder. visitRule(Rule rule)java.lang.ObjectVariableFinder. visitRule(VtlRule rule)private voidVariableFinder. visitRuleBlock(IRuleBlock block)Visits and searches in a given rule block.java.lang.ObjectBuildlangExecution. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectBuildlangWriter. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectExpressionCopyVisitor. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectIVisitor. visitRuleCallExpression(RuleCallExpression ex)Visits a rule call expression.java.lang.ObjectVariableFinder. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectBuildlangExecution. visitScript(Script script)java.lang.ObjectBuildlangWriter. visitScript(Script script)java.lang.ObjectExpressionCopyVisitor. visitScript(Script script)java.lang.ObjectExpressionVersionRestrictionValidator. visitScript(Script script)java.lang.ObjectIVisitor. visitScript(Script script)Visits a script.java.lang.ObjectVariableFinder. visitScript(Script script)java.lang.ObjectBuildlangExecution. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectBuildlangWriter. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectExpressionCopyVisitor. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectExpressionVersionRestrictionValidator. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectIVisitor. visitStrategyCallExpression(StrategyCallExpression call)Visits a strategy call node.java.lang.ObjectVariableFinder. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectBuildlangExecution. visitStrategyCallExpressionImpl(StrategyCallExpression call)Implements the strategy call execution of an executable call.java.lang.ObjectVariableFinder. visitStringExpression(StringExpression ex)java.lang.ObjectBuildlangExecution. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectBuildlangWriter. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectExpressionCopyVisitor. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectExpressionVersionRestrictionValidator. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectVariableFinder. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectBuildlangExecution. visitTypedef(Typedef typedef)java.lang.ObjectExpressionCopyVisitor. visitTypedef(Typedef typedef)java.lang.ObjectExpressionVersionRestrictionValidator. visitTypedef(Typedef typedef)java.lang.ObjectVariableFinder. visitTypedef(Typedef typedef)java.lang.ObjectVariableFinder. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectExpressionCopyVisitor. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectExpressionVersionRestrictionValidator. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectVariableFinder. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectVariableFinder. visitVariableExpression(VariableExpression cst)java.lang.ObjectVariableFinder. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectVariableFinder. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectBuildlangExecution. visitWhileStatement(WhileStatement stmt)java.lang.ObjectBuildlangWriter. visitWhileStatement(WhileStatement stmt)java.lang.ObjectExpressionCopyVisitor. visitWhileStatement(WhileStatement stmt)java.lang.ObjectExpressionVersionRestrictionValidator. visitWhileStatement(WhileStatement stmt)java.lang.ObjectIVisitor. visitWhileStatement(WhileStatement stmt)Visits a while statement.java.lang.ObjectVariableFinder. visitWhileStatement(WhileStatement stmt)Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel that throw VilException Constructor Description AlternativeExpression(Expression condition, IRuleBlock ifPart, IRuleBlock elsePart)Creates an alternative expression.ForStatement(VariableDeclaration[] variables, Expression expr, IRuleElement[] body, TypeDescriptor<?>[] givenTypes, boolean colon)Creates a for statement.InstantiateExpression(java.lang.String name, CallArgument... arguments)Creates an instantiate expression.InstantiateExpression(VariableDeclaration project, IVersionRestriction restriction, java.lang.String name, CallArgument... arguments)Creates an instantiate expression.JoinExpression(JoinVariableDeclaration[] joinVariables, Expression condition)Creates a new join expression.JoinVariableDeclaration(java.lang.String name, Expression expr, boolean exclude)Creates a new variable declaration.MapExpression(VariableDeclaration[] variables, Expression expr, IRuleElement[] body, TypeDescriptor<?>[] givenTypes, boolean colon)Creates a map statement.RuleCallExpression(Script script, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new rule call expression.RuleCallExpression(Script script, AbstractRule rule, CallArgument... arguments)Creates a new rule call expression for a known operation.StrategyCallExpression()Constructor for serialization.StrategyCallExpression(java.lang.Object parent, java.lang.String name, CallArgument... arguments)Creates a new instantator strategy call.StrategyCallExpression(java.lang.Object parent, java.lang.String name, Expression... arguments)Creates a new instantiator strategy call.StrategyCallExpression(VariableDeclaration nameVar, CallArgument... arguments)Creates a new system execution strategy call.StrategyCallExpression(VariableDeclaration nameVar, Expression... arguments)Creates a new system execution strategy call.TypeDef(java.lang.String name, TypeDescriptor<?> type, Script parent)Creates a typedef.WhileStatement(Expression condition, IRuleElement[] body)Creates a while statement. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.buildlangModel.execOperand
Methods in net.ssehub.easy.instantiation.core.model.buildlangModel.execOperand that throw VilException Modifier and Type Method Description java.lang.StringFileArtifactExecutableOperandType. convert(java.lang.Object object)java.lang.StringFileSystemArtifactExecutableOperandType. convert(java.lang.Object object)java.lang.StringIExecutableOperandType. convert(java.lang.Object object)Converts an evaluated object into a string representing the name of the program to execute. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.buildlangModel.matchLoop
Methods in net.ssehub.easy.instantiation.core.model.buildlangModel.matchLoop that throw VilException Modifier and Type Method Description abstract voidApplicator. apply(java.lang.Object expectedLhsValue, java.lang.Object rhsValue, int index)Apply this applicator for one combination which requires building.voidBuildCollectionApplicator. apply(java.lang.Object expectedLhsValue, java.lang.Object rhsValue, int index)voidBuildEnablingApplicator. apply(java.lang.Object expectedLhsValue, java.lang.Object rhsValue, int index)voidBuildExecutionApplicator. apply(java.lang.Object expectedLhsValue, java.lang.Object rhsValue, int index)protected voidApplicator. conditionLoopFinished()Notifies when the condition loop terminated.voidBuildCollectionApplicator. conditionLoopFinished()Sets the results of the MATCH-variables inenvironment.java.lang.ObjectRuleBodyExecutor. executeRuleBody(IRuleBlock ruleBody, RuleExecutionContext context)Executes a rule body.static voidLhsRhsMatchLoop. matchLoop(Rule rule, java.lang.Object[] rhsValues, Applicator applicator, ITracer tracer)Loops over the LHS/RHS matches and calls theapplicatorfor each match.protected voidApplicator. matchLoopFinished()Notifies when the match loop terminated.voidBuildEnablingApplicator. matchLoopFinished() -
Uses of VilException in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch
Methods in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch that throw VilException Modifier and Type Method Description protected abstract java.lang.ObjectAbstractRuleMatchExpression. accept(IMatchVisitor visitor)Accepts the given visitor for visiting.java.lang.ObjectAbstractRuleMatchExpression. accept(IExpressionVisitor visitor)protected java.lang.ObjectArtifactMatchExpression. accept(IMatchVisitor visitor)protected java.lang.ObjectBooleanMatchExpression. accept(IMatchVisitor visitor)protected java.lang.ObjectCollectionMatchExpression. accept(IMatchVisitor visitor)protected java.lang.ObjectCompoundMatchExpression. accept(IMatchVisitor visitor)protected java.lang.ObjectPathMatchExpression. accept(IMatchVisitor visitor)protected java.lang.ObjectStringMatchExpression. accept(IMatchVisitor visitor)AbstractRuleMatchExpressionMatchFactory. create(Expression expr)Creates a rule match expression fromexpr.java.lang.ObjectAbstractPathRuleMatchExpression. determineExpected(AbstractRuleMatchExpression rhsExpr, java.lang.Object rhsValue)abstract java.lang.ObjectAbstractRuleMatchExpression. determineExpected(AbstractRuleMatchExpression rhsExpr, java.lang.Object rhsValue)Determines the expected value on the left side (represented by this object) based on the actual value for the corresponding right side.java.lang.ObjectBooleanMatchExpression. determineExpected(AbstractRuleMatchExpression rhsExpr, java.lang.Object rhsValue)protected static TypeDescriptor<? extends Collection<? extends IArtifact>>AbstractRuleMatchExpression. ensureType(TypeDescriptor<?> type)Ensures a collection type fortype.abstract Collection<?>AbstractRuleMatchExpression. evaluate(IExpressionVisitor evaluator)Evaluates this expression.Collection<?>ArtifactMatchExpression. evaluate(IExpressionVisitor evaluator)Collection<?>BooleanMatchExpression. evaluate(IExpressionVisitor evaluator)Collection<?>CollectionMatchExpression. evaluate(IExpressionVisitor evaluator)Collection<?>CompoundMatchExpression. evaluate(IExpressionVisitor evaluator)Collection<?>PathMatchExpression. evaluate(IExpressionVisitor evaluator)Collection<?>StringMatchExpression. evaluate(IExpressionVisitor evaluator)TypeDescriptor<? extends Collection<? extends IArtifact>>AbstractRuleMatchExpression. inferType()TypeDescriptor<? extends Collection<? extends IArtifact>>CollectionMatchExpression. inferType()private java.lang.StringMatchResolver. resolve(java.lang.String string)Resolves the given string.java.lang.ObjectIMatchVisitor. visitArtifactMatchExpression(ArtifactMatchExpression expression)Visits an artifact match expression.java.lang.ObjectMatchResolver. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectIMatchVisitor. visitBooleanMatchExpression(BooleanMatchExpression expression)Visits a boolean match expression.java.lang.ObjectMatchResolver. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectMatchResolver. visitCallExpression(CallExpression call)java.lang.ObjectIMatchVisitor. visitCollectionMatchExpression(CollectionMatchExpression expression)Visits a collection match expression.java.lang.ObjectMatchResolver. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectMatchResolver. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectIMatchVisitor. visitCompoundMatchExpression(CompoundMatchExpression expression)Visits a compound match expression.java.lang.ObjectMatchResolver. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectMatchResolver. visitConstantExpression(ConstantExpression cst)java.lang.ObjectMatchResolver. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectMatchResolver. visitExpression(Expression ex)java.lang.ObjectMatchResolver. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectMatchResolver. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectMatchResolver. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectMatchResolver. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectIMatchVisitor. visitPathMatchExpression(PathMatchExpression expression)Visits a path match expression.java.lang.ObjectMatchResolver. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectMatchResolver. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectMatchResolver. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectMatchResolver. visitStringExpression(StringExpression ex)java.lang.ObjectIMatchVisitor. visitStringMatchExpression(StringMatchExpression expression)Visits a string match expression.java.lang.ObjectMatchResolver. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectMatchResolver. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectMatchResolver. visitVariableExpression(VariableExpression cst)java.lang.ObjectMatchResolver. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectMatchResolver. visitVilTypeExpression(VilTypeExpression typeExpression)Constructors in net.ssehub.easy.instantiation.core.model.buildlangModel.ruleMatch that throw VilException Constructor Description ArtifactMatchExpression(Expression expression)Creates a new collection match expression.BooleanMatchExpression(Expression expression)Creates a new Boolean match expression.CollectionMatchExpression(Expression expression)Creates a new collection match expression.PathMatchExpression(Expression expression)Creates a path match expression. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.common
Fields in net.ssehub.easy.instantiation.core.model.common declared as VilException Modifier and Type Field Description private VilException[]VilException. additionalCausesOptional additional causes.private VilExceptionResolver.CallExpressionTester. lastExceptionMethods in net.ssehub.easy.instantiation.core.model.common that return VilException Modifier and Type Method Description private static VilExceptionVilException. getFirstCause(java.util.List<VilException> causes)Returns the first cause in case of multiplecauses.VilExceptionICallExpressionTester. getLastException()Returns the last exception produced by#createAndCheckCall(IResolvableModel, boolean).VilExceptionResolver.CallExpressionTester. getLastException()Methods in net.ssehub.easy.instantiation.core.model.common with parameters of type VilException Modifier and Type Method Description voidITracer. traceExecutionException(VilException exception)Traces a top-level execution exception, i.e., execution a VIL script or template failed.voidNoTracer. traceExecutionException(VilException exception)voidStreamTracer. traceExecutionException(VilException exception)Method parameters in net.ssehub.easy.instantiation.core.model.common with type arguments of type VilException Modifier and Type Method Description private static VilExceptionVilException. getFirstCause(java.util.List<VilException> causes)Returns the first cause in case of multiplecauses.private static intVilException. getFirstId(java.util.List<VilException> causes)Returns the first cause in case of multiplecauses.private static java.lang.StringVilException. getFirstMessage(java.util.List<VilException> causes)Returns the first message in case of multiplecauses.Methods in net.ssehub.easy.instantiation.core.model.common that throw VilException Modifier and Type Method Description java.lang.ObjectAdvice. accept(IVisitor visitor)Accepts the visitor for visiting.java.lang.ObjectCompound. accept(IVisitor visitor)Accepts the visitor for visiting.java.lang.ObjectExpressionStatement. accept(IVisitor visitor)Accepts the given visitor for visiting this instance.java.lang.ObjectTypedef. accept(IVisitor visitor)Accepts the visitor for visiting.java.lang.ObjectVariableDeclaration. accept(IVisitor visitor)Accepts the given visitor for visiting this instance.voidRuntimeEnvironment. addValue(V var, java.lang.Object object)Changes the value ofvarto the top level.voidRuntimeEnvironment.Context. addValue(D var, java.lang.Object object)Changes the value ofvarto the top level.voidExpressionStatement. applyConversionTo(OperationDescriptor op)Changes this statement by applying a conversion operation toExpressionStatement.expression.protected abstract voidExecutionVisitor. assignModelParameter(IResolvableModel<V,M> targetModel, IResolvableModel<V,M> srcModel)Assigns the model parameters.static java.lang.ObjectRuntimeEnvironment. checkType(java.lang.String name, TypeDescriptor<?> type, java.lang.Object object, TypeRegistry registry, java.util.function.Supplier<java.lang.String> modelName)Checks whetherobjectcan be assigned to some form of variable/field with namenameand typetype.private java.lang.ObjectRuntimeEnvironment. checkType(V var, java.lang.Object object)Checks whetherobjectcan be assigned tovar.protected java.lang.ObjectExecutionVisitor. convertToContainer(Expression expr, java.lang.Object value, java.lang.String eltName)Converts the actualvalueofexprto a container if required and possible.EResolver. createCallExpression(boolean isSuper, java.lang.String name, ICallExpressionTester<M,O,E,V> tester, CallArgument... arguments)Creates a call to aIResolvableOperationfor one of the current model instances.EResolver. createCallExpression(boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a call to aIResolvableOperationfor one of the current model instances.protected abstract EResolver. createCallExpression(M model, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new model call expression.CallExpressionResolver. createExtensionCallExpression(java.lang.String name, CallArgument... arguments)Creates an extension call expression to functions provided by extension types (seeIResolvableModel.getExtensionType(int)).protected abstract ModelCallExpression<V,M,O>ExecutionVisitor. createModelCall(M model, O operation, CallArgument... arguments)Creates a model call expression instance.private MResolver. determineQualifiedModel(M model, boolean isSuper, java.lang.String name)Determines the model denoted by a qualified name.private MResolver. determineQualifiedModel(M model, java.lang.String name)Determines the model denoted by a qualified name.protected java.util.Map<java.lang.String,java.lang.Object>ExecutionVisitor. determineScriptParam(ModelCallExpression<V,M,O> call)Determines script parameters from a call, i.e., takes over arguments and fixes them.private java.lang.ObjectExecutionVisitor. evaluateDefault(VariableDeclaration decl)Evaluates the default value ofdecl.protected voidExecutionVisitor. evaluateModelParameter(IResolvableModel<V,M> targetModel, IResolvableModel<V,M> srcModel, int startIndex)Assigns the model parameters.protected java.lang.ObjectExecutionVisitor. executeMain(M model, O operation)Executes the main operation.protected abstract java.lang.ObjectExecutionVisitor. executeModelCall(O operation)Actually executes a model call.java.lang.ObjectRuntimeEnvironment.Context. getIvmlValue(java.lang.String name)Returns the value of the IVML element denoted bynamein the closest scope defining an IVML configuration.java.lang.ObjectRuntimeEnvironment. getIvmlValue(java.lang.String name)java.lang.ObjectRuntimeEnvironment.Context. getValue(IResolvable resolvable)Returns the value ofresolvable.java.lang.ObjectRuntimeEnvironment. getValue(IResolvableModel<V,M> contextModel, java.lang.String name)Returns the value ofnamewithincontextModel.java.lang.ObjectRuntimeEnvironment. getValue(IResolvable resolvable)java.lang.ObjectRuntimeEnvironment. getValue(V var)Returns the value ofvar.protected voidExecutionVisitor. handleParameterInSequence(IResolvableModel<V,M> model, java.util.Map<java.lang.String,V> varMap)Handles model parameters in sequence if appropriate.TypeDescriptor<?>ModelCallExpression. inferType()protected voidExecutionVisitor. initializeImplicitVariables(IResolvableModel<V,M> model)Initializes implicit variables of a model (before explicitly defined variables).voidRuntimeEnvironment.Context. popLevel()Removes the topmost level.voidRuntimeEnvironment. popLevel()Removes the topmost level.protected <R extends IMetaParameterDeclaration,M extends IModel>
voidWriterVisitor. printCompounds(AbstractResolvableModel<R,M> model)Prints the typedefs ofmodel.protected voidWriterVisitor. printParameterList(IParameterizable<V> parameterizable)Prints the parameter list ofparameterizable.protected <R extends IMetaParameterDeclaration,M extends IModel>
voidWriterVisitor. printTypedefs(AbstractResolvableModel<R,M> model)Prints the typedefs ofmodel.protected java.lang.ObjectExecutionVisitor. proceedModelCall(O resolved, M model, IArgumentProvider arguments, boolean isPlaceholder, boolean enableParentScope)Performs a model call.protected voidExecutionVisitor. processModelParameter(IResolvableModel<V,M> model)Processes the parameters ofmodel.protected voidExecutionVisitor. setModelArgument(V param, java.lang.Object value)Defines the value of a given model/main argument and allows (by overriding) implicit (programmed) conversion of main arguments.voidRuntimeEnvironment.Context. setValue(D var, java.lang.Object object)Changes the value ofvarwhere it is defined.voidRuntimeEnvironment. setValue(IResolvable var, java.lang.Object object)Changes the value ofvarwhere it is defined.voidRuntimeEnvironment. setValue(V var, java.lang.Object object)Changes the value ofvarwhere it is defined.voidRuntimeEnvironment.Context. storeArtifacts(boolean force)Stores the recent artifacts, but only artifacts that are not excluded and not initially defined on the current level (avoids repeated writing the same artifacts along a nesting hierarchy).voidRuntimeEnvironment. storeArtifacts(boolean force)java.lang.ObjectExecutionVisitor. visitAdvice(Advice advice)java.lang.ObjectIVisitor. visitAdvice(Advice advice)Visits an advice.java.lang.ObjectWriterVisitor. visitAdvice(Advice advice)java.lang.ObjectIVisitor. visitCompound(Compound compound)Visits a compound.java.lang.ObjectWriterVisitor. visitCompound(Compound compound)java.lang.ObjectExecutionVisitor. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectIVisitor. visitExpressionStatement(ExpressionStatement statement)Visits a statement.java.lang.ObjectWriterVisitor. visitExpressionStatement(ExpressionStatement statement)protected java.lang.ObjectExecutionVisitor. visitModelCallExpression(ModelCallExpression<V,M,O> call)Visits a model call expression.voidExecutionVisitor. visitModelHeader(IResolvableModel<V,M> model)Visits the related model headers.private voidExecutionVisitor. visitModelHeader(IResolvableModel<V,M> model, java.util.Set<IResolvableModel<V,M>> visited)Visits the related model headers.java.lang.ObjectIVisitor. visitTypedef(Typedef typedef)Visits a typedef.java.lang.ObjectWriterVisitor. visitTypedef(Typedef typedef)java.lang.ObjectExecutionVisitor. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectIVisitor. visitVariableDeclaration(VariableDeclaration var)Visits a variable declaration.java.lang.ObjectWriterVisitor. visitVariableDeclaration(VariableDeclaration var)Constructor parameters in net.ssehub.easy.instantiation.core.model.common with type arguments of type VilException Constructor Description VilException(java.util.List<VilException> causes)Creates a new exception.Constructors in net.ssehub.easy.instantiation.core.model.common that throw VilException Constructor Description ModelCallExpression(M model, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new model call expression.ModelCallExpression(M model, O resolved, CallArgument... arguments)Creates a new model call expression for a known operation.Typedef(java.lang.String name, TypeDescriptor<?> type)Creates a typedef. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.defaultInstantiators
Methods in net.ssehub.easy.instantiation.core.model.defaultInstantiators that throw VilException Modifier and Type Method Description static Set<FileArtifact>Zip. add(Path base, Collection<FileArtifact> artifacts, Path target, ZipHandler handler)Packssourcefiles intotargetusing handler.private static TemplateVilTemplateProcessor. obtainTemplate(java.lang.String templateName, ModelImport<Template> restrictions, java.lang.String[] vtlPaths, Script caller)Obtains the template fortemplateNameandversion.private static voidVilTemplateProcessor. process(FileArtifact template, Configuration config, IArtifact target, java.util.Map<java.lang.String,java.lang.Object> other, java.util.List<IArtifact> result, boolean addAdvice)Instantiatessourcetotarget.private static voidVilTemplateProcessor. process(VtlFileArtifact template, Configuration config, IArtifact target, java.util.Map<java.lang.String,java.lang.Object> other, java.util.List<IArtifact> result)Instantiatessourcetotarget.private static voidVilTemplateProcessor. process(Template template, Configuration config, IArtifact target, java.util.Map<java.lang.String,java.lang.Object> other, java.util.List<IArtifact> result)Instantiatessourcetotarget.private static voidVilTemplateProcessor. throwMissingTemplateError(java.lang.String templateName, java.lang.String[] possiblePaths)Creates a VIL exception with a detailed/helpful message if the desired template could not be loaded/found.static Set<FileArtifact>Zip. toFileArtifactSet(java.util.List<java.io.File> files, ArtifactModel model)Turns a list of files into related file artifacts.static Set<FileArtifact>Unzip. unpack(Path zip, Path target, java.lang.String pattern, ZipHandler handler)Unpacks files inzipthat matches the givenfilterintotarget.static Set<FileArtifact>Unzip. unpack(Path zip, Path target, ZipHandler handler)Unpacks files inzipintotarget.static Set<FileArtifact>Unzip. unzip(Path zip, Path target)Unpacks files inzipintotarget.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(java.lang.String templateName, Configuration config, IArtifact target, boolean addAdvice, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotarget.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(java.lang.String templateName, Configuration config, IArtifact target, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotarget.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(java.lang.String templateName, Configuration config, Collection<IArtifact> targets, boolean addAdvice, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotarget.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(java.lang.String templateName, Configuration config, Collection<IArtifact> targets, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotarget.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(FileArtifact template, Configuration config, IArtifact target, boolean addAdvice, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotargetby textual replacement.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(FileArtifact template, Configuration config, IArtifact target, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotargetby textual replacement and no implicit advice.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(FileArtifact template, Configuration config, Collection<IArtifact> targets, boolean addAdvice, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotargetby textual replacement.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(FileArtifact template, Configuration config, Collection<IArtifact> targets, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotargetby textual replacement and no implicit advice.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(VtlFileArtifact template, Configuration config, IArtifact target, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotarget.static Set<IArtifact>VilTemplateProcessor. vilTemplateProcessor(VtlFileArtifact template, Configuration config, Collection<IArtifact> targets, java.util.Map<java.lang.String,java.lang.Object> other)Instantiatessourcetotarget.static Set<FileArtifact>Zip. zip(Path base, Path artifacts, Path zip)Packssourcefiles intotarget.static Set<FileArtifact>Zip. zip(Path base, Collection<FileArtifact> artifacts, Path zip)Packssourcefiles intotarget. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.execution
Methods in net.ssehub.easy.instantiation.core.model.execution that throw VilException Modifier and Type Method Description private voidExecutor. checkArguments(java.util.Map<java.lang.String,java.lang.Object> args, ProgressObserver observer)Checks the arguments.private static voidExecutor. checkProjectArgument(java.util.Map<java.lang.String,java.lang.Object> args, java.lang.String param, ProgressObserver observer)Checks a project argument.voidExecutor. execute()Executes the contained VIL build language script without observer and with default parameter checks.voidExecutor. execute(boolean check)Executes the contained VIL build language script without observer and possibly without default parameter checks (may be helpful in case of custom arguments).voidExecutor. execute(ProgressObserver observer, boolean check)Executes the contained VIL build language script with the given observer (mainly used within parameter conversion) and possibly without default parameter checks (may be helpful in case of custom arguments).protected voidExecutor. execute(ProgressObserver observer, boolean check, Executor.IExecutable executable)Executes the contained VIL build language script with the given observer (mainly used within parameter conversion) and possibly without default parameter checks (may be helpful in case of custom arguments).voidExecutor.IExecutable. execute(Executor executor, ITracer tracer, java.util.Map<java.lang.String,java.lang.Object> args)Performs the final execution for a script.protected static ConfigurationExecutor. getConfiguration(java.util.Map<java.lang.String,java.lang.Object> args)Returns the configuration form .protected voidExecutor. handleExecutionResult(RuleExecutionResult result, ITracer tracer, BuildlangExecution executor)Handles an execution result returned fromexecutor. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.expressions
Methods in net.ssehub.easy.instantiation.core.model.expressions that throw VilException Modifier and Type Method Description java.lang.ObjectCallArgument. accept(IExpressionVisitor visitor)Visits the expression in this argument.java.lang.ObjectCallExpression. accept(IExpressionVisitor visitor)java.lang.ObjectCompositeExpression. accept(IExpressionVisitor visitor)java.lang.ObjectConstantExpression. accept(IExpressionVisitor visitor)java.lang.ObjectConstructorCallExpression. accept(IExpressionVisitor visitor)java.lang.ObjectContainerInitializerExpression. accept(IExpressionVisitor visitor)abstract java.lang.ObjectExpression. accept(IExpressionVisitor visitor)Visits the expression.java.lang.ObjectExpressionEvaluator. accept(IExpressionVisitor visitor)java.lang.ObjectFieldAccessExpression. accept(IExpressionVisitor visitor)java.lang.ObjectInPlaceCommand. accept(IExpressionVisitor visitor)java.lang.ObjectMultiAndExpression. accept(IExpressionVisitor visitor)java.lang.ObjectParenthesisExpression. accept(IExpressionVisitor visitor)java.lang.ObjectResolvableOperationCallExpression. accept(IExpressionVisitor visitor)java.lang.ObjectResolvableOperationExpression. accept(IExpressionVisitor visitor)java.lang.ObjectStringExpression. accept(IExpressionVisitor visitor)java.lang.ObjectValueAssignmentExpression. accept(IExpressionVisitor visitor)java.lang.ObjectVariableExpression. accept(IExpressionVisitor visitor)java.lang.ObjectVarModelIdentifierExpression. accept(IExpressionVisitor visitor)java.lang.ObjectVilTypeExpression. accept(IExpressionVisitor visitor)private static java.util.List<IMetaOperation>AbstractCallExpression. assignableCandidates(IMetaType operand, java.lang.String name, CallArgument[] arguments, int unnamedArgsCount, boolean allowAny)Derives the assignable candidates fromoperand, i.e., operations which can be directly applied with identical parameters or (second step) with assignable parameters but without parameter conversion.private TypeDescriptor<?>[]CallExpression. checkUseParameter()Checks whether one of the parameter / argument types shall be used.protected abstract ExpressionInPlaceCommand. close(IStringParserFactory<I> factory)Closes this in-place command by creating the real expression.protected ExpressionInPlaceForCommand. close(IStringParserFactory<I> factory)protected ExpressionInPlaceIfCommand. close(IStringParserFactory<I> factory)protected ExpressionInPlaceImportCommand. close(IStringParserFactory<I> factory)protected ExpressionInPlaceVarDeclCommand. close(IStringParserFactory<I> factory)private ExpressionStringParser. close(int curStart, int pos)Closes the creation of the current in-place command.private PStringParser. completeParsing(StringParser.State state)Completes the parsing at the end of the input string.private TypeDescriptor<?>CallExpression. considerIteratorResult(TypeDescriptor<?> result)Considers the potential explicit result type of an iterator.private static java.util.List<AbstractCallExpression.ConvertibleOperation>AbstractCallExpression. convertibleCandidates(IMetaType operand, java.lang.String name, CallArgument[] arguments, int unnamedArgsCount)Derives the convertible candidates fromoperand, i.e., operations which can be applied including parameter conversion.protected CallArgument[]CopyVisitor. copyCallArguments(AbstractCallExpression call)Copies the arguments of the givencall.protected ExpressionCopyVisitor. copyExpression(Expression ex)Copies the given expression.protected java.util.List<Expression>CopyVisitor. copyExpressions(IExpressionIterator iter)Copies all processed expressions fromiterinto the result.protected ExpressionStringParser. createConstantStringExpression(java.lang.String string)Creates a constant String expression.ExpressionIStringParserFactory. createForExpression(InPlaceForCommand<I> cmd)Creates a for-loop expression.ExpressionIStringParserFactory. createIfExpression(InPlaceIfCommand<I> cmd)Creates an alternative expression.ExpressionIStringParserFactory. createImportExpression(InPlaceImportCommand<I> cmd)Creates an import expression.protected abstract PStringParser. createParseResult()Creates the result of parsing a string.protected java.lang.StringStringReplacer. createParseResult()protected CompositeExpressionStringResolver. createParseResult()static ExpressionExpressionVersionRestriction. createSingleRestriction(VariableDeclaration var, java.lang.String operator, Version version)Creates a typical single restriction from the given variable (see#createRestrictionVars(String), the operator and the version.ExpressionIStringParserFactory. createVarDeclExpression(InPlaceVarDeclCommand<I> cmd)Creates a variable declaration expression.IIStringParserFactory. createVariable(java.lang.String name, Expression initExpression, boolean asIterator)Creates a variable.IVersionRestrictionIStringParserFactory. createVersionRestriction(Expression expression, I variable)Creates a version restriction from the givenexpression.protected TypeDescriptor<?>CallExpression. determineOperand()Determines the operand for searching operations on.protected TypeDescriptor<?>ConstructorCallExpression. determineOperand()Determines the operand for searching operations on.java.lang.ObjectExpressionEvaluator. evaluate(java.lang.Object iteratorValue)Evaluates the wrapped expression.protected java.lang.StringEvaluationVisitor. evaluateContentExpression(IExpressionIterator iter)Evaluatesiteras a content expression.java.lang.ObjectCallArgument. fixValue(IExpressionVisitor visitor)Fixes the value that will be returned byCallArgument.accept(IExpressionVisitor)by callingCallArgument.accept(IExpressionVisitor).java.lang.ObjectIRuntimeEnvironment. getIvmlValue(java.lang.String name)Returns the value of the IVML element denoted bynamein the closest scope defining an IVML configuration.java.lang.ObjectExpressionEvaluator. getResultValue()Returns the explicit result value of an aggregating iterator.intAbstractCallExpression.ConvertibleOperation. getScore(CallArgument[] arguments, int unnamedArgsCount)Returns the conversions core to compare similar canidates.java.lang.ObjectIRuntimeEnvironment. getValue(IResolvable resolvable)Returns the value ofresolvable.private voidStringReplacer. handleConstant(int curStart, int position, int posAdvance)Handle constant placeholder fromcurStartuntilposition.private voidStringResolver. handleConstant(int curStart, int position)Handle constant placeholder fromcurStartuntilposition.private java.util.List<Expression>StringResolver. handleConstant(java.lang.String text)Handle constant for a given text.protected abstract intStringParser. handleEndOfText(int start, int pos, StringParser.State state)Handles the very end of text at so far unhandled state.protected intStringReplacer. handleEndOfText(int curStart, int pos, StringParser.State state)protected intStringResolver. handleEndOfText(int curStart, int pos, StringParser.State state)protected abstract intStringParser. handleExpression(int start, int pos)Handle an expression placeholder.protected intStringReplacer. handleExpression(int curStart, int pos)protected intStringResolver. handleExpression(int curStart, int pos)protected ExpressionStringParser. handleInPlaceCommands(java.lang.String expressionString, int curStart, int pos)Handles in-place commands and pushes them onto the command stack.protected abstract voidStringParser. handleQuote(int pos)Called to handle a quote character atpos(beginning) of the internal parse buffer.protected voidStringReplacer. handleQuote(int pos)protected voidStringResolver. handleQuote(int pos)protected abstract voidStringParser. handleTextEnd(int start, int pos)Handles the end of the text if there is no variable/expression.protected voidStringReplacer. handleTextEnd(int curStart, int pos)protected voidStringResolver. handleTextEnd(int curStart, int pos)protected abstract intStringParser. handleVariable(int start, int pos)Handle a variable placeholder.protected intStringReplacer. handleVariable(int curStart, int pos)protected intStringResolver. handleVariable(int curStart, int pos)protected abstract intStringParser. handleVariableStartExpression(int start, int pos)Handles the transition from stateStringParser.State.VARIABLE_STARTtoStringParser.State.EXPRESSION.protected intStringReplacer. handleVariableStartExpression(int curStart, int pos)protected intStringResolver. handleVariableStartExpression(int curStart, int pos)protected abstract intStringParser. handleVariableStartVariable(int start, int pos)Handles the transition from stateStringParser.State.VARIABLE_STARTtoStringParser.State.VARIABLE.protected intStringReplacer. handleVariableStartVariable(int curStart, int pos)protected intStringResolver. handleVariableStartVariable(int curStart, int pos)TypeDescriptor<?>CallArgument. inferType()Infers the type of this expression including the type of the contained sub-expressions.TypeDescriptor<?>CallExpression. inferType()TypeDescriptor<?>CompositeExpression. inferType()TypeDescriptor<?>ConstantExpression. inferType()TypeDescriptor<?>ContainerInitializerExpression. inferType()abstract TypeDescriptor<?>Expression. inferType()Infers the type of this expression including the type of the contained sub-expressions.TypeDescriptor<?>ExpressionEvaluator. inferType()TypeDescriptor<?>FieldAccessExpression. inferType()TypeDescriptor<?>InPlaceCommand. inferType()TypeDescriptor<?>MultiAndExpression. inferType()TypeDescriptor<?>ParenthesisExpression. inferType()TypeDescriptor<?>ResolvableOperationCallExpression. inferType()TypeDescriptor<?>ResolvableOperationExpression. inferType()TypeDescriptor<?>StringExpression. inferType()TypeDescriptor<?>ValueAssignmentExpression. inferType()TypeDescriptor<?>VariableExpression. inferType()TypeDescriptor<?>VarModelIdentifierExpression. inferType()TypeDescriptor<?>VilTypeExpression. inferType()voidIInitializableValue. initialize(IExpressionVisitor evaluator)Initializes this value instance through the given evaluator.voidExpressionEvaluator. initializeDeclarators()Initializes the declarators in case of default values given and changes the runtime environment accordingly.(package private) voidCallArgument. insertConversion(IMetaOperation operation)Replaces the expression by a transparentCallExpressionexecuting the conversion.(package private) voidCallArgument. insertConversion(OperationDescriptor operation)Replaces the expression by a transparentCallExpressionexecuting the conversion.ExpressionIExpressionParser. parse(java.lang.String text, IRuntimeEnvironment environment)Parses the given text into an expression.ExpressionIExpressionParser. parse(java.lang.String text, R resolver)Parses the given text into an expression.PStringParser. parse()Parses for the variables intext.protected ExpressionStringParser. parseExpression(java.lang.String expressionString)Parses an expression fromexpressionString.ExpressionStringResolver.IExpressionTranslator. parseExpression(java.lang.String expression, R resolver, java.lang.StringBuilder warnings)Parse the given expression.protected abstract ExpressionStringParser. parseExpressionImpl(java.lang.String expressionString)Parses an expression fromexpressionString.protected ExpressionStringReplacer. parseExpressionImpl(java.lang.String expressionString)protected ExpressionStringResolver. parseExpressionImpl(java.lang.String expressionString)protected voidExpressionWriter. printArgumentList(IArgumentProvider provider, int start)Prints an argument list.protected voidExpressionWriter. printArguments(IArgumentProvider provider, int start)Prints arguments (see alsoExpressionWriter.printArgumentList(IArgumentProvider, int)).private voidExpressionWriter. printCallAccess(CallExpression call)Prints the call access operator.protected voidExpressionWriter. printContentExpressions(IExpressionIterator iter)Prints a content expressions given by an expression iterator.private voidExpressionWriter. printIteratorDeclarators(CallExpression call)Prints the iterator declarators if appropriate.static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, boolean checkMetaForFirstArgField, java.lang.String name, CallArgument[] arguments)Resolves the given operation onoperand, but allows checking the first field for a meta type (e.g., DecisionVariable instead of the actual field type).static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, java.lang.String name, CallArgument... arguments)Resolves the given operation onoperand.private static IMetaOperationAbstractCallExpression. resolveOperation(IMetaType operand, java.lang.String name, CallArgument[] arguments, boolean allowConversion, boolean allowAny)Actually aims at resolving the operation.private static IMetaOperationAbstractCallExpression. resolveOperationOnModel(java.lang.Object operand, java.lang.String name, CallArgument[] arguments, java.util.Set<java.lang.Object> done)Resolves the given operation onoperand, consideringoperandas a model with imports.static IMetaOperationAbstractCallExpression. resolveResolvableOperation(IMetaType operand, IMetaType pType, IMetaType aType, Expression initExpression, ResolutionListener listener)Resolves a resolvable operation ("function pointer").private static java.util.List<AbstractCallExpression.ConvertibleOperation>AbstractCallExpression. selectAmongMultipleCandidates(java.util.List<AbstractCallExpression.ConvertibleOperation> candidates, CallArgument[] arguments, int unnamedArgsCount)Selects among multiple convertible candidates.voidIRuntimeEnvironment. setValue(IResolvable var, java.lang.Object object)Changes the value ofvarwhere it is defined.voidIRuntimeEnvironment. storeArtifacts(boolean force)Stores the artifacts in the current context.static <I extends VariableDeclaration,R extends Resolver<I>>
java.lang.StringStringReplacer. substitute(java.lang.String text, R resolver, IExpressionParser<R> expressionParser, IExpressionVisitor expressionEvaluator, IStringParserFactory<I> factory)Substitutes the variable and expression placeholders intext.static <I extends VariableDeclaration,R extends Resolver<I>,E extends ExpressionStatement>
ExpressionStringResolver. substitute(java.lang.String text, R resolver, StringResolver.IExpressionTranslator<I,R> translator, java.lang.StringBuilder warnings, IStringParserFactory<I> factory)Substitutes a given text and returns a CompositeExpression.ContainerInitializerExpressionContainerInitializerExpression. toSet()Converts this container initializer to a set.private static IMetaType[]AbstractCallExpression. toTypeDescriptors(CallArgument[] args)Turns the given call arguments to type descriptors.private static IMetaOperationAbstractCallExpression. tryOpConversionToSecond(IMetaType opType, java.lang.String name, CallArgument[] arguments)Tries to convert the operand to the second argument type and resolves it.private java.lang.ObjectEvaluationVisitor. visitCall(AbstractCallExpression call, java.lang.Object parent, OperationDescriptor resolved, CallExpression.CallType type)Processes a call.java.lang.ObjectCopyVisitor. visitCallExpression(CallExpression call)java.lang.ObjectEvaluationVisitor. visitCallExpression(CallExpression call)java.lang.ObjectExpressionVersionRestrictionValidator. visitCallExpression(CallExpression call)java.lang.ObjectExpressionWriter. visitCallExpression(CallExpression call)java.lang.ObjectIExpressionVisitor. visitCallExpression(CallExpression call)Visits a call node.java.lang.ObjectCopyVisitor. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectEvaluationVisitor. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectExpressionWriter. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectIExpressionVisitor. visitCompositeExpression(CompositeExpression ex)Visits a composite expression.java.lang.ObjectCopyVisitor. visitConstantExpression(ConstantExpression cst)java.lang.ObjectEvaluationVisitor. visitConstantExpression(ConstantExpression cst)java.lang.ObjectExpressionVersionRestrictionValidator. visitConstantExpression(ConstantExpression cst)java.lang.ObjectExpressionWriter. visitConstantExpression(ConstantExpression cst)java.lang.ObjectIExpressionVisitor. visitConstantExpression(ConstantExpression cst)Visits a constant node.java.lang.ObjectCopyVisitor. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectEvaluationVisitor. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectExpressionWriter. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectIExpressionVisitor. visitContainerInitializerExpression(ContainerInitializerExpression ex)Visits a container initializer expression.java.lang.ObjectCopyVisitor. visitExpression(Expression ex)java.lang.ObjectEvaluationVisitor. visitExpression(Expression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitExpression(Expression ex)java.lang.ObjectExpressionWriter. visitExpression(Expression ex)java.lang.ObjectIExpressionVisitor. visitExpression(Expression ex)Visits an unspecified expression (in case of specialized nodes).java.lang.ObjectCopyVisitor. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectEvaluationVisitor. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectExpressionWriter. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectIExpressionVisitor. visitExpressionEvaluator(ExpressionEvaluator ex)Visits an expression evaluator.java.lang.ObjectCopyVisitor. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectEvaluationVisitor. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectExpressionWriter. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectIExpressionVisitor. visitFieldAccessExpression(FieldAccessExpression ex)Visits a field access expression.java.lang.ObjectCopyVisitor. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectEvaluationVisitor. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectExpressionWriter. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectIExpressionVisitor. visitMultiAndExpression(MultiAndExpression ex)Visits a multi-and expression.java.lang.ObjectCopyVisitor. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectEvaluationVisitor. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectExpressionVersionRestrictionValidator. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectExpressionWriter. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectIExpressionVisitor. visitParenthesisExpression(ParenthesisExpression par)Visits a parenthesis node.java.lang.ObjectCopyVisitor. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectEvaluationVisitor. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectExpressionWriter. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectIExpressionVisitor. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)Visits resolvable operation call expression (function pointer call).java.lang.ObjectCopyVisitor. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectEvaluationVisitor. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectExpressionWriter. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectIExpressionVisitor. visitResolvableOperationExpression(ResolvableOperationExpression ex)Visits resolvable operation expression (function pointer resolution).java.lang.ObjectCopyVisitor. visitStringExpression(StringExpression ex)java.lang.ObjectEvaluationVisitor. visitStringExpression(StringExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitStringExpression(StringExpression ex)java.lang.ObjectExpressionWriter. visitStringExpression(StringExpression ex)java.lang.ObjectIExpressionVisitor. visitStringExpression(StringExpression ex)Visits a string expression.java.lang.ObjectCopyVisitor. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectEvaluationVisitor. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectExpressionWriter. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectIExpressionVisitor. visitValueAssignmentExpression(ValueAssignmentExpression ex)Visits a value assignment expression.java.lang.ObjectCopyVisitor. visitVariableExpression(VariableExpression cst)java.lang.ObjectEvaluationVisitor. visitVariableExpression(VariableExpression cst)java.lang.ObjectExpressionVersionRestrictionValidator. visitVariableExpression(VariableExpression cst)java.lang.ObjectExpressionWriter. visitVariableExpression(VariableExpression cst)java.lang.ObjectIExpressionVisitor. visitVariableExpression(VariableExpression cst)Visits a constant node.java.lang.ObjectCopyVisitor. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectEvaluationVisitor. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectExpressionVersionRestrictionValidator. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectExpressionWriter. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectIExpressionVisitor. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)Visits a variability model identifier.java.lang.ObjectCopyVisitor. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectEvaluationVisitor. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectExpressionVersionRestrictionValidator. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectExpressionWriter. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectIExpressionVisitor. visitVilTypeExpression(VilTypeExpression typeExpression)Visits a VIL type expression.Constructors in net.ssehub.easy.instantiation.core.model.expressions that throw VilException Constructor Description AbstractCallExpression(java.lang.String name, boolean unqualify)Creates an instance from the given call name.CallExpression()Constructor for serialization.CallExpression(java.lang.Object parent, java.lang.String name, boolean dotRight, CallArgument... arguments)Creates a new call expression which may be part of a dot expression.CallExpression(java.lang.Object parent, java.lang.String name, CallArgument... arguments)Creates a new (undotted) call expression.CallExpression(java.lang.Object parent, java.lang.String name, Expression... arguments)Creates a new (undotted) call expression.CallExpression(IMetaOperation operation, CallArgument... param)Creates a new transparent call expression from a conversion or optimization operation.CallExpression(OperationDescriptor operation, CallArgument arg)Creates a new transparent call expression from a conversion or optimization operation.ConstantExpression(TypeDescriptor<?> type, java.lang.Object value, TypeRegistry registry)Creates a new constant expression.ConstructorCallExpression(TypeDescriptor<?> type, CallArgument... arguments)Creates a constructor call.ConstructorCallExpression(TypeDescriptor<?> type, Expression... arguments)Creates a constructor call.FieldAccessExpression(VariableDeclaration variable, FieldDescriptor field)Creates a field access expression.FieldAccessExpression(FieldDescriptor field)Creates a static field access expression.MultiAndExpression(AbstractCallExpression... expressions)Creates a multi-and expression.ResolvableOperationCallExpression(VariableDeclaration var, CallArgument[] arguments)Creates a resolvable operation call expression, i.e., a call expression pointing to a certain operation but which is called through a (parameter) variable. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.templateModel
Methods in net.ssehub.easy.instantiation.core.model.templateModel that throw VilException Modifier and Type Method Description java.lang.ObjectAlternativeStatement. accept(IVisitor visitor)java.lang.ObjectCompound. accept(IVisitor visitor)java.lang.ObjectContentAlternativeExpression. accept(IExpressionVisitor visitor)java.lang.ObjectContentImportExpression. accept(IExpressionVisitor visitor)java.lang.ObjectContentLoopExpression. accept(IExpressionVisitor visitor)java.lang.ObjectContentStatement. accept(IVisitor visitor)java.lang.ObjectContentVarDeclExpression. accept(IExpressionVisitor visitor)java.lang.ObjectDef. accept(IVisitor visitor)java.lang.ObjectExpressionStatement. accept(IVisitor visitor)java.lang.ObjectFlushStatement. accept(IVisitor visitor)java.lang.ObjectHintedExpression. accept(IExpressionVisitor visitor)java.lang.ObjectITemplateLangElement. accept(IVisitor visitor)Accepts the visitor for visiting.java.lang.ObjectJavaExtension. accept(IVisitor visitor)Visits a java extension.java.lang.ObjectLoopStatement. accept(IVisitor visitor)java.lang.ObjectSwitchStatement. accept(IVisitor visitor)java.lang.ObjectTemplate. accept(IVisitor visitor)java.lang.ObjectTemplateBlock. accept(IVisitor visitor)java.lang.ObjectTemplateCallExpression. accept(IExpressionVisitor visitor)java.lang.ObjectTypeDef. accept(IVisitor visitor)java.lang.ObjectVariableDeclaration. accept(IVisitor visitor)java.lang.ObjectWhileStatement. accept(IVisitor visitor)private voidContentLoopExpression. assertSeparatorEx(Expression ex, java.lang.String text)Asserts that a separator expression evaluates to a String.protected voidTemplateLangExecution. assignModelParameter(IResolvableModel<VariableDeclaration,Template> targetModel, IResolvableModel<VariableDeclaration,Template> srcModel)protected TemplateCallExpressionResolver. createCallExpression(Template model, boolean isSuper, java.lang.String name, CallArgument... arguments)ExpressionStringResolverFactory. createForExpression(InPlaceForCommand<VariableDeclaration> cmd)ExpressionStringResolverFactory. createIfExpression(InPlaceIfCommand<VariableDeclaration> cmd)ExpressionStringReplacerFactory. createImportExpression(InPlaceImportCommand<VariableDeclaration> cmd)ExpressionStringResolverFactory. createImportExpression(InPlaceImportCommand<VariableDeclaration> cmd)protected ModelCallExpression<VariableDeclaration,Template,Def>TemplateLangExecution. createModelCall(Template model, Def operation, CallArgument... arguments)ExpressionStringReplacerFactory. createVarDeclExpression(InPlaceVarDeclCommand<VariableDeclaration> cmd)ExpressionStringResolverFactory. createVarDeclExpression(InPlaceVarDeclCommand<VariableDeclaration> cmd)VariableDeclarationStringResolverFactory. createVariable(java.lang.String name, Expression initExpression, boolean asIterator)IVersionRestrictionStringReplacerFactory. createVersionRestriction(Expression expression, VariableDeclaration variable)IVersionRestrictionStringResolverFactory. createVersionRestriction(Expression expression, VariableDeclaration variable)private java.lang.StringTemplateLangExecution. evaluateSeparator(Expression ex, java.lang.String deflt)Evaluates a separator expression.protected java.lang.ObjectTemplateLangExecution. executeModelCall(Def def)private java.lang.StringTemplateLangExecution. getSeparatorFromExpression(Expression expression)Turns theexpressioninto a separator.protected voidTemplateLangExecution. handleParameterInSequence(IResolvableModel<VariableDeclaration,Template> model, java.util.Map<java.lang.String,VariableDeclaration> varMap)TypeDescriptor<?>AlternativeStatement. inferType()TypeDescriptor<?>ContentStatement. inferType()TypeDescriptor<?>Def. inferType()TypeDescriptor<?>ExpressionStatement. inferType()TypeDescriptor<?>FlushStatement. inferType()TypeDescriptor<?>HintedExpression. inferType()TypeDescriptor<?>InContentExpression. inferType()TypeDescriptor<?>ITemplateElement. inferType()Infers the type of this language element.TypeDescriptor<?>LoopStatement. inferType()TypeDescriptor<?>SwitchStatement.Alternative. inferType()Infers the type of this alternative based on its value.TypeDescriptor<?>SwitchStatement. inferType()TypeDescriptor<?>TemplateBlock. inferType()TypeDescriptor<?>VariableDeclaration. inferType()TypeDescriptor<?>WhileStatement. inferType()java.lang.ObjectDef. invoke(java.lang.Object... args)private voidTemplateLangWriter. printSeparatorExpression(Expression expression)Prints a separator expression.voidTemplateLangExecution. storeContent()Explicitly stores the concatenated results of the content statements to the target artifact.static voidTemplateLangExecution. storeContent(IArtifact target, java.io.StringWriter out)Explicitly stores the concatenated results of the content statements to the target artifact.java.lang.ObjectExpressionCopyVisitor. visitAdvice(Advice advice)java.lang.ObjectExpressionVersionRestrictionValidator. visitAdvice(Advice advice)java.lang.ObjectExpressionCopyVisitor. visitAlternative(AlternativeStatement alternative)java.lang.ObjectExpressionVersionRestrictionValidator. visitAlternative(AlternativeStatement alternative)java.lang.ObjectIVisitor. visitAlternative(AlternativeStatement alternative)Visits an alternative statement.java.lang.ObjectTemplateLangExecution. visitAlternative(AlternativeStatement alternative)java.lang.ObjectTemplateLangWriter. visitAlternative(AlternativeStatement alternative)java.lang.ObjectExpressionCopyVisitor. visitCompound(Compound compound)java.lang.ObjectExpressionVersionRestrictionValidator. visitCompound(Compound compound)java.lang.ObjectTemplateLangExecution. visitCompound(Compound compound)java.lang.ObjectTemplateLangExecution. visitConstantExpression(ConstantExpression cst)java.lang.ObjectExpressionCopyVisitor. visitContentAlternativeExpression(ContentAlternativeExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitContentAlternativeExpression(ContentAlternativeExpression ex)java.lang.ObjectIVisitor. visitContentAlternativeExpression(ContentAlternativeExpression ex)Visits a content alternative expression.java.lang.ObjectTemplateLangExecution. visitContentAlternativeExpression(ContentAlternativeExpression ex)java.lang.ObjectTemplateLangWriter. visitContentAlternativeExpression(ContentAlternativeExpression ex)java.lang.ObjectExpressionCopyVisitor. visitContentImportExpression(ContentImportExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitContentImportExpression(ContentImportExpression ex)java.lang.ObjectIVisitor. visitContentImportExpression(ContentImportExpression ex)Visits a content import expression.java.lang.ObjectTemplateLangExecution. visitContentImportExpression(ContentImportExpression ex)java.lang.ObjectTemplateLangWriter. visitContentImportExpression(ContentImportExpression ex)java.lang.ObjectExpressionCopyVisitor. visitContentLoopExpression(ContentLoopExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitContentLoopExpression(ContentLoopExpression ex)java.lang.ObjectIVisitor. visitContentLoopExpression(ContentLoopExpression ex)Visits a content loop expression.java.lang.ObjectTemplateLangExecution. visitContentLoopExpression(ContentLoopExpression ex)java.lang.ObjectTemplateLangWriter. visitContentLoopExpression(ContentLoopExpression ex)java.lang.ObjectExpressionCopyVisitor. visitContentStatement(ContentStatement cnt)java.lang.ObjectExpressionVersionRestrictionValidator. visitContentStatement(ContentStatement cnt)java.lang.ObjectIVisitor. visitContentStatement(ContentStatement cnt)Visits a content statement.java.lang.ObjectTemplateLangExecution. visitContentStatement(ContentStatement cnt)java.lang.ObjectTemplateLangWriter. visitContentStatement(ContentStatement cnt)java.lang.ObjectExpressionCopyVisitor. visitContentVarDeclExpression(ContentVarDeclExpression ex)java.lang.ObjectExpressionVersionRestrictionValidator. visitContentVarDeclExpression(ContentVarDeclExpression ex)java.lang.ObjectIVisitor. visitContentVarDeclExpression(ContentVarDeclExpression ex)Visits a content variable declaration expression.java.lang.ObjectTemplateLangExecution. visitContentVarDeclExpression(ContentVarDeclExpression ex)java.lang.ObjectTemplateLangWriter. visitContentVarDeclExpression(ContentVarDeclExpression ex)java.lang.ObjectExpressionCopyVisitor. visitDef(Def def)java.lang.ObjectExpressionVersionRestrictionValidator. visitDef(Def def)java.lang.ObjectIVisitor. visitDef(Def def)Visits a sub-template definition.java.lang.ObjectTemplateLangExecution. visitDef(Def def)java.lang.ObjectTemplateLangWriter. visitDef(Def def)java.lang.ObjectExpressionCopyVisitor. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectExpressionVersionRestrictionValidator. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectExpressionCopyVisitor. visitFlush(FlushStatement stmt)java.lang.ObjectExpressionVersionRestrictionValidator. visitFlush(FlushStatement stmt)java.lang.ObjectIVisitor. visitFlush(FlushStatement flush)Visits a flush statement.java.lang.ObjectTemplateLangExecution. visitFlush(FlushStatement stmt)java.lang.ObjectTemplateLangWriter. visitFlush(FlushStatement stmt)java.lang.ObjectExpressionCopyVisitor. visitJavaExtension(JavaExtension ext)java.lang.ObjectExpressionVersionRestrictionValidator. visitJavaExtension(JavaExtension ext)java.lang.ObjectIVisitor. visitJavaExtension(JavaExtension ext)Visits a java extension.java.lang.ObjectTemplateLangExecution. visitJavaExtension(JavaExtension ext)java.lang.ObjectTemplateLangWriter. visitJavaExtension(JavaExtension ext)java.lang.ObjectExpressionCopyVisitor. visitLoop(LoopStatement loop)java.lang.ObjectExpressionVersionRestrictionValidator. visitLoop(LoopStatement loop)java.lang.ObjectIVisitor. visitLoop(LoopStatement loop)Visits a loop statement.java.lang.ObjectTemplateLangExecution. visitLoop(LoopStatement loop)java.lang.ObjectTemplateLangWriter. visitLoop(LoopStatement loop)java.lang.ObjectTemplateLangExecution. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectExpressionCopyVisitor. visitSwitch(SwitchStatement swtch)java.lang.ObjectExpressionVersionRestrictionValidator. visitSwitch(SwitchStatement swtch)java.lang.ObjectIVisitor. visitSwitch(SwitchStatement swtch)Visits a switch statement.java.lang.ObjectTemplateLangExecution. visitSwitch(SwitchStatement swtch)java.lang.ObjectTemplateLangWriter. visitSwitch(SwitchStatement swtch)java.lang.ObjectExpressionCopyVisitor. visitTemplate(Template template)java.lang.ObjectExpressionVersionRestrictionValidator. visitTemplate(Template template)java.lang.ObjectIVisitor. visitTemplate(Template template)Visits a template.java.lang.ObjectTemplateLangExecution. visitTemplate(Template template)java.lang.ObjectTemplateLangWriter. visitTemplate(Template template)java.lang.ObjectExpressionCopyVisitor. visitTemplateBlock(TemplateBlock block)java.lang.ObjectExpressionVersionRestrictionValidator. visitTemplateBlock(TemplateBlock block)java.lang.ObjectIVisitor. visitTemplateBlock(TemplateBlock block)Visits a template block.java.lang.ObjectTemplateLangExecution. visitTemplateBlock(TemplateBlock block)java.lang.ObjectTemplateLangWriter. visitTemplateBlock(TemplateBlock block)java.lang.ObjectExpressionCopyVisitor. visitTemplateCallExpression(TemplateCallExpression call)java.lang.ObjectExpressionVersionRestrictionValidator. visitTemplateCallExpression(TemplateCallExpression call)java.lang.ObjectIVisitor. visitTemplateCallExpression(TemplateCallExpression call)Visits a template call expression.java.lang.ObjectTemplateLangExecution. visitTemplateCallExpression(TemplateCallExpression call)java.lang.ObjectTemplateLangWriter. visitTemplateCallExpression(TemplateCallExpression call)java.lang.ObjectExpressionCopyVisitor. visitTypedef(Typedef typedef)java.lang.ObjectExpressionVersionRestrictionValidator. visitTypedef(Typedef typedef)java.lang.ObjectTemplateLangExecution. visitTypedef(Typedef typedef)java.lang.ObjectExpressionCopyVisitor. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectExpressionVersionRestrictionValidator. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectTemplateSubstitutionExecution. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectExpressionCopyVisitor. visitWhile(WhileStatement stmt)java.lang.ObjectExpressionVersionRestrictionValidator. visitWhile(WhileStatement stmt)java.lang.ObjectIVisitor. visitWhile(WhileStatement stmt)Visits a while statement.java.lang.ObjectTemplateLangExecution. visitWhile(WhileStatement stmt)java.lang.ObjectTemplateLangWriter. visitWhile(WhileStatement stmt)Constructors in net.ssehub.easy.instantiation.core.model.templateModel that throw VilException Constructor Description AlternativeStatement(Expression condition, ITemplateElement ifStatement)Create an alternative-statement with a single if-block only.AlternativeStatement(Expression condition, ITemplateElement ifStatement, ITemplateElement elseStatement)Create an alternative-statement with an if-block and an else-block.ContentAlternativeExpression(Expression condition, java.util.List<Expression> thenEx, java.util.List<Expression> elseEx)Creates a content alternative expression.ContentLoopExpression(VariableDeclaration iterator, Expression init, Expression separator, Expression endSeparator, java.util.List<Expression> body)Creates a content loop expression.ContentStatement(CompositeExpression content, java.lang.String terminal, Expression indentExpression, ContentStatement.LineEndType lineEndType, ILanguageElement parent)Creates a new content statement.JavaExtension(java.lang.Class<?> extension, TypeRegistry registry)Creates a default Java extension instance.JavaExtension(java.lang.String name, TypeRegistry registry)Creates a java extension instance.LoopStatement(VariableDeclaration iteratorVar, Expression containerExpression, ITemplateElement statement, Expression separatorExpression, Expression finalSeparatorExpression)Create a loop-statement.SwitchStatement(Expression switchExpression, VariableDeclaration implicitVar, java.util.List<SwitchStatement.Alternative> alternatives)Creates a new switch expression.SwitchStatement(Expression switchExpression, VariableDeclaration implicitVar, SwitchStatement.Alternative[] alternatives)Creates a new switch expression.Template(java.lang.String name, ModelImport<Template> extension, TemplateDescriptor descriptor, TypeRegistry registry)Creates a VIL template instance.TemplateCallExpression(Template template, boolean isSuper, java.lang.String name, CallArgument... arguments)Creates a new template call expression.TemplateCallExpression(Template template, Def def, CallArgument... arguments)Creates a new template call expression for a known operation.TemplateSubstitutionExecution(ITracer tracer, java.lang.String modelName, boolean addAdvice, Configuration config, java.net.URI baseURI)Creates a new substitution evaluation visitor and initializes the runtime environment.TypeDef(java.lang.String name, TypeDescriptor<?> type, Template parent)Creates a typedef.WhileStatement(Expression condition, ITemplateElement statement)Create a loop-statement. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.tracing
Methods in net.ssehub.easy.instantiation.core.model.tracing with parameters of type VilException Modifier and Type Method Description voidAbstractVilTracer. traceExecutionException(VilException exception) -
Uses of VilException in net.ssehub.easy.instantiation.core.model.vilTypes
Methods in net.ssehub.easy.instantiation.core.model.vilTypes that throw VilException Modifier and Type Method Description <T> booleanTypeRegistry. addTypeAlias(java.lang.String name, TypeDescriptor<T> type)Adds a type alias to this specific type registry.TAbstractCollectionWrapper. any(ExpressionEvaluator evaluator)static <T> TAbstractCollectionWrapper. any(Collection<T> collection, ExpressionEvaluator evaluator)Returns the first match fromcollection.TCollection. any(ExpressionEvaluator evaluator)Returns any element complying with theevaluator.TUnmodifiableSequence. any(ExpressionEvaluator evaluator)TUnmodifiableSet. any(ExpressionEvaluator evaluator)static <T> java.lang.ObjectAbstractCollectionWrapper. apply(Collection<T> collection, ExpressionEvaluator evaluator)Processes elements in this set by applying to given expression.java.lang.ObjectArraySequence. apply(ExpressionEvaluator evaluator)java.lang.ObjectArraySet. apply(ExpressionEvaluator evaluator)java.lang.ObjectCollection. apply(ExpressionEvaluator evaluator)Processes elements in this set by applying to given expression.java.lang.ObjectListSequence. apply(ExpressionEvaluator evaluator)java.lang.ObjectListSet. apply(ExpressionEvaluator evaluator)java.lang.ObjectSetSet. apply(ExpressionEvaluator evaluator)java.lang.ObjectUnmodifiableSequence. apply(ExpressionEvaluator evaluator)java.lang.ObjectUnmodifiableSet. apply(ExpressionEvaluator evaluator)private static booleanAbstractCollectionWrapper. assertBooleanIterator(ExpressionEvaluator evaluator)Asserts an iterator of boolean type.private FieldDescriptorCompoundInstance. checkSlot(java.lang.String name)Checks whether there is a slot with givenname.static java.util.Set<java.lang.Object>AbstractCollectionWrapper. closure(Collection<?> collection, ExpressionEvaluator evaluator)Calculates the closure overcollectionandevaluator.Set<?>ArraySequence. closure(ExpressionEvaluator evaluator)Set<?>ArraySet. closure(ExpressionEvaluator evaluator)Collection<?>Collection. closure(ExpressionEvaluator evaluator)Calculates a transitive closure over elements provided by this collection andevaluator.Set<?>ListSequence. closure(ExpressionEvaluator evaluator)Set<?>ListSet. closure(ExpressionEvaluator evaluator)Set<?>Sequence. closure(ExpressionEvaluator evaluator)Set<?>Set. closure(ExpressionEvaluator evaluator)Set<?>SetSet. closure(ExpressionEvaluator evaluator)Set<?>UnmodifiableSequence. closure(ExpressionEvaluator evaluator)Set<?>UnmodifiableSet. closure(ExpressionEvaluator evaluator)private static booleanAbstractCollectionWrapper. closureOnElement(java.lang.Object value, java.util.Set<java.lang.Object> result, ExpressionEvaluator evaluator, boolean stopOnCycle)Calculates the closure forvalueusingevaluatorand does not visit already visited elements inresultagain.private static voidAbstractCollectionWrapper. collect(java.lang.Object value, ExpressionEvaluator evaluator, java.util.Collection<java.lang.Object> result, boolean flatten)Performs a (non-)flattening collect operation onvalue.static java.util.List<java.lang.Object>AbstractCollectionWrapper. collect(Collection<?> collection, ExpressionEvaluator evaluator, boolean flatten)Collects the application ofevaluatortocollection.protected static voidAbstractCollectionWrapper. collect(Collection<?> collection, ExpressionEvaluator evaluator, java.util.Collection<java.lang.Object> result, boolean flatten)Collects the application ofevaluatortocollection.Sequence<?>ArraySequence. collect(ExpressionEvaluator evaluator)Set<?>ArraySet. collect(ExpressionEvaluator evaluator)Collection<?>Collection. collect(ExpressionEvaluator evaluator)Collects the application ofevaluatorto each individual element and flattens nested structures.Sequence<?>ListSequence. collect(ExpressionEvaluator evaluator)Set<?>ListSet. collect(ExpressionEvaluator evaluator)Sequence<?>Sequence. collect(ExpressionEvaluator evaluator)Set<?>Set. collect(ExpressionEvaluator evaluator)Set<?>SetSet. collect(ExpressionEvaluator evaluator)Sequence<?>UnmodifiableSequence. collect(ExpressionEvaluator evaluator)Set<?>UnmodifiableSet. collect(ExpressionEvaluator evaluator)Sequence<?>ArraySequence. collectNested(ExpressionEvaluator evaluator)Set<?>ArraySet. collectNested(ExpressionEvaluator evaluator)Collection<?>Collection. collectNested(ExpressionEvaluator evaluator)Collects the application ofevaluatorto each individual element and keeps nested structures.Sequence<?>ListSequence. collectNested(ExpressionEvaluator evaluator)Set<?>ListSet. collectNested(ExpressionEvaluator evaluator)Sequence<?>Sequence. collectNested(ExpressionEvaluator evaluator)Set<?>Set. collectNested(ExpressionEvaluator evaluator)Set<?>SetSet. collectNested(ExpressionEvaluator evaluator)Sequence<?>UnmodifiableSequence. collectNested(ExpressionEvaluator evaluator)Set<?>UnmodifiableSet. collectNested(ExpressionEvaluator evaluator)static Map<?,?>Map. convert(Sequence<?> sequence)Converts the given sequence into a map.TAliasTypeDescriptor. create(java.lang.Object... params)CompoundInstanceCompoundTypeDescriptor. create(java.lang.Object... params)TReflectionTypeDescriptor. create(java.lang.Object... params)Creates an instance of the type according to the given parameters.abstract TTypeDescriptor. create(java.lang.Object... params)Creates an instance of the type according to the given parameters.private static <T extends IVilType>
ReflectionTypeDescriptor<T>TypeRegistry. createTypeDescriptor(java.lang.Class<T> type)Creates a type descriptor consideringIActualValueProvider.java.lang.BooleanAbstractCollectionWrapper. exists(ExpressionEvaluator evaluator)Returns whether there exists on element in the collection for which theevaluatorreturnstrue.static <T> java.lang.BooleanAbstractCollectionWrapper. exists(Collection<T> collection, ExpressionEvaluator evaluator)Returns whether there is an element matching theevaluator.java.lang.BooleanCollection. exists(ExpressionEvaluator evaluator)Returns whether there exists on element in the collection for which theevaluatorreturnstrue.java.lang.BooleanUnmodifiableSequence. exists(ExpressionEvaluator evaluator)java.lang.BooleanUnmodifiableSet. exists(ExpressionEvaluator evaluator)protected static <T1,T2>
voidAbstractCollectionWrapper. flatten(Collection<T1> collection, java.util.Collection<T2> result)Flattens a collection.private static <T1,T2>
voidAbstractCollectionWrapper. flatten(T1 value, java.util.Collection<T2> result)Flattens an element value (may contain a Java collection).Sequence<?>ArraySequence. flatten()Set<?>ArraySet. flatten()Collection<?>Collection. flatten()Flattens this collection if needed, i.e., flatten sub-collections.Sequence<?>ListSequence. flatten()Set<?>ListSet. flatten()Sequence<?>Sequence. flatten()Set<?>Set. flatten()Set<?>SetSet. flatten()TypeDescriptor<?>TypeDescriptor. flatten()Returns a flattened collection type if this type is a collection.Sequence<?>UnmodifiableSequence. flatten()Set<?>UnmodifiableSet. flatten()java.lang.BooleanAbstractCollectionWrapper. forAll(ExpressionEvaluator evaluator)Returns whether all elements in the collection for which theevaluatorreturnstrue.static <T> java.lang.BooleanAbstractCollectionWrapper. forAll(Collection<T> collection, ExpressionEvaluator evaluator)Returns whether there is an element matching theevaluator.java.lang.BooleanCollection. forAll(ExpressionEvaluator evaluator)Returns whether all elements in the collection for which theevaluatorreturnstrue.java.lang.BooleanUnmodifiableSequence. forAll(ExpressionEvaluator evaluator)java.lang.BooleanUnmodifiableSet. forAll(ExpressionEvaluator evaluator)static TypeDescriptor<? extends Collection<?>>TypeRegistry. getCollectionType(TypeDescriptor<?>... parameter)Returns the VIL type for a collection with the given type parameters.static TypeDescriptor<? extends PseudoIterator<?>>TypeRegistry. getIteratorType(TypeDescriptor<?>... parameter)Returns the VIL type for a map with the given type parameters.static TypeDescriptor<? extends Map<?,?>>TypeRegistry. getMapType(TypeDescriptor<?>... parameter)Returns the VIL type for a map with the given type parameters.java.lang.ObjectFieldDescriptor. getMetaValue(java.lang.Object owner)Returns the value corresponding toFieldDescriptor.getMetaType().static ProjectProject. getProjectFor(IProjectDescriptor descriptor)Returns a cached project or caches a new one fordescriptor.static TypeDescriptor<? extends ResolvableOperationType>TypeRegistry. getRuleType(TypeDescriptor<?>... parameter)Returns the VIL type for a rule type with the given type parameters.static TypeDescriptor<? extends Sequence<?>>TypeRegistry. getSequenceType(TypeDescriptor<?>... parameter)Returns the VIL type for a sequence with the given type parameters.static TypeDescriptor<? extends Set<?>>TypeRegistry. getSetType(TypeDescriptor<?>... parameter)Returns the VIL type for a set with the given type parameters.java.lang.ObjectCompoundInstance. getSlotValue(java.lang.String name)Returns the value of the slotname.java.lang.ObjectCompoundTypeDescriptor.SlotDescriptor. getValue(java.lang.Object owner)abstract java.lang.ObjectFieldDescriptor. getValue(java.lang.Object owner)Returns the actual value of this field.java.lang.ObjectReflectionFieldDescriptor. getValue(java.lang.Object owner)voidCompoundInstance. initialize(IExpressionVisitor evaluator)private voidCompoundInstance. initializeFor(IExpressionVisitor evaluator, CompoundTypeDescriptor type)Initializes this instance for the given (parent)type.java.lang.ObjectCompoundTypeDescriptor.ConstructorOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectCompoundTypeDescriptor.TypeOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIMetaOperation. invoke(java.lang.Object... args)Invokes the specified operation.java.lang.ObjectReflectionConstructorDescriptor. invoke(java.lang.Object... args)java.lang.ObjectReflectionOperationDescriptor. invoke(java.lang.Object... args)booleanAbstractCollectionWrapper. isAcyclic(ExpressionEvaluator evaluator)Returns whether the closure over this collection andevaluatoris acyclic.static booleanAbstractCollectionWrapper. isAcyclic(Collection<?> collection, ExpressionEvaluator evaluator)Returns whether the closure overcollectionandevaluatoris acyclic.booleanCollection. isAcyclic(ExpressionEvaluator evaluator)Returns whether the transitive closure over elements provided by this collection andevaluatordoes not contain a cycle.booleanUnmodifiableSequence. isAcyclic(ExpressionEvaluator evaluator)booleanUnmodifiableSet. isAcyclic(ExpressionEvaluator evaluator)java.lang.BooleanAbstractCollectionWrapper. isUnique(ExpressionEvaluator evaluator)Returns whether the evaluator returns a different result for all elements in the collection.static <T> java.lang.BooleanAbstractCollectionWrapper. isUnique(Collection<T> collection, ExpressionEvaluator evaluator)Returns whether there is an element matching theevaluator.java.lang.BooleanCollection. isUnique(ExpressionEvaluator evaluator)Returns whether the evaluator returns a different result for all elements in the collection.java.lang.BooleanUnmodifiableSequence. isUnique(ExpressionEvaluator evaluator)java.lang.BooleanUnmodifiableSet. isUnique(ExpressionEvaluator evaluator)PathProject. localize(Project source, IFileSystemArtifact artifact)Localizes the givenpathtaken from source with respect to this project.TAbstractCollectionWrapper. one(ExpressionEvaluator evaluator)static <T> TAbstractCollectionWrapper. one(Collection<T> collection, ExpressionEvaluator evaluator)Returns the first match fromcollectionif there can be only one match.TCollection. one(ExpressionEvaluator evaluator)Returns the element complying with theevaluatorif there is exactly one.TUnmodifiableSequence. one(ExpressionEvaluator evaluator)TUnmodifiableSet. one(ExpressionEvaluator evaluator)Set<Project>Project. predecessors()Returns the predecessors of this project.protected voidReflectionTypeDescriptor. processInner(java.lang.Class<?> cls)Processes the inner classes ofcls.<T extends IVilType>
TypeDescriptor<T>TypeRegistry. registerType(java.lang.Class<T> type)Registers a type.Sequence<T>ArraySequence. reject(ExpressionEvaluator evaluator)Set<T>ArraySet. reject(ExpressionEvaluator evaluator)Collection<T>Collection. reject(ExpressionEvaluator evaluator)Rejects elements in this collection according to the given expression.Sequence<T>ListSequence. reject(ExpressionEvaluator evaluator)Set<T>ListSet. reject(ExpressionEvaluator evaluator)Sequence<T>Sequence. reject(ExpressionEvaluator evaluator)Set<T>Set. reject(ExpressionEvaluator evaluator)Set<T>SetSet. reject(ExpressionEvaluator evaluator)Sequence<T>UnmodifiableSequence. reject(ExpressionEvaluator evaluator)Set<T>UnmodifiableSet. reject(ExpressionEvaluator evaluator)protected ReflectionTypeDescriptor<T>ReflectionTypeDescriptor. resolve()Resolves the details of the type.static <T> java.util.List<T>AbstractCollectionWrapper. select(Collection<T> collection, ExpressionEvaluator evaluator, boolean select)Selects those elements fromcollectionwhich comply to the result ofevaluator.protected static <T> TAbstractCollectionWrapper. select(Collection<T> collection, ExpressionEvaluator evaluator, java.util.Collection<T> result, boolean select)Selects those elements fromcollectionwhich comply to the result ofevaluator.Sequence<T>ArraySequence. select(ExpressionEvaluator evaluator)Set<T>ArraySet. select(ExpressionEvaluator evaluator)Collection<T>Collection. select(ExpressionEvaluator evaluator)Selects elements in this collection according to the given expression.Sequence<T>ListSequence. select(ExpressionEvaluator evaluator)Set<T>ListSet. select(ExpressionEvaluator evaluator)Sequence<T>Sequence. select(ExpressionEvaluator evaluator)Set<T>Set. select(ExpressionEvaluator evaluator)Set<T>SetSet. select(ExpressionEvaluator evaluator)Sequence<T>UnmodifiableSequence. select(ExpressionEvaluator evaluator)Set<T>UnmodifiableSet. select(ExpressionEvaluator evaluator)voidCompoundTypeDescriptor. setFields(CompoundTypeDescriptor.SlotDescriptor[] slots)Sets the fields of this descriptor, only if there have no fields been defined at all so far.voidCompoundInstance. setSlotValue(java.lang.String name, java.lang.Object value)Changes the value of slotname.voidCompoundTypeDescriptor.SlotDescriptor. setValue(java.lang.Object owner, java.lang.Object value)abstract voidFieldDescriptor. setValue(java.lang.Object owner, java.lang.Object value)Changes the actual value for this field inowner.voidReflectionFieldDescriptor. setValue(java.lang.Object owner, java.lang.Object value)Sequence<V>Map. sortByKeys(ExpressionEvaluator evaluator)Sorts values in this map according to keys.Sequence<T>ArraySequence. sortedBy(ExpressionEvaluator evaluator)Collection<T>ArraySet. sortedBy(ExpressionEvaluator evaluator)Collection<T>Collection. sortedBy(ExpressionEvaluator evaluator)Sorts the elements in this collection according to the given expression in ascending order.Sequence<T>ListSequence. sortedBy(ExpressionEvaluator evaluator)Collection<T>ListSet. sortedBy(ExpressionEvaluator evaluator)Sequence<T>Sequence. sortedBy(ExpressionEvaluator evaluator)Sorts the elements in this sequence according to the given expression in ascending order.Collection<T>SetSet. sortedBy(ExpressionEvaluator evaluator)Sequence<T>UnmodifiableSequence. sortedBy(ExpressionEvaluator evaluator)Collection<T>UnmodifiableSet. sortedBy(ExpressionEvaluator evaluator)static <T> java.util.List<T>AbstractCollectionWrapper. sortImpl(java.util.Iterator<T> iter, ExpressionEvaluator evaluator)Sorts the elements initer(take numbers if the evaluator returns numbers, else lexicographic sort).protected java.util.List<T>AbstractCollectionWrapper. sortImpl(ExpressionEvaluator evaluator)Implements the more generic sort function (take numbers if the evaluator returns numbers, else lexicographic sort).private static voidTypeRegistry. testInstantiatorType(TypeDescriptor<? extends IVilType> type, Instantiator inst)Some basic semantic tests for instantiators.protected voidOperationDescriptor. throwIncompatibleParameter(java.lang.Object[] args)Throws an exception for the case that parameter are incompatible.private java.lang.ObjectReflectionOperationDescriptor. tryEvaluateEquality(java.lang.Object[] args, java.lang.Object[] callArgs)Tries to evaluate equality/unequality if the actual parameters are incompatible for a regular call.Constructors in net.ssehub.easy.instantiation.core.model.vilTypes that throw VilException Constructor Description ActualValueReflectionTypeDescriptor(java.lang.reflect.Constructor<T> templateCons)Creates a new type descriptor.AliasTypeDescriptor(TypeRegistry registry, java.lang.String name, TypeDescriptor<T> type)Creates an alias type descriptor.CompoundTypeDescriptor(java.lang.String name, boolean isAbstract, CompoundTypeDescriptor refines, TypeRegistry registry)Creates a compound type descriptor.Project(java.io.File base, ProgressObserver observer)Creates a project for a givenbasedirectory.Project(IProjectDescriptor descriptor, ProgressObserver observer)Creates a project based on a givendescriptor.Project(Project project, ProgressObserver observer)Creates a new project by for the base directory given inproject.ReflectionTypeDescriptor(java.lang.Class<T> cls)Creates a new type descriptor.ReflectionTypeDescriptor(java.lang.Class<T> cls, TypeDescriptor<?>... parameter)Creates a new type descriptor.TypeDescriptor(TypeDescriptor<?>... parameter)Creates a new type descriptor. -
Uses of VilException in net.ssehub.easy.instantiation.core.model.vilTypes.configuration
Methods in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that throw VilException Modifier and Type Method Description protected voidAbstractIvmlTypeDescriptor. addAttributeFields(java.util.Map<java.lang.String,FieldDescriptor> fields, IModelElement elt, TypeRegistry registry)Adds the attribute access fields.private voidIvmlTypeDescriptor. addCompoundOperations(IDatatype ivmlType, java.util.Map<java.lang.String,OperationDescriptor> operations, java.util.Map<java.lang.String,FieldDescriptor> fields)Adds the operations for compound types if needed.private voidIvmlTypeDescriptor. addElements(IDecisionVariableContainer container, TypeRegistry registry, java.util.Map<java.lang.String,FieldDescriptor> fields)Adds all the elements in this container and recursively processes attribute assignments.DecisionVariableAbstractIvmlTypeDescriptor. create(java.lang.Object... params)IvmlElementFakeTypeDescriptor. create(java.lang.Object... params)protected static TypeDescriptor<?>[]Utils. determineGenerics(IDatatype type, TypeRegistry registry, boolean specific)Determines the VIL types for the given generic types.protected static TypeDescriptor<?>Utils. determineReturnType(IDatatype type, TypeRegistry registry, boolean specific)Determines the VIL/VTL return type for the given IVMLtype.java.lang.ObjectIvmlAccessorFieldDescriptor. getMetaValue(java.lang.Object owner)java.lang.ObjectIvmlAnnotationFieldDescriptor. getMetaValue(java.lang.Object owner)java.lang.ObjectIvmlConfigurationFieldDescriptor. getMetaValue(java.lang.Object owner)java.lang.ObjectIvmlAccessorFieldDescriptor. getValue(java.lang.Object owner)java.lang.ObjectIvmlAnnotationFieldDescriptor. getValue(java.lang.Object owner)java.lang.ObjectIvmlConfigurationFieldDescriptor. getValue(java.lang.Object owner)java.lang.ObjectFakeOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlComparisonOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlConfigurationConversionOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlConfigurationOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlConstructorOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlConversionOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlOrderedEnumComparisonOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlOrderedEnumMinMaxOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlSequenceConversionOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlSetConversionOperationDescriptor. invoke(java.lang.Object... args)java.lang.ObjectIvmlToStringConversionOperationDescriptor. invoke(java.lang.Object... args)(package private) TypeDescriptor<?>IvmlTypeResolver. obtainType(IDatatype type)Obtains the VIL/VTL type for the giventype.(package private) voidIvmlTypeDescriptor. resolve(Project project, IDatatype ivmlType, java.util.Set<Attribute> declaredAttributes)Resolves the type descriptor by filling it with operations and fields.ConfigurationConfiguration. selectByAnnotation(java.lang.String namePattern)Returns a projected version of this configuration according to the applied annotations.ConfigurationConfiguration. selectByAnnotation(java.lang.String name, java.lang.Object value)Returns a projected version of this configuration according to the applied annotations.ConfigurationConfiguration. selectByAttribute(java.lang.String namePattern)Returns a projected version of this configuration according to the applied annotations.ConfigurationConfiguration. selectByAttribute(java.lang.String name, java.lang.Object value)Returns a projected version of this configuration according to the applied annotations.ConfigurationConfiguration. selectByName(java.lang.String namePattern)Returns a projected version of this configuration according to the names of the variables.ConfigurationConfiguration. selectByType(java.lang.String typePattern)Returns a projected version of this configuration according to the type of the variables.voidIvmlAccessorFieldDescriptor. setValue(java.lang.Object owner, java.lang.Object value)voidIvmlAnnotationFieldDescriptor. setValue(java.lang.Object owner, java.lang.Object value)voidIvmlConfigurationFieldDescriptor. setValue(java.lang.Object owner, java.lang.Object value)FileArtifactConfiguration. store(Path path)Stores the underlying (unprojected) configuration topath.FileArtifactConfiguration. store(Path path, boolean userValuesOnly)Stores the underlying (unprojected) configuration topath.Constructors in net.ssehub.easy.instantiation.core.model.vilTypes.configuration that throw VilException Constructor Description AbstractIvmlFieldDescriptor(TypeDescriptor<?> declaringType, AbstractVariable var, TypeRegistry registry)Creates the field descriptor.AbstractIvmlTypeDescriptor()For serialization.AbstractIvmlTypeDescriptor(IDatatype ivmlType, IvmlTypeResolver resolver)Creates a new type descriptor.FakeTypeDescriptor(TypeRegistry registry, java.lang.String name)Creates a fake type descriptor without (!) known base type.FakeTypeDescriptor(TypeRegistry registry, java.lang.String name, TypeDescriptor<?> baseType)Creates a fake type descriptor.IvmlAccessorFieldDescriptor(TypeDescriptor<?> declaringType, DecisionVariableDeclaration var, TypeRegistry registry)Creates the field descriptor.IvmlAnnotationFieldDescriptor(TypeDescriptor<?> declaringType, Attribute annotation, TypeRegistry registry)Creates the operation descriptor for an annotation access.IvmlConfigurationFieldDescriptor(TypeDescriptor<?> declaringType, AbstractVariable var, TypeRegistry registry)Creates the field descriptor.IvmlProjectTypeDescriptor()For serialization.IvmlProjectTypeDescriptor(Project project, IvmlTypeResolver resolver)Creates a new type descriptor.IvmlTypeDescriptor()For serialization.IvmlTypeDescriptor(Project project, IDatatype ivmlType, IvmlTypeResolver resolver)Creates a new type descriptor.NameRegExFilter(java.lang.String pattern, NameRegExFilter.DataType type)Creates a filter.NameRegExFilter(java.lang.String pattern, NameRegExFilter.DataType type, IConfigurationFilter further)Creates a filter. -
Uses of VilException in net.ssehub.easy.instantiation.java.artifacts
Methods in net.ssehub.easy.instantiation.java.artifacts that throw VilException Modifier and Type Method Description voidClassFileArtifact. artifactChanged(java.lang.Object cause)voidJavaFileArtifact. artifactChanged(java.lang.Object cause)static JavaFileArtifactJavaFileArtifact. convert(java.lang.String val)Conversion operation.static JavaFileArtifactJavaFileArtifact. convert(Path path)Conversion operation.FileArtifactDefaultJavaFileArtifactCreator. createArtifactInstance(java.lang.Object real, ArtifactModel model)voidAbstractJavaStatement. delete()voidJavaAnnotation. delete()voidJavaAttribute. delete()voidJavaClass. delete()voidJavaFragmentArtifact. delete()voidJavaImport. delete()voidJavaMethod. delete()voidIJavaParent. deleteChild(FragmentArtifact child)Notifies the parent that the given child shall be deleted.voidJavaFileArtifact. deleteChild(FragmentArtifact child)voidJavaParentFragmentArtifact. deleteChild(FragmentArtifact child)voidJavaClass. deleteMethodWithCalls(ExpressionEvaluator evaluator)Deletes a method and all java calls assigned to this method.voidJavaClass. deleteMethodWithCalls(ExpressionEvaluator evaluator, java.lang.Object replacement)Deletes a method and all java calls assigned to this method.voidJavaClass. deleteStatement(ExpressionEvaluator evaluator)Deletes a statement within a method.voidJavaMethod. deleteStatement(ExpressionEvaluator evaluator)Deletes a statement within a method.voidJavaMethod. deleteWithCalls()Deletes a method and all calls relating to this method.BinaryAbstractJavaStatement. getBinary()BinaryJavaAnnotation. getBinary()BinaryJavaAttribute. getBinary()BinaryJavaClass. getBinary()BinaryJavaImport. getBinary()BinaryJavaMethod. getBinary()BinaryJavaPackage. getBinary()BinaryJavaQualifiedName. getBinary()java.lang.StringAbstractJavaStatement. getName()java.lang.StringJavaAnnotation. getName()java.lang.StringJavaAttribute. getName()java.lang.StringJavaClass. getName()java.lang.StringJavaImport. getName()java.lang.StringJavaMethod. getName()java.lang.StringJavaPackage. getName()java.lang.StringJavaQualifiedName. getName()TextAbstractJavaStatement. getText()TextJavaAnnotation. getText()TextJavaAttribute. getText()TextJavaClass. getText()TextJavaImport. getText()TextJavaMethod. getText()TextJavaPackage. getText()TextJavaQualifiedName. getText()voidAbstractJavaStatement. rename(java.lang.String name)voidJavaAnnotation. rename(java.lang.String name)voidJavaAttribute. rename(java.lang.String name)voidJavaClass. rename(java.lang.String name)voidJavaImport. rename(java.lang.String name)voidJavaMethod. rename(java.lang.String name)voidJavaPackage. rename(java.lang.String name)voidJavaQualifiedName. rename(java.lang.String name)voidJavaFileArtifact. renameImports(java.lang.String oldName, java.lang.String newName)Renames all imports in this Java artifact fromoldNametonewName.voidJavaFileArtifact. renameImports(java.util.Map<java.lang.String,java.lang.String> nameMapping)Renames all imports in this Java artifact as stated bynameMapping.voidJavaFileArtifact. renamePackages(java.lang.String oldName, java.lang.String newName)Renames all (qualified) package names in this Java artifact fromoldNametonewName.voidJavaFileArtifact. renamePackages(java.util.Map<java.lang.String,java.lang.String> nameMapping)Renames all (qualified) package names in this Java artifact as stated bynameMapping.voidJavaFileArtifact. renameQualifiedNames(java.lang.String oldName, java.lang.String newName)Renames all qualified names in this Java artifact fromoldNametonewName.voidJavaFileArtifact. renameQualifiedNames(java.util.Map<java.lang.String,java.lang.String> nameMapping)Renames all qualified names in this Java artifact as stated bynameMapping.voidClassFileArtifact. store()voidIJavaParent. store()Stores the artifact / fragment.voidJavaFileArtifact. store()voidJavaFragmentArtifact. store()voidJavaFragmentArtifact. update() -
Uses of VilException in net.ssehub.easy.instantiation.java.instantiators
Methods in net.ssehub.easy.instantiation.java.instantiators that throw VilException Modifier and Type Method Description static Set<FileArtifact>CocktailInstantiator. cocktailInstantiator(Project target)Does the standard job of the cocktain instantiator.static Set<FileArtifact>Jar. jar(Path base, Path artifacts, Path jar, Path manifest)Packssourcefiles intotarget.static Set<FileArtifact>Jar. jar(Path base, Collection<FileArtifact> artifacts, Path jar)Packssourcefiles intotarget.static Set<FileArtifact>Jar. jar(Path base, Collection<FileArtifact> artifacts, Path jar, Path manifest)Packssourcefiles intotarget.static Set<FileArtifact>Javac. javac(Path source, Path target, java.util.Map<java.lang.String,java.lang.Object> other)Compiles a source path to a target path.static Set<FileArtifact>Javac. javac(Collection<FileArtifact> source, Path target, java.util.Map<java.lang.String,java.lang.Object> other)Compiles a source path to a target path.static Set<FileArtifact>Unjar. unjar(Path jar, Path target)Packssourcefiles intotargetwithout unpacking the manifest.static Set<FileArtifact>Unjar. unjar(Path jar, Path target, boolean includeManifest)Packssourcefiles intotarget.static Set<FileArtifact>Unjar. unjar(Path jar, Path target, java.lang.String pattern)Packssourcefiles which matchesfilterintotargetwithout unpacking the manifest.static Set<FileArtifact>Unjar. unjar(Path jar, Path target, java.lang.String pattern, boolean includeManifest)Packssourcefiles which matchesfilterintotargetwithout unpacking the manifest. -
Uses of VilException in net.ssehub.easy.instantiation.maven
Methods in net.ssehub.easy.instantiation.maven that throw VilException Modifier and Type Method Description private static Set<FileArtifact>Maven. build(Path root, java.lang.String buildFilePath, boolean updateSnapshots, java.lang.String[] targets)Executes a specific MAVEN build specification.static Set<FileArtifact>Maven. maven(Path root)Executes a specific MAVEN build specification with "clean" and "install" targets.static Set<FileArtifact>Maven. maven(Path root, boolean updateSnapshots)Executes a specific MAVEN build specification with "clean" and "install" targets.static Set<FileArtifact>Maven. maven(Path root, boolean updateSnapshots, Sequence<java.lang.String> buildtargets)Executes a specific MAVEN build specification.static Set<FileArtifact>Maven. maven(Path root, java.lang.String buildFilePath)Executes a specific MAVEN build specification with "clean" and "install" targets.static Set<FileArtifact>Maven. maven(Path root, java.lang.String buildFilePath, boolean updateSnapshots)Executes a specific MAVEN build specification with "clean" and "install" targets.static Set<FileArtifact>Maven. maven(Path root, java.lang.String buildFilePath, boolean updateSnapshots, Sequence<java.lang.String> buildtargets)Executes a specific MAVEN build specification.static Set<FileArtifact>Maven. maven(Path root, java.lang.String buildFilePath, Sequence<java.lang.String> buildtargets)Executes a specific MAVEN build specification.static Set<FileArtifact>Maven. maven(Path root, Sequence<java.lang.String> buildtargets)Executes a specific MAVEN build specification. -
Uses of VilException in net.ssehub.easy.instantiation.serializer.xml.converter
Methods in net.ssehub.easy.instantiation.serializer.xml.converter that throw VilException Modifier and Type Method Description private TypeDescriptor<?>ReflectionTypeDescriptorConverter. getMapType(java.lang.String name, java.lang.String regex)Get the map type from the typeRegistry.private TypeDescriptor<?>ReflectionTypeDescriptorConverter. getSequenceType(java.lang.String name, java.lang.String regex)Get the sequence type from the typeRegistry.private TypeDescriptor<?>ReflectionTypeDescriptorConverter. getSetType(java.lang.String name, java.lang.String regex)Get the set type from the typeRegistry. -
Uses of VilException in net.ssehub.easy.instantiation.velocity
Methods in net.ssehub.easy.instantiation.velocity that throw VilException Modifier and Type Method Description private static FileArtifactVelocityInstantiator. instantiate(FileArtifact template, org.apache.velocity.app.VelocityEngine engine, org.apache.velocity.VelocityContext context)Instantiate a single file artifact.static Set<FileArtifact>VelocityInstantiator. velocity(Path template, Configuration config)Instantiates a single file artifact using the givenconfiguration.static Set<FileArtifact>VelocityInstantiator. velocity(Path template, Configuration config, Map<?,?> nameMapping)Instantiates a single file artifact using the givenconfiguration.static Set<FileArtifact>VelocityInstantiator. velocity(Collection<FileArtifact> templates, Configuration config)Instantiates a collection of file artifacts using the givenconfiguration.static Set<FileArtifact>VelocityInstantiator. velocity(Collection<FileArtifact> templates, Configuration config, Map<?,?> nameMapping)Instantiates a collection of file artifacts using the givenconfiguration. -
Uses of VilException in net.ssehub.easy.instantiation.xvcl
Methods in net.ssehub.easy.instantiation.xvcl that throw VilException Modifier and Type Method Description (package private) voidXvclTransformatorEngine. instantiate(FileArtifact specification)Instantiates the given XVCL specification file via VIL.static voidXVCLInstantiator. xvcl(FileArtifact specification)Instantiates the given XVCL specification file via VIL. -
Uses of VilException in net.ssehub.easy.producer.core.mgmt
Methods in net.ssehub.easy.producer.core.mgmt with parameters of type VilException Modifier and Type Method Description voidIVilExecutionListener. vilExecutionAborted(PLPInfo plp, VilException exc)VIL execution (instantiation) was aborted through an error.Methods in net.ssehub.easy.producer.core.mgmt that throw VilException Modifier and Type Method Description EasyExecutorEasyExecutor. execute()Executes all steps as described above.voidEasyExecutor. executeVil()Executes VIL on the model. -
Uses of VilException in net.ssehub.easy.producer.ui.productline_editor.configuration
Methods in net.ssehub.easy.producer.ui.productline_editor.configuration with parameters of type VilException Modifier and Type Method Description voidConfigurationHeaderMenu. vilExecutionAborted(PLPInfo plp, VilException exc) -
Uses of VilException in net.ssehub.easy.producer.ui.productline_editor.instantiator
Methods in net.ssehub.easy.producer.ui.productline_editor.instantiator that throw VilException Modifier and Type Method Description (package private) voidBuildResolverVisitor. insertElement(IRuleElement element)Inserts an element into the current block of the last found position.static voidTreeUtils. store(Script script)Stores a VIL script.java.lang.ObjectBuildResolverVisitor. visitAdvice(Advice advice)java.lang.ObjectRuleTreeVilVisitor. visitAdvice(Advice advice)java.lang.ObjectBuildResolverVisitor. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectRuleTreeVilVisitor. visitAlternativeExpression(AlternativeExpression alt)java.lang.ObjectBuildResolverVisitor. visitArtifactMatchExpression(ArtifactMatchExpression expression)java.lang.ObjectRuleTreeVilVisitor. visitArtifactMatchExpression(ArtifactMatchExpression expression)private java.lang.ObjectBuildResolverVisitor. visitBlock(IRuleBlock block)Visits a block.java.lang.ObjectBuildResolverVisitor. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectRuleTreeVilVisitor. visitBooleanMatchExpression(BooleanMatchExpression expression)java.lang.ObjectBuildResolverVisitor. visitCallExpression(CallExpression call)java.lang.ObjectRuleTreeVilVisitor. visitCallExpression(CallExpression call)java.lang.ObjectBuildResolverVisitor. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectRuleTreeVilVisitor. visitCollectionMatchExpression(CollectionMatchExpression expression)java.lang.ObjectBuildResolverVisitor. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitCompositeExpression(CompositeExpression ex)java.lang.ObjectBuildResolverVisitor. visitCompound(Compound compound)java.lang.ObjectRuleTreeVilVisitor. visitCompound(Compound compound)java.lang.ObjectBuildResolverVisitor. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectRuleTreeVilVisitor. visitCompoundMatchExpression(CompoundMatchExpression expression)java.lang.ObjectBuildResolverVisitor. visitConstantExpression(ConstantExpression cst)java.lang.ObjectRuleTreeVilVisitor. visitConstantExpression(ConstantExpression cst)java.lang.ObjectBuildResolverVisitor. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitContainerInitializerExpression(ContainerInitializerExpression ex)java.lang.ObjectBuildResolverVisitor. visitExpression(Expression ex)java.lang.ObjectRuleTreeVilVisitor. visitExpression(Expression ex)java.lang.ObjectBuildResolverVisitor. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectRuleTreeVilVisitor. visitExpressionEvaluator(ExpressionEvaluator ex)java.lang.ObjectBuildResolverVisitor. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectRuleTreeVilVisitor. visitExpressionStatement(ExpressionStatement statement)java.lang.ObjectBuildResolverVisitor. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitFieldAccessExpression(FieldAccessExpression ex)java.lang.ObjectBuildResolverVisitor. visitForStatement(ForStatement stmt)java.lang.ObjectRuleTreeVilVisitor. visitForStatement(ForStatement stmt)java.lang.ObjectBuildResolverVisitor. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectRuleTreeVilVisitor. visitInstantiateExpression(InstantiateExpression inst)java.lang.ObjectBuildResolverVisitor. visitJoinExpression(JoinExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitJoinExpression(JoinExpression ex)java.lang.ObjectBuildResolverVisitor. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectRuleTreeVilVisitor. visitJoinVariableDeclaration(JoinVariableDeclaration decl)java.lang.ObjectBuildResolverVisitor. visitLoadProperties(LoadProperties properties)java.lang.ObjectRuleTreeVilVisitor. visitLoadProperties(LoadProperties properties)private java.lang.ObjectBuildResolverVisitor. visitLoop(IEnumeratingLoop loop)Visits a loop.java.lang.ObjectBuildResolverVisitor. visitMapExpression(MapExpression map)java.lang.ObjectRuleTreeVilVisitor. visitMapExpression(MapExpression map)java.lang.ObjectBuildResolverVisitor. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitMultiAndExpression(MultiAndExpression ex)java.lang.ObjectBuildResolverVisitor. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectRuleTreeVilVisitor. visitParenthesisExpression(ParenthesisExpression par)java.lang.ObjectBuildResolverVisitor. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectRuleTreeVilVisitor. visitPathMatchExpression(PathMatchExpression expression)java.lang.ObjectBuildResolverVisitor. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitResolvableOperationCallExpression(ResolvableOperationCallExpression ex)java.lang.ObjectBuildResolverVisitor. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitResolvableOperationExpression(ResolvableOperationExpression ex)java.lang.ObjectBuildResolverVisitor. visitRule(Rule rule)java.lang.ObjectBuildResolverVisitor. visitRule(VtlRule rule)java.lang.ObjectRuleTreeVilVisitor. visitRule(Rule rule)java.lang.ObjectRuleTreeVilVisitor. visitRule(VtlRule rule)java.lang.ObjectBuildResolverVisitor. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitRuleCallExpression(RuleCallExpression ex)java.lang.ObjectBuildResolverVisitor. visitScript(Script script)java.lang.ObjectRuleTreeVilVisitor. visitScript(Script script)java.lang.ObjectBuildResolverVisitor. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectRuleTreeVilVisitor. visitStrategyCallExpression(StrategyCallExpression call)java.lang.ObjectBuildResolverVisitor. visitStringExpression(StringExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitStringExpression(StringExpression ex)java.lang.ObjectBuildResolverVisitor. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectRuleTreeVilVisitor. visitStringMatchExpression(StringMatchExpression expression)java.lang.ObjectBuildResolverVisitor. visitTypedef(Typedef typedef)java.lang.ObjectRuleTreeVilVisitor. visitTypedef(Typedef typedef)java.lang.ObjectBuildResolverVisitor. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectRuleTreeVilVisitor. visitValueAssignmentExpression(ValueAssignmentExpression ex)java.lang.ObjectBuildResolverVisitor. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectRuleTreeVilVisitor. visitVariableDeclaration(VariableDeclaration var)java.lang.ObjectBuildResolverVisitor. visitVariableExpression(VariableExpression cst)java.lang.ObjectRuleTreeVilVisitor. visitVariableExpression(VariableExpression cst)java.lang.ObjectBuildResolverVisitor. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectRuleTreeVilVisitor. visitVarModelIdentifierExpression(VarModelIdentifierExpression identifier)java.lang.ObjectBuildResolverVisitor. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectRuleTreeVilVisitor. visitVilTypeExpression(VilTypeExpression typeExpression)java.lang.ObjectBuildResolverVisitor. visitWhileStatement(WhileStatement stmt)java.lang.ObjectRuleTreeVilVisitor. visitWhileStatement(WhileStatement stmt)
-