|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.exam.options.AbstractProvisionControl<T>
public abstract class AbstractProvisionControl<T extends AbstractProvisionControl>
Abstract implementation of ProvisionControl
.
Constructor Summary | |
---|---|
AbstractProvisionControl()
Constructor. |
Method Summary | |
---|---|
java.lang.Integer |
getStartLevel()
The start level for the provisioned bundle(s). |
protected abstract T |
itself()
Implemented by sub classes in order to return itself (this) for fluent api usage |
T |
noStart()
Setter. |
T |
noUpdate()
Setter. |
boolean |
shouldStart()
If the provisioned bundle(s) should be started. |
boolean |
shouldUpdate()
If the provisioned bundle(s) should be updated (re-downloaded). |
T |
start()
Setter. |
T |
start(java.lang.Boolean shouldStart)
Setter. |
T |
startLevel(java.lang.Integer startLevel)
Setter. |
T |
update()
Setter. |
T |
update(java.lang.Boolean shouldUpdate)
Setter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractProvisionControl()
Method Detail |
---|
public boolean shouldUpdate()
shouldUpdate
in interface ProvisionControl<T extends AbstractProvisionControl>
public T update(java.lang.Boolean shouldUpdate)
update
in interface ProvisionControl<T extends AbstractProvisionControl>
shouldUpdate
- true if the provisioned bundle(s) should be updated, false otherwise
public T update()
update
in interface ProvisionControl<T extends AbstractProvisionControl>
public T noUpdate()
noUpdate
in interface ProvisionControl<T extends AbstractProvisionControl>
public boolean shouldStart()
shouldStart
in interface ProvisionControl<T extends AbstractProvisionControl>
public T start(java.lang.Boolean shouldStart)
start
in interface ProvisionControl<T extends AbstractProvisionControl>
shouldStart
- true if the provisioned bundle(s) should be started, false otherwise
public T start()
start
in interface ProvisionControl<T extends AbstractProvisionControl>
public T noStart()
noStart
in interface ProvisionControl<T extends AbstractProvisionControl>
public java.lang.Integer getStartLevel()
getStartLevel
in interface ProvisionControl<T extends AbstractProvisionControl>
public T startLevel(java.lang.Integer startLevel)
startLevel
in interface ProvisionControl<T extends AbstractProvisionControl>
startLevel
- start level of the provisioned bundle(s)
protected abstract T itself()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |