|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectaQute.bnd.concurrent.MultiBuilder
public class MultiBuilder
This class implements a concurrent builder. It manages the build process in an environment where many threads can initiate builds. Users should call changed(Project,boolean)
Constructor Summary | |
---|---|
MultiBuilder(Workspace workspace)
Constructor |
Method Summary | |
---|---|
File[] |
build(Project p)
Return the build result of a project. |
void |
changed(Project p)
Indicate that the project has changed. |
void |
schedule(boolean sync)
Schedule a new build if no build is running otherwise return. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiBuilder(Workspace workspace)
workspace
- the workspace this MultiBuilder works for.Method Detail |
---|
public File[] build(Project p) throws Exception
p
- the project
Exception
public void changed(Project p) throws Exception
p
- the project that is changed
Exception
public void schedule(boolean sync) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |