Interface IInterfaceMatchMaker
-
- All Known Implementing Classes:
InterfaceMatchMaker
public interface IInterfaceMatchMakerInterface class for Interface Matchmaking process- Author:
- Niko Siltala
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIInterfaceMatchMaker.eMatchingLevelEnumeration for indicating level until interface matchmaking is used.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanareConnectable_Gid(List<String> resources)Test are given resources connectable with each otherList<String>hasNoInterfaces(List<String> resources)Test if resource(s) has no interface definitions.IfMatchResultmakeInterfaceMatch_Gid(List<String> resources)Test are given resources connectable with each othervoidsetMatchingLevel(IInterfaceMatchMaker.eMatchingLevel level)Sets target interface matching level
-
-
-
Method Detail
-
areConnectable_Gid
boolean areConnectable_Gid(List<String> resources) throws GeneralIfMMException, ResourceNotFoundException
Test are given resources connectable with each other- Parameters:
resources- List of tested resources. Full URI with namespace is expected.- Returns:
- true if all resources on the list are connectable with each other, and no resource is left unconnected.
- Throws:
GeneralIfMMExceptionResourceNotFoundException
-
makeInterfaceMatch_Gid
IfMatchResult makeInterfaceMatch_Gid(List<String> resources) throws GeneralIfMMException, ResourceNotFoundException
Test are given resources connectable with each other- Parameters:
resources- List of tested resources. Full URI with namespace is expected.- Returns:
- interface matchmaking result
- Throws:
GeneralIfMMExceptionResourceNotFoundException
-
hasNoInterfaces
List<String> hasNoInterfaces(List<String> resources)
Test if resource(s) has no interface definitions.- Parameters:
resources- List of tested resources- Returns:
- List of resources, which have not interface definitions made, and thus cannot be connected with any other resource.
-
setMatchingLevel
void setMatchingLevel(IInterfaceMatchMaker.eMatchingLevel level)
Sets target interface matching level- Parameters:
level- until which detail interface matchmaking is performed
-
-