Interface IInterfaceMatchMaker
-
- All Known Implementing Classes:
InterfaceMatchMaker
public interface IInterfaceMatchMaker
Interface class for Interface Matchmaking process- Author:
- Niko Siltala
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IInterfaceMatchMaker.eMatchingLevel
Enumeration for indicating level until interface matchmaking is used.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
areConnectable_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.IfMatchResult
makeInterfaceMatch_Gid(List<String> resources)
Test are given resources connectable with each othervoid
setMatchingLevel(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:
GeneralIfMMException
ResourceNotFoundException
-
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:
GeneralIfMMException
ResourceNotFoundException
-
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
-
-