Access | Constructor and Description |
---|---|
public | Reference()
Deprecated
since 1.7.
Please use
Create a reference.
Reference#Reference(Project, String)
instead.
|
public | Reference(String
the name of this reference id)
Deprecated
since 1.7.
Please use
Create a reference to a named ID.
Reference#Reference(Project, String)
instead.
|
public |
Modifier and Type | Method and Description |
---|---|
public Project | |
public < desired object type T> T | Returns: the dereferenced object.the fallback project to use if the project attribute of
reference is not set. fallback)Resolve the reference, using the associated project if it set, otherwise use the passed in project. |
public < desired object type T> T | Returns: the dereferenced object.Resolve the reference, looking in the associated project. |
public String | |
public void | |
public void | setRefId(String
the reference id to use id)Set the reference id. Should not normally be necessary;
use |
project | back to summary |
---|---|
private Project project |
refid | back to summary |
---|---|
private String refid |
Reference | back to summary |
---|---|
public Reference()
Deprecated since 1.7.
Please use Create a reference.
|
Reference | back to summary |
---|---|
public Reference(String id)
Deprecated since 1.7.
Please use Create a reference to a named ID.
|
Reference | back to summary |
---|---|
public Reference(Project p, String id) Create a reference to a named ID in a particular project. |
getProject | back to summary |
---|---|
public Project getProject() Get the associated project, if any; may be null.
|
getReferencedObject | back to summary |
---|---|
public <T> T getReferencedObject(Project fallback) throws BuildException Resolve the reference, using the associated project if it set, otherwise use the passed in project.
|
getReferencedObject | back to summary |
---|---|
public <T> T getReferencedObject() throws BuildException Resolve the reference, looking in the associated project.
|
getRefId | back to summary |
---|---|
public String getRefId() Get the reference id of this reference.
|
setProject | back to summary |
---|---|
public void setProject(Project p) Set the associated project. Should not normally be necessary;
use
|
setRefId | back to summary |
---|---|
public void setRefId(String id) Set the reference id. Should not normally be necessary;
use
|