org.ops4j.pax.exam.options
Interface ProvisionControl<T extends ProvisionControl>
- All Known Subinterfaces:
- ProvisionOption<T>
- All Known Implementing Classes:
- AbstractDelegateProvisionOption, AbstractProvisionControl, AbstractProvisionOption, AbstractUrlProvisionOption, BundleScannerProvisionOption, CompositeScannerProvisionOption, DirScannerProvisionOption, EasyMockBundlesOption, FeaturesScannerProvisionOption, FileScannerProvisionOption, JMockBundlesOption, JUnitBundlesOption, MavenArtifactProvisionOption, MockitoBundlesOption, PomScannerProvisionOption, RawScannerProvisionOption, UrlProvisionOption, WrappedUrlProvisionOption
public interface ProvisionControl<T extends ProvisionControl>
Provision control options.
- Since:
- 0.5.0, April 27, 2009
- Author:
- Alin Dreghiciu (adreghiciu@gmail.com)
Method Summary |
java.lang.Integer |
getStartLevel()
The start level for the provisioned bundle(s). |
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. |
shouldUpdate
boolean shouldUpdate()
- If the provisioned bundle(s) should be updated (re-downloaded).
By default bundles should be updated.
- Returns:
- true if the bundle(s) should be updated, false otherwise.
shouldStart
boolean shouldStart()
- If the provisioned bundle(s) should be started.
By default bundles should be started.
- Returns:
- true if the bundle(s) should be started, false otherwise.
getStartLevel
java.lang.Integer getStartLevel()
- The start level for the provisioned bundle(s).
- Returns:
- start level.
If the returned value is null, default behavior will be used
update
T update(java.lang.Boolean shouldUpdate)
- Setter.
- Parameters:
shouldUpdate
- true if the provisioned bundle(s) should be updated, false otherwise
- Returns:
- itself, for fluent api usage
update
T update()
- Setter. Specifyies that the provisioned bundle(s) should be updated.
- Returns:
- itself, for fluent api usage
noUpdate
T noUpdate()
- Setter. Specifyies that the provisioned bundle(s) should not be updated.
- Returns:
- itself, for fluent api usage
start
T start(java.lang.Boolean shouldStart)
- Setter.
- Parameters:
shouldStart
- true if the provisioned bundle(s) should be started, false otherwise
- Returns:
- itself, for fluent api usage
start
T start()
- Setter. Specifyies that the provisioned bundle(s) should be started.
- Returns:
- itself, for fluent api usage
noStart
T noStart()
- Setter. Specifyies that the provisioned bundle(s) should not be started.
- Returns:
- itself, for fluent api usage
startLevel
T startLevel(java.lang.Integer startLevel)
- Setter.
- Parameters:
startLevel
- start level of the provisioned bundle(s)
- Returns:
- itself, for fluent api usage
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.