public class WorkspaceBase
extends java.lang.Object
Constructor and Description |
---|
WorkspaceBase(ProjectComponent component) |
Modifier and Type | Method and Description |
---|---|
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
|
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.