org.eclipse.modisco.jee.actions
Class ProjectDeploymentDescriptorDiscoverer

java.lang.Object
  extended by org.eclipse.modisco.jee.actions.ProjectDeploymentDescriptorDiscoverer
All Implemented Interfaces:
Discoverer

Deprecated. replaced by AbstractProjectDeploymentDescriptorDiscoverer

@Deprecated
public abstract class ProjectDeploymentDescriptorDiscoverer
extends java.lang.Object
implements Discoverer

Deployment descriptor discoverers use for now single file discovery, which could be extended for discovering packages, projects ... The proposed class facilitates the creation of new Deployement Descriptor discoverer on a container.


Field Summary
static int FLUSH_LIMIT
          Deprecated.  
 
Constructor Summary
ProjectDeploymentDescriptorDiscoverer()
          Deprecated.  
 
Method Summary
static Resource createResource(java.lang.String resourceName)
          Deprecated.  
 void discoverElement(java.lang.Object source, java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
          Deprecated. Execute the discovery task from the selected object.
abstract  Factory getDiscovererFactory()
          Deprecated.  
 java.util.List<DiscoveryParameter> getDiscovererParameters()
          Deprecated. Get a complete list of all parameters available in this discoverer.
abstract  DeploymentDescriptorDiscoverer getSingleFileDiscoverer()
          Deprecated.  
static java.lang.String getSourcePath(java.lang.Object source)
          Deprecated.  
static IProject getSourceProject(java.lang.Object source)
          Deprecated.  
 boolean isApplicableTo(java.lang.Object source)
          Deprecated. To determine if the source object can be handled by the discoverer.
 void listXmlFiles(java.lang.String path, java.util.ArrayList<java.io.File> listPath)
          Deprecated.  
static void saveResource(Resource resource, IProgressMonitor monitor)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLUSH_LIMIT

public static final int FLUSH_LIMIT
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

ProjectDeploymentDescriptorDiscoverer

public ProjectDeploymentDescriptorDiscoverer()
Deprecated. 
Method Detail

getSingleFileDiscoverer

public abstract DeploymentDescriptorDiscoverer getSingleFileDiscoverer()
Deprecated. 

getDiscovererFactory

public abstract Factory getDiscovererFactory()
Deprecated. 

isApplicableTo

public boolean isApplicableTo(java.lang.Object source)
Deprecated. 
Description copied from interface: Discoverer
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.

Specified by:
isApplicableTo in interface Discoverer
Parameters:
source - the selected object.
Returns:
true if the selected object is managed by this discoverer, false otherwise.

listXmlFiles

public void listXmlFiles(java.lang.String path,
                         java.util.ArrayList<java.io.File> listPath)
Deprecated. 

getSourceProject

public static IProject getSourceProject(java.lang.Object source)
Deprecated. 

getSourcePath

public static java.lang.String getSourcePath(java.lang.Object source)
Deprecated. 

createResource

public static Resource createResource(java.lang.String resourceName)
Deprecated. 

discoverElement

public void discoverElement(java.lang.Object source,
                            java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
Deprecated. 
Description copied from interface: Discoverer
Execute the discovery task from the selected object. This is a method adapted to a common use of discoverers.

Specified by:
discoverElement in interface Discoverer
Parameters:
source - the selected object.
parameters - the target URI (can be null)

saveResource

public static void saveResource(Resource resource,
                                IProgressMonitor monitor)
                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getDiscovererParameters

public java.util.List<DiscoveryParameter> getDiscovererParameters()
Deprecated. 
Description copied from interface: Discoverer
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 ...

Specified by:
getDiscovererParameters in interface Discoverer
Returns:
the set of parameter names provided by this discoverer.