|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.nature.BuildSpecManipulator
public class BuildSpecManipulator
Handles changes to the project builder command list.
| Constructor Summary | |
|---|---|
BuildSpecManipulator(IProject project)
Construct a new command handler |
|
| Method Summary | |
|---|---|
void |
addBuilderAfter(String relativeBuilder,
String builder,
Map<?,?> arguments)
Add a new builder after the specified build. |
void |
addBuilderBefore(String relativeBuilder,
String builder,
Map<?,?> arguments)
Add a new builder before the specified build. |
void |
commitChanges(IProgressMonitor monitor)
Commit any changes made to the list of commands in the build specification. |
boolean |
hasArguments(String builder)
Return a boolean indicating whether the specified builder has arguments. |
boolean |
hasBuilder(String builder)
Return a boolean indicating whether the command list contains the specified builder. |
int |
indexOf(String builder)
Find the specified builder in the list of builders and return the index. |
void |
removeBuilder(String builder)
Remove the builder with the specified identifier. |
void |
replaceBuilder(String builder,
Map<?,?> arguments)
Replaces the specified builder with a new command and the specified arguments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildSpecManipulator(IProject project)
throws CoreException
CoreException| Method Detail |
|---|
public void addBuilderAfter(String relativeBuilder,
String builder,
Map<?,?> arguments)
throws CoreException
relativeBuilder - builder - arguments -
CoreException
public void addBuilderBefore(String relativeBuilder,
String builder,
Map<?,?> arguments)
throws CoreException
relativeBuilder - builder - arguments -
CoreException
public void commitChanges(IProgressMonitor monitor)
throws CoreException
monitor -
CoreException
public boolean hasArguments(String builder)
throws CoreException
builder -
CoreException
public boolean hasBuilder(String builder)
throws CoreException
builder -
CoreException
public int indexOf(String builder)
throws CoreException
-1 if not found.
builder -
CoreException
public void replaceBuilder(String builder,
Map<?,?> arguments)
throws CoreException
builder - arguments -
CoreException
public void removeBuilder(String builder)
throws CoreException
builder -
CoreException
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||