AntCallBack.Reference (Ant Contrib)
Date: 2016-06-25

net.sf.antcontrib.logic

## Class AntCallBack.Reference

- java.lang.Object
- - org.apache.tools.ant.types.Reference
  - - net.sf.antcontrib.logic.AntCallBack.Reference

- Enclosing class:
    AntCallBack

      public static class AntCallBack.Reference
      extends org.apache.tools.ant.types.Reference

  Helper class that implements the nested <reference> element of <ant> and <antcall>.
  Author:
    danson

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AntCallBack.Reference()` Creates a reference to be configured by Ant

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getToRefid()` Get the id under which this reference will be stored in the new project
    `void` | `setToRefid(java.lang.String targetid)` Set the id that this reference to be stored under in the new project.

    - ### Methods inherited from class org.apache.tools.ant.types.Reference

      `getProject, getReferencedObject, getReferencedObject, getRefId, setProject, setRefId`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AntCallBack.Reference

          public AntCallBack.Reference()

      Creates a reference to be configured by Ant

  - ### Method Detail

    - #### setToRefid

          public void setToRefid(java.lang.String targetid)

      Set the id that this reference to be stored under in the new project.
      Parameters:
        `targetid` - the id under which this reference will be passed to the new project

    - #### getToRefid

          public java.lang.String getToRefid()

      Get the id under which this reference will be stored in the new project
      Returns:
        the id of the reference in the new project.