org.gradle.plugins.ide.eclipse.model

## Class WbResource

- java.lang.Object
- - groovy.lang.GroovyObjectSupport
  - - org.gradle.plugins.ide.eclipse.model.WbResource

- All Implemented Interfaces:
    GroovyObject, WbModuleEntry

      public class WbResource
      extends GroovyObjectSupport
      implements WbModuleEntry

  A wtp descriptor resource entry.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WbResource(Node node)`
    `WbResource(Object node)` Deprecated.
    `WbResource(String deployPath, String sourcePath)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `appendNode(Node node)`
    `boolean` | `equals(Object o)`
    `String` | `getDeployPath()`
    `String` | `getSourcePath()`
    `int` | `hashCode()`
    `void` | `setDeployPath(String deployPath)`
    `void` | `setSourcePath(String sourcePath)`
    `String` | `toString()`

    - ### Methods inherited from class groovy.lang.GroovyObjectSupport

      `getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### WbResource

          public WbResource(Node node)

    - #### WbResource

          @Deprecated
          public WbResource(Object node)

      Deprecated.

    - #### WbResource

          public WbResource(String deployPath,
                    String sourcePath)

  - ### Method Detail

    - #### getDeployPath

          public String getDeployPath()

    - #### setDeployPath

          public void setDeployPath(String deployPath)

    - #### getSourcePath

          public String getSourcePath()

    - #### setSourcePath

          public void setSourcePath(String sourcePath)

    - #### appendNode

          public void appendNode(Node node)

      Specified by:
        `appendNode` in interface `WbModuleEntry`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`