Uses of Class
org.bigraphs.framework.core.exceptions.InvalidConnectionException
Packages that use InvalidConnectionException
Package
Description
-
Uses of InvalidConnectionException in org.bigraphs.framework.core
Methods in org.bigraphs.framework.core that throw InvalidConnectionExceptionModifier and TypeMethodDescriptionCreates a child node for the current node hierarchy with the given control label and connects it automatically to the given outer name.BigraphBuilder.NodeHierarchy.child(String controlName, BigraphEntity.OuterName outerName) default BigraphBuilder.NodeHierarchy<S> -
Uses of InvalidConnectionException in org.bigraphs.framework.core.exceptions
Subclasses of InvalidConnectionException in org.bigraphs.framework.core.exceptionsModifier and TypeClassDescriptionclassException that is thrown with operations on controls where the arity must be considered, e.g., connecting links to a node with no free ports. -
Uses of InvalidConnectionException in org.bigraphs.framework.core.exceptions.builder
Subclasses of InvalidConnectionException in org.bigraphs.framework.core.exceptions.builderModifier and TypeClassDescriptionclassWhen the user is trying to connect an inner name to an outer name where the inner name is already connected to an edge which connects nodes or other inner names.classclassException is thrown inside a builder when the node has no free ports but a connection to a link (i.e., edge or outer name) is tried to make. -
Uses of InvalidConnectionException in org.bigraphs.framework.core.impl.pure
Methods in org.bigraphs.framework.core.impl.pure that throw InvalidConnectionExceptionModifier and TypeMethodDescriptionPureBigraphBuilder.Hierarchy.addInnerNameTo(BigraphEntity.InnerName innerName, BigraphEntity.InnerName toAttach) This method will attach the inner nametoAttachtoinnerNamewhile respecting a possibly existing link ofinnerName.voidPureBigraphBuilder.addInnerTo(BigraphEntity.InnerName innerName, BigraphEntity.InnerName toAttach) Connects the inner nametoAttachtoinnerNamevia alink (i.e., an edge or outer name).PureBigraphBuilder.Hierarchy.child(String controlName, BigraphEntity.OuterName outerName) PureBigraphBuilder.Hierarchy.connectInnerNamesToNode(BigraphEntity.InnerName... innerNames) PureBigraphBuilder.Hierarchy.linkInner(BigraphEntity.InnerName innerName) Connect the previously created node to the given inner name.PureBigraphBuilder.linkInner(BigraphEntity.InnerName ecoreInnerName1, BigraphEntity.InnerName ecoreInnerName2) Convenient method ofPureBigraphBuilder.linkInner(BigraphEntity.InnerName, BigraphEntity.InnerName, boolean)which doesn't keep idle edges when inner names are already connected to a node.PureBigraphBuilder.linkInner(BigraphEntity.InnerName ecoreInnerName1, BigraphEntity.InnerName ecoreInnerName2, boolean keepIdleEdges) Connects two existing inner names by an edge.PureBigraphBuilder.linkInnerToOuter(BigraphEntity innerName, BigraphEntity outerName) Connects an inner name to an outer name.voidPureBigraphBuilder.linkNodeToInner(BigraphEntity.NodeEntity<Control> node1, BigraphEntity.InnerName innerName) Link a node with an inner name by an edgevoidPureBigraphBuilder.linkNodeToInner(BigraphEntity.NodeEntity<Control> node1, BigraphEntity.InnerName... innerNames) Link multiple inner names by an edge to one nodePureBigraphBuilder.Hierarchy.linkOuter(BigraphEntity.OuterName outerName) Connect the previously created node to the given outer name.voidPureBigraphBuilder.Hierarchy.nodesWithInner(BigraphEntity.InnerName innerName, Control... controls) Creates new nodes with the given controls and connects them to the inner name of the current bigraph.
Controls must not be atomic.voidPureBigraphBuilder.Hierarchy.nodeWithInner(BigraphEntity.InnerName innerName, Control control) Creates a new node with the given control and connects them to the inner name of the current bigraph.