Class Discoverer<T extends Replaceable>
java.lang.Object
tools.mdsd.mocore.framework.discovery.Discoverer<T>
- Type Parameters:
T- the type ofReplaceablethe discoverer provides
Represents a provider for a specific type of
Replaceable instances.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDiscoverer(Set<T> discoveries, Class<T> discoveryType) Creates a new discoverer instance. -
Method Summary
Modifier and TypeMethodDescriptionGets theReplaceableinstances the discoverer contains.Gets the type ofReplaceableinstances the discoverer contains.
-
Constructor Details
-
Discoverer
Creates a new discoverer instance.- Parameters:
discoveries- theReplaceableinstances the discoverer contains and providesdiscoveryType- the type of theReplaceableinstances
-
-
Method Details
-
getDiscoveries
Gets theReplaceableinstances the discoverer contains.- Returns:
- the contained
Replaceableinstances.
-
getDiscoveryType
Gets the type ofReplaceableinstances the discoverer contains.- Returns:
- the type of the contained
Replaceableinstances.
-