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

@Deprecated public class WtpComponent extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
Deprecated.
Will be removed in Gradle 10.
Creates the .settings/org.eclipse.wst.common.component file for WTP projects.
Since:
1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    WtpComponent(org.gradle.internal.xml.XmlTransformer xmlTransformer)
    Deprecated.
    Creates a new WtpComponent.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(String deployName, String contextPath, List<WbModuleEntry> newEntries)
    Deprecated.
    Configure.
    boolean
    Deprecated.
     
    Deprecated.
    Returns the context path.
    protected String
    Deprecated.
     
    Deprecated.
    Returns the deploy name.
    Deprecated.
    Returns the wb module entries.
    int
    Deprecated.
     
    protected void
    load(Node xml)
    Deprecated.
     
    void
    setContextPath(String contextPath)
    Deprecated.
    Sets the context path.
    void
    setDeployName(String deployName)
    Deprecated.
    Sets the deploy name.
    void
    Deprecated.
    Sets the wb module entries.
    protected void
    store(Node xml)
    Deprecated.
     
    Deprecated.
     

    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

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WtpComponent

      public WtpComponent(org.gradle.internal.xml.XmlTransformer xmlTransformer)
      Deprecated.
      Creates a new WtpComponent.
      Since:
      1.0
  • Method Details

    • getDefaultResourceName

      protected String getDefaultResourceName()
      Deprecated.
      Specified by:
      getDefaultResourceName in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
    • getDeployName

      public String getDeployName()
      Deprecated.
      Returns the deploy name.
      Since:
      1.0
    • setDeployName

      public void setDeployName(String deployName)
      Deprecated.
      Sets the deploy name.
      Since:
      1.0
    • getContextPath

      public String getContextPath()
      Deprecated.
      Returns the context path.
      Since:
      1.0
    • setContextPath

      public void setContextPath(String contextPath)
      Deprecated.
      Sets the context path.
      Since:
      1.0
    • getWbModuleEntries

      public List<WbModuleEntry> getWbModuleEntries()
      Deprecated.
      Returns the wb module entries.
      Since:
      1.0
    • setWbModuleEntries

      public void setWbModuleEntries(List<WbModuleEntry> wbModuleEntries)
      Deprecated.
      Sets the wb module entries.
      Since:
      1.0
    • configure

      public void configure(String deployName, String contextPath, List<WbModuleEntry> newEntries)
      Deprecated.
      Configure.
      Since:
      1.0
    • load

      protected void load(Node xml)
      Deprecated.
      Overrides:
      load in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
    • store

      protected void store(Node xml)
      Deprecated.
      Overrides:
      store in class org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object