public abstract class AbstractProjectDeploymentDescriptorDiscoverer extends AbstractModelDiscoverer<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
static int |
FLUSH_LIMIT |
Constructor and Description |
---|
AbstractProjectDeploymentDescriptorDiscoverer() |
Modifier and Type | Method and Description |
---|---|
static Resource |
createResource(java.lang.String resourceName) |
abstract Factory |
getDiscovererFactory() |
abstract AbstractDeploymentDescriptorDiscoverer<java.io.File> |
getSingleFileDiscoverer() |
static java.lang.String |
getSourcePath(java.lang.Object source) |
static IProject |
getSourceProject(java.lang.Object source) |
boolean |
isApplicableTo(java.lang.Object source)
To determine if the source object can be handled by the discoverer.
|
void |
listXmlFiles(java.lang.String path,
java.util.ArrayList<java.io.File> paths) |
discoverElement, getDefaultTargetURI, getTargetModel, getTargetURI, setSerializeTarget, setTargetModel, setTargetURI
isAFolder, isAJavaProject, isAnIFileWithExtension, isAProject, setRefreshSourceBeforeDiscovery
public static final int FLUSH_LIMIT
public AbstractProjectDeploymentDescriptorDiscoverer()
public abstract AbstractDeploymentDescriptorDiscoverer<java.io.File> getSingleFileDiscoverer()
public abstract Factory getDiscovererFactory()
public boolean isApplicableTo(java.lang.Object source)
IDiscoverer
Some usual implementations are proposed on AbstractDiscoverer
.
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> paths)
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)