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.XmlPersistableConfigurationObjectCreates the .settings/org.eclipse.wst.common.component file for WTP projects.
-
-
Constructor Summary
Constructors Constructor Description WtpComponent(org.gradle.internal.xml.XmlTransformer xmlTransformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(String deployName, String contextPath, List<WbModuleEntry> newEntries)booleanequals(Object o)StringgetContextPath()protected StringgetDefaultResourceName()StringgetDeployName()List<WbModuleEntry>getWbModuleEntries()inthashCode()protected voidload(Node xml)voidsetContextPath(String contextPath)voidsetDeployName(String deployName)voidsetWbModuleEntries(List<WbModuleEntry> wbModuleEntries)protected voidstore(Node xml)StringtoString()-
Methods inherited from class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
findFirstChildNamed, findFirstChildWithAttributeValue, findFirstWithAttributeValue, findOrCreateFirstChildNamed, findOrCreateFirstChildWithAttributeValue, getChildren, getXml, load, store, transformAction, transformAction
-
-
-
-
Method Detail
-
getDefaultResourceName
protected String getDefaultResourceName()
- Specified by:
getDefaultResourceNamein classorg.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
-
getDeployName
public String getDeployName()
-
setDeployName
public void setDeployName(String deployName)
-
getContextPath
public String getContextPath()
-
setContextPath
public void setContextPath(String contextPath)
-
getWbModuleEntries
public List<WbModuleEntry> getWbModuleEntries()
-
setWbModuleEntries
public void setWbModuleEntries(List<WbModuleEntry> wbModuleEntries)
-
configure
public void configure(String deployName, String contextPath, List<WbModuleEntry> newEntries)
-
load
protected void load(Node xml)
- Overrides:
loadin classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
store
protected void store(Node xml)
- Overrides:
storein classorg.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
-
-