|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ant4eclipse.ant.util.WorkspaceBase
public class WorkspaceBase
Base class for all Tasks working with an eclipse workspace.
Constructor Summary | |
---|---|
WorkspaceBase(ProjectComponent component)
|
Method Summary | |
---|---|
java.lang.String |
getDirSeparator()
Returns the currently used directory separator. |
java.lang.String |
getPathSeparator()
Returns the currently used path separator. |
Workspace |
getWorkspace()
|
boolean |
isInitialiseWorkspaceSet()
Returns true if workspace should be loaded initially. |
boolean |
isWorkspaceSet()
Returns whether a workspace has been set to this task |
void |
requireWorkspaceSet()
|
void |
setDirSeparator(java.lang.String newdirseparator)
Changes the current directory separator. |
void |
setInitialiseWorkspace(boolean enable)
If enabled the workspace will be completely loaded when set. |
void |
setPathProperty(java.lang.String propertyname,
ResolvedPathEntry[] pathentries)
Changes the path property according to the developers requirements. |
void |
setPathSeparator(java.lang.String newpathseparator)
Changes the path separator for this task. |
void |
setStringProperty(java.lang.String propertyname,
java.lang.String value)
Changes the string property. |
void |
setWorkspace(java.io.File workspace)
Sets the workspace for this task |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkspaceBase(ProjectComponent component)
Method Detail |
---|
public final Workspace getWorkspace()
public final boolean isWorkspaceSet()
public final void requireWorkspaceSet()
public final void setWorkspace(java.io.File workspace)
workspace
- Path to workspace that should be associated with this Taskpublic void setPathSeparator(java.lang.String newpathseparator)
newpathseparator
- The new path separator.public java.lang.String getPathSeparator()
public void setDirSeparator(java.lang.String newdirseparator)
newdirseparator
- The new directory separator.public java.lang.String getDirSeparator()
public void setPathProperty(java.lang.String propertyname, ResolvedPathEntry[] pathentries)
propertyname
- The name of the property that has to be set.pathentries
- The path entries containing the values.public void setStringProperty(java.lang.String propertyname, java.lang.String value)
propertyname
- The name of the property that has to be set.value
- The value for the property.public void setInitialiseWorkspace(boolean enable)
enable
- true <=> Load each potential project first.public boolean isInitialiseWorkspaceSet()
true
if workspace should be loaded initially.
true
if the workspace should be loaded initially.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |