Interface AWorkspace
-
- All Superinterfaces:
AAbstraction
- All Known Implementing Classes:
EclipseWorkspace,PlainJavaWorkspace
public interface AWorkspace extends AAbstraction
A workspace contains allprojectsand allows global operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuild(ABuildKind buildKind, org.eclipse.core.runtime.IProgressMonitor monitor)Builds all projects in this workspace.AWorkspaceRootgetRoot()Returns the resource representing this workspace.voidrun(org.eclipse.core.runtime.ICoreRunnable action, org.eclipse.core.runtime.IProgressMonitor monitor)Runs the given action, reporting progress to the given monitor-
Methods inherited from interface org.faktorips.devtools.abstraction.AAbstraction
unwrap
-
-
-
-
Method Detail
-
getRoot
AWorkspaceRoot getRoot()
Returns the resource representing this workspace.
-
run
void run(org.eclipse.core.runtime.ICoreRunnable action, @CheckForNull org.eclipse.core.runtime.IProgressMonitor monitor)Runs the given action, reporting progress to the given monitor- Parameters:
action- an action to be run in the context of this workspacemonitor- a progress monitor that is notified about the action's process. Individual processing steps may be reported to the monitor to allow fine-grained progress reporting. The monitor may benullwhen progress does not need to be reported.
-
build
void build(ABuildKind buildKind, @CheckForNull org.eclipse.core.runtime.IProgressMonitor monitor)
Builds all projects in this workspace.- Parameters:
buildKind- the kind of build to performmonitor- a progress monitor that is notified about the build process. Individual file processing is reported to the monitor to allow fine-grained progress reporting. The monitor may benullwhen progress does not need to be reported.
-
-