Class PortUtilityService
- java.lang.Object
-
- org.neotropic.kuwaiba.core.persistence.reference.neo4j.util.PortUtilityService
-
@Service public class PortUtilityService extends Object
Provides methods related with ports operations, like mirring ports, naming standariotation e.g. the connection of mirror ports, splits a given list of ports into side A and B in order to relate mirror ports- Author:
- Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description PortUtilityService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mirrorPorts(List<StringPair> ports, String objectClassName)
Creates a mirror port relationship for a given list of ports, if the ports have the same numeric index
-
-
-
Method Detail
-
mirrorPorts
public void mirrorPorts(List<StringPair> ports, String objectClassName) throws InvalidArgumentException
Creates a mirror port relationship for a given list of ports, if the ports have the same numeric index- Parameters:
ports
- the list of portsobjectClassName
- the objects- Throws:
InvalidArgumentException
-
-