|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask
net.sf.ant4eclipse.ant.task.project.GetReferencedProjectsTask
public class GetReferencedProjectsTask
Returns all referenced projects of a specified project
Nested Class Summary | |
---|---|
static class |
GetReferencedProjectsTask.NonJavaProjectHandling
|
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_SEPARATOR
the default seperator |
static java.lang.String |
SOURCE_CLASSPATH
read projects from classpath (default) |
static java.lang.String |
SOURCE_PROJECT
read projects from .project file |
Constructor Summary | |
---|---|
GetReferencedProjectsTask()
|
Method Summary | |
---|---|
void |
execute()
|
java.lang.String |
getProperty()
Returns the name of an ant property that will hold the list of referenced projects. |
java.lang.String |
getSeparator()
Returns an (optional) separator that is used to separate the project names. |
java.lang.String |
getSource()
Return where to read the referenced projects from. |
boolean |
isExportedOnly()
|
boolean |
isPropertySet()
|
boolean |
isReadFromClasspath()
|
boolean |
isReadFromProject()
|
boolean |
isRecursive()
Returns if required projects should be resolve recursive. |
void |
requirePropertySet()
|
protected void |
requireSourceSet()
|
void |
setExportedOnly(boolean exportedOnly)
|
void |
setProperty(java.lang.String property)
Sets the name of an ant property that will hold the list of referenced projects. |
void |
setRecursive(boolean recursive)
Specifies if required projects should be resolve recursive. |
void |
setSeparator(java.lang.String separator)
Sets an (optional) separator that is used to separate the project names. |
void |
setSource(java.lang.String source)
Sets where to read the referenced projects from. |
Methods inherited from class net.sf.ant4eclipse.ant.task.project.AbstractProjectBasedTask |
---|
ensureJavaProject, getEclipseProject, getWorkspace, hasText, isProjectNameSet, isProjectSet, isWorkspaceSet, requireWorkspaceAndProjectNameOrProjectSet, requireWorkspaceSet, setInitialiseWorkspace, setProject, setProjectName, setWorkspace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_SEPARATOR
public static final java.lang.String SOURCE_CLASSPATH
public static final java.lang.String SOURCE_PROJECT
Constructor Detail |
---|
public GetReferencedProjectsTask()
Method Detail |
---|
public java.lang.String getProperty()
Returns the name of an ant property that will hold the list of referenced projects.
public void setProperty(java.lang.String property)
Sets the name of an ant property that will hold the list of referenced projects.
property
- the name of an ant property that will hold the list of referenced projects.public java.lang.String getSeparator()
Returns an (optional) separator that is used to separate the project names.
public void setSeparator(java.lang.String separator)
Sets an (optional) separator that is used to separate the project names.
separator
- an (optional) separator that is used to separate the project names.public java.lang.String getSource()
Return where to read the referenced projects from. Allowed values are 'classpath' or 'project'.
public void setSource(java.lang.String source)
Sets where to read the referenced projects from. Allowed values are 'classpath' or 'project'.
source
- where to read the referenced projects from.public boolean isRecursive()
Returns if required projects should be resolve recursive.
public void setRecursive(boolean recursive)
Specifies if required projects should be resolve recursive. This attibute is optional and has to be specified only
when source=project
. Defaults to true.
recursive
- true
if required projects should be resolve recursive.public boolean isExportedOnly()
public void setExportedOnly(boolean exportedOnly)
public boolean isPropertySet()
public void requirePropertySet()
protected void requireSourceSet()
public boolean isReadFromProject()
public boolean isReadFromClasspath()
public void execute() throws BuildException
BuildException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |