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