Class WtpComponent
java.lang.Object
org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
org.gradle.plugins.ide.eclipse.model.WtpComponent
- All Implemented Interfaces:
org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject
public class WtpComponent
extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Creates the .settings/org.eclipse.wst.common.component file for WTP projects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(String deployName, String contextPath, List<WbModuleEntry> newEntries) boolean
protected String
int
hashCode()
protected void
void
setContextPath
(String contextPath) void
setDeployName
(String deployName) void
setWbModuleEntries
(List<WbModuleEntry> wbModuleEntries) protected void
toString()
Methods inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformAction
Methods inherited from class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
load, loadDefaults, store
-
Constructor Details
-
WtpComponent
public WtpComponent(org.gradle.internal.xml.XmlTransformer xmlTransformer)
-
-
Method Details
-
getDefaultResourceName
- Specified by:
getDefaultResourceName
in classorg.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
-
getDeployName
-
setDeployName
-
getContextPath
-
setContextPath
-
getWbModuleEntries
-
setWbModuleEntries
-
configure
-
load
- Overrides:
load
in classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
store
- Overrides:
store
in classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
equals
-
hashCode
public int hashCode() -
toString
-