org.eclipse.gmt.modisco.infra.discoverymanager
Interface Discoverer
- All Known Implementing Classes:
- AbstractComposedKDMSourceDiscoverer, AbstractDiscovererImpl, AbstractRegionDiscoverer, DefaultDiscoverer, DeploymentDescriptorDiscoverer, DiscoverBidirectionalAssociationsInUmlModel, DiscoverDependenciesFromJavaModel, DiscoverDependenciesFromJavaProject, DiscoverDependenciesFromJdtPackage, DiscoverDependenciesFromJdtType, DiscoverDependenciesFromTypeDeclaration, DiscoverEclipsePluginFromJavaProject, DiscovererHandler, DiscoverJspModelFromContainer, DiscoverJspModelFromFile, DiscoverJspModelFromProject, DiscoverKDMSourceAndJavaModel, DiscoverMethodCallsModelFromAbstractMethodDeclaration, DiscoverMethodCallsModelFromJavaModel, DiscoverMethodCallsModelFromJavaOperation, DiscoverMethodCallsModelFromJavaProject, DiscoverSourceModelFromContainer, DiscoverSourceModelFromJavaProject, DiscoverUmlModelFromJavaProject, DiscoverUmlModelFromKdmModel, DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject, DiscoverUmlModelWithRealTypesFromJavaProject, DiscoveryCustomizationToUmlModelFromJavaProject, EjbJarDiscoverer, ManifestModelDiscoverer, ProjectDeploymentDescriptorDiscoverer, PropertiesModelDiscoverer, WebXmlDiscoverer, XMLModelDiscoverer
Deprecated. use org.eclipse.modisco.infra.discovery.core framework
@Deprecated
public interface Discoverer
In the context of model-driven reverse-engineering, a discoverer is a
component that injects information into a model to represent physical
elements (a source file is considered as a physical element).
Method Summary |
Resource |
discoverElement(java.lang.Object source,
URI target)
Deprecated. |
java.util.List<DiscoveryParameter> |
getDiscovererParameters()
Deprecated. Get a complete list of all parameters available in this discoverer. |
boolean |
isApplicableTo(java.lang.Object source)
Deprecated. To determine if the source object can be handled by the discoverer. |
isApplicableTo
boolean isApplicableTo(java.lang.Object source)
- Deprecated.
- To determine if the source object can be handled by the discoverer. Each
discoverer has to implement this method with its own criteria to filter
the selected object. If the source object is managed by this discoverer,
the discoverer menu will be available in the pop-up menu when users click
with the contextual button (right-click), and in the discoverer launch
configuration types.
- Parameters:
source
- the selected object.
- Returns:
true
if the selected object is managed by this
discoverer, false
otherwise.
discoverElement
@Deprecated
Resource discoverElement(java.lang.Object source,
URI target)
- Deprecated.
- Execute the discovery task from the selected object. This is a method
adapted to a common use of discoverers.
- Parameters:
source
- the selected object.target
- the target URI (can be null
)
- Returns:
- the EMF resource of the target model discovered from source.
getDiscovererParameters
java.util.List<DiscoveryParameter> getDiscovererParameters()
- Deprecated.
- Get a complete list of all parameters available in this discoverer.
Further information should be provided to indicate features of each
parameter; for example, direction kind (in, out, in-out), whether the
parameter is optional or not ...
- Returns:
- the set of parameter names provided by this discoverer.