public interface

ProvisionControl

org.ops4j.pax.exam.options.ProvisionControl<T extends org.ops4j.pax.exam.options.ProvisionControl<?>>
Known Indirect Subclasses

Class Overview

Provision control options.

Summary

Public Methods
abstract Integer getStartLevel()
The start level for the provisioned bundle(s).
abstract T noStart()
Setter.
abstract T noUpdate()
Setter.
abstract boolean shouldStart()
If the provisioned bundle(s) should be started.
abstract boolean shouldUpdate()
If the provisioned bundle(s) should be updated (re-downloaded).
abstract T start()
Setter.
abstract T start(Boolean shouldStart)
Setter.
abstract T startLevel(Integer startLevel)
Setter.
abstract T update(Boolean shouldUpdate)
Setter.
abstract T update()
Setter.

Public Methods

public abstract Integer getStartLevel ()

The start level for the provisioned bundle(s).

Returns
  • start level. If the returned value is null, default behavior will be used

public abstract T noStart ()

Setter. Specifyies that the provisioned bundle(s) should not be started.

Returns
  • itself, for fluent api usage

public abstract T noUpdate ()

Setter. Specifyies that the provisioned bundle(s) should not be updated.

Returns
  • itself, for fluent api usage

public abstract 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.

public abstract 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.

public abstract T start ()

Setter. Specifyies that the provisioned bundle(s) should be started.

Returns
  • itself, for fluent api usage

public abstract T start (Boolean shouldStart)

Setter.

Parameters
shouldStart true if the provisioned bundle(s) should be started, false otherwise
Returns
  • itself, for fluent api usage

public abstract T startLevel (Integer startLevel)

Setter.

Parameters
startLevel start level of the provisioned bundle(s)
Returns
  • itself, for fluent api usage

public abstract T update (Boolean shouldUpdate)

Setter.

Parameters
shouldUpdate true if the provisioned bundle(s) should be updated, false otherwise
Returns
  • itself, for fluent api usage

public abstract T update ()

Setter. Specifyies that the provisioned bundle(s) should be updated.

Returns
  • itself, for fluent api usage