|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.eclipse.core.resources.ant.RefreshLocalTask
public class RefreshLocalTask
An Ant task which refreshes the Eclipse Platform's view of the local filesystem.
IResource.refreshLocal(int, IProgressMonitor)| Field Summary | |
|---|---|
static java.lang.String |
DEPTH_INFINITE
Unique identifier constant (value "DEPTH_INFINITE")
indicating that refreshes should be performed on the target
resource and all of its recursive children |
static java.lang.String |
DEPTH_ONE
Unique identifier constant (value "DEPTH_ONE")
indicating that refreshes should be performed on the target
resource and its children |
static java.lang.String |
DEPTH_ZERO
Unique identifier constant (value "DEPTH_ZERO")
indicating that refreshes should be performed only on the target
resource itself |
| Constructor Summary | |
|---|---|
RefreshLocalTask()
Constructs a new RefreshLocal instance. |
|
| Method Summary | |
|---|---|
void |
execute()
Performs the refresh operation. |
void |
setDepth(java.lang.String value)
Sets the depth of this task appropriately. |
void |
setResource(java.lang.String value)
Sets the root of the workspace resource tree to refresh. |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEPTH_ZERO
"DEPTH_ZERO")
indicating that refreshes should be performed only on the target
resource itself
public static final java.lang.String DEPTH_ONE
"DEPTH_ONE")
indicating that refreshes should be performed on the target
resource and its children
public static final java.lang.String DEPTH_INFINITE
"DEPTH_INFINITE")
indicating that refreshes should be performed on the target
resource and all of its recursive children
| Constructor Detail |
|---|
public RefreshLocalTask()
RefreshLocal instance.
| Method Detail |
|---|
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - thrown if a problem occurs during execution.public void setDepth(java.lang.String value)
RefreshLocal.DEPTH_ZERO, RefreshLocal.DEPTH_ONE
or RefreshLocal.DEPTH_INFINITE.
value - the depth to refresh topublic void setResource(java.lang.String value)
value - the root value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||