|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.modisco.jee.actions.ProjectDeploymentDescriptorDiscoverer
AbstractProjectDeploymentDescriptorDiscoverer
@Deprecated public abstract class ProjectDeploymentDescriptorDiscoverer
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 |
---|
public static final int FLUSH_LIMIT
Constructor Detail |
---|
public ProjectDeploymentDescriptorDiscoverer()
Method Detail |
---|
public abstract DeploymentDescriptorDiscoverer getSingleFileDiscoverer()
public abstract Factory getDiscovererFactory()
public boolean isApplicableTo(java.lang.Object source)
Discoverer
isApplicableTo
in interface Discoverer
source
- the selected object.
true
if the selected object is managed by this
discoverer, false
otherwise.public void listXmlFiles(java.lang.String path, java.util.ArrayList<java.io.File> listPath)
public static IProject getSourceProject(java.lang.Object source)
public static java.lang.String getSourcePath(java.lang.Object source)
public static Resource createResource(java.lang.String resourceName)
public void discoverElement(java.lang.Object source, java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
Discoverer
discoverElement
in interface Discoverer
source
- the selected object.parameters
- the target URI (can be null
)public static void saveResource(Resource resource, IProgressMonitor monitor) throws java.io.IOException
java.io.IOException
public java.util.List<DiscoveryParameter> getDiscovererParameters()
Discoverer
getDiscovererParameters
in interface Discoverer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |