@ApplicationScoped public class SingleConnectorPerTypeGraphRule extends RuleExtensionHandler<SingleConnectorPerTypeGraphRule,GraphConnectionContext>
| Constructor and Description |
|---|
SingleConnectorPerTypeGraphRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(RuleExtension rule,
GraphConnectionContext context) |
RuleViolations |
evaluate(RuleExtension rule,
GraphConnectionContext context) |
Class<GraphConnectionContext> |
getContextType() |
Class<SingleConnectorPerTypeGraphRule> |
getExtensionType() |
protected boolean |
isConnectionAlreadyFormed(Node<? extends View<?>,? extends Edge> source,
Node<? extends View<?>,? extends Edge> target,
Edge<? extends View<?>,? extends Node> connector) |
getRuleTypepublic Class<SingleConnectorPerTypeGraphRule> getExtensionType()
getExtensionType in class RuleExtensionHandler<SingleConnectorPerTypeGraphRule,GraphConnectionContext>public Class<GraphConnectionContext> getContextType()
public boolean accepts(RuleExtension rule, GraphConnectionContext context)
public RuleViolations evaluate(RuleExtension rule, GraphConnectionContext context)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.