Class WtpFacet

  • All Implemented Interfaces:
    org.gradle.plugins.ide.internal.generator.generator.PersistableConfigurationObject

    public class WtpFacet
    extends org.gradle.plugins.ide.internal.generator.XmlPersistableConfigurationObject
    Creates the .settings/org.eclipse.wst.common.project.facet.core.xml file for WTP projects.
    • Constructor Summary

      Constructors 
      Constructor Description
      WtpFacet​(org.gradle.internal.xml.XmlTransformer xmlTransformer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(java.util.List<Facet> facets)  
      boolean equals​(java.lang.Object o)  
      protected java.lang.String getDefaultResourceName()  
      java.util.List<Facet> getFacets()  
      int hashCode()  
      protected void load​(Node xml)  
      void setFacets​(java.util.List<Facet> facets)  
      protected void store​(Node xml)  
      java.lang.String 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
      • Methods inherited from class java.lang.Object

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

      • WtpFacet

        public WtpFacet​(org.gradle.internal.xml.XmlTransformer xmlTransformer)
    • Method Detail

      • getFacets

        public java.util.List<Facet> getFacets()
      • setFacets

        public void setFacets​(java.util.List<Facet> facets)
      • load

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

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

        protected java.lang.String getDefaultResourceName()
        Specified by:
        getDefaultResourceName in class org.gradle.plugins.ide.internal.generator.AbstractPersistableConfigurationObject
      • configure

        public void configure​(java.util.List<Facet> facets)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object