|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.ant4eclipse.ant.util.WorkspaceBase
net.sf.ant4eclipse.ant.util.ProjectBase
public class ProjectBase
Base class for project based tasks and conditions.
| Constructor Summary | |
|---|---|
ProjectBase(ProjectComponent component)
|
|
| Method Summary | |
|---|---|
EclipseProject |
getEclipseProject()
Returns the associated eclipse project. |
boolean |
isProjectNameSet()
Returns true if the project name has been set. |
boolean |
isProjectSet()
Returns true if the project has been set. |
void |
requireWorkspaceAndProjectNameOrProjectSet()
Requires that either the workspace and the project name or the project directory. |
void |
setProject(java.io.File projectDirectory)
Sets the project directory. |
void |
setProjectName(java.lang.String projectName)
Sets the name of the project. |
| Methods inherited from class net.sf.ant4eclipse.ant.util.WorkspaceBase |
|---|
getDirSeparator, getPathSeparator, getWorkspace, isInitialiseWorkspaceSet, isWorkspaceSet, requireWorkspaceSet, setDirSeparator, setInitialiseWorkspace, setPathProperty, setPathSeparator, setStringProperty, setWorkspace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectBase(ProjectComponent component)
component - | Method Detail |
|---|
public EclipseProject getEclipseProject()
throws BuildException
BuildException - thrown if the eclipse project could not be read.public final void setProjectName(java.lang.String projectName)
projectName - the name of the project.public final boolean isProjectNameSet()
true if the project name has been set.
true if the project name has been set.public final void setProject(java.io.File projectDirectory)
projectDirectory - the project directory.public final boolean isProjectSet()
true if the project has been set.
true if the project has been set.public final void requireWorkspaceAndProjectNameOrProjectSet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||