public final class EPNValidator extends Object
Modifier and Type | Method and Description |
---|---|
protected static boolean |
checkCyclicDependency(Network epn,
List<String> path,
String node,
EPNValidationListener l)
This method determines whether there is a cyclic dependency.
|
static boolean |
validate(Network epn,
EPNValidationListener l)
This method validates the supplied network and
returns results via a supplied listener.
|
protected static boolean |
validateNetwork(Network epn,
EPNValidationListener l)
This method validates the network.
|
protected static boolean |
validateNodes(Network epn,
EPNValidationListener l)
This method validates the network nodes.
|
protected static boolean |
validateNotifications(Network epn,
Node node,
EPNValidationListener l)
This method validates the notifications associated with the supplied network
and node.
|
protected static boolean |
validateSubscriptions(Network epn,
EPNValidationListener l)
This method validates the network subscriptions.
|
public static boolean validate(Network epn, EPNValidationListener l)
epn
- The network to be validatedl
- The listenerprotected static boolean validateNetwork(Network epn, EPNValidationListener l)
epn
- The network to be validatedl
- The listenerprotected static boolean validateSubscriptions(Network epn, EPNValidationListener l)
epn
- The network to be validatedl
- The listenerprotected static boolean validateNodes(Network epn, EPNValidationListener l)
epn
- The network to be validatedl
- The listenerprotected static boolean checkCyclicDependency(Network epn, List<String> path, String node, EPNValidationListener l)
epn
- The networkpath
- The path to the nodenode
- The source node being checkedl
- The listenerprotected static boolean validateNotifications(Network epn, Node node, EPNValidationListener l)
epn
- The networknode
- The nodel
- The listenerCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.