prantl.ant.eclipse
Class EclipseElement
java.lang.Object
prantl.ant.eclipse.EclipseElement
public class EclipseElement
- extends java.lang.Object
Configures the behavior of the generation of the output files and contains descriptions
of ther content.
- Since:
- Ant-Eclipse 1.0
- Author:
- Ferdinand Prantl <prantl@users.sourceforge.net>
Nested Class Summary |
static class |
EclipseElement.Mode
EnumeratedAttribute implementation supporting the available project modes. |
Constructor Summary |
EclipseElement()
Creates a new instance of the configuration container. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseElement
public EclipseElement()
- Creates a new instance of the configuration container.
- Since:
- Ant-Eclipse 1.0
isUpdateAlways
public boolean isUpdateAlways()
- Returns:
- Returns the updateAlways.
setUpdateAlways
public void setUpdateAlways(boolean flag)
- Parameters:
dir
- The updateAlways to set.
getDestDir
public java.io.File getDestDir()
- Returns:
- Returns the destDir.
setDestDir
public void setDestDir(java.io.File dir)
- Parameters:
dir
- The destDir to set.
isFailOnError
public boolean isFailOnError()
- Returns:
- Returns the failOnError.
setFailOnError
public void setFailOnError(boolean flag)
- Parameters:
flag
- The failOnError to set.
getErrorProperty
public java.lang.String getErrorProperty()
- Returns:
- Returns the errorProperty.
setErrorProperty
public void setErrorProperty(java.lang.String name)
- Parameters:
name
- The name of the property to set.
getMode
public EclipseElement.Mode getMode()
- Returns:
- Returns the mode.
setMode
public void setMode(EclipseElement.Mode value)
- Parameters:
value
- The value of the property to set.
getSettings
public SettingsElement getSettings()
- Returns:
- Returns the settings.
setSettings
public void setSettings(SettingsElement element)
- Parameters:
element
- The settings to set.
getProject
public ProjectElement getProject()
- Returns:
- Returns the project.
setProject
public void setProject(ProjectElement element)
- Parameters:
element
- The project to set.
getClassPath
public ClassPathElement getClassPath()
- Returns:
- Returns the classPath.
setClassPath
public void setClassPath(ClassPathElement element)
- Parameters:
element
- The classPath to set.