public class

BootClasspathLibraryOption

extends Object
implements Option
java.lang.Object
   ↳ org.ops4j.pax.exam.options.BootClasspathLibraryOption

Class Overview

Option specifying a library that will be made available in teh boot classpath.

Summary

Public Constructors
BootClasspathLibraryOption(String libraryUrl)
Constructor.
BootClasspathLibraryOption(UrlReference libraryUrl)
Constructor.
Public Methods
BootClasspathLibraryOption afterFramework()
To be used to specify that this library should be in the classpath after framework library.
BootClasspathLibraryOption beforeFramework()
To be used to specify that this library should be in the classpath before framework library.
UrlReference getLibraryUrl()
Getter.
boolean isAfterFramework()
Getter.
boolean isBeforeFramework()
Getter.
String toString()
Protected Methods
BootClasspathLibraryOption itself()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BootClasspathLibraryOption (String libraryUrl)

Constructor.

Parameters
libraryUrl library url (cannot be null or empty)
Throws
IllegalArgumentException - If url is null or empty

public BootClasspathLibraryOption (UrlReference libraryUrl)

Constructor.

Parameters
libraryUrl library url (cannot be null or empty)
Throws
IllegalArgumentException - If url is null

Public Methods

public BootClasspathLibraryOption afterFramework ()

To be used to specify that this library should be in the classpath after framework library.

Returns
  • itself, for fluent api usage

public BootClasspathLibraryOption beforeFramework ()

To be used to specify that this library should be in the classpath before framework library.

Returns
  • itself, for fluent api usage

public UrlReference getLibraryUrl ()

Getter.

Returns
  • library url

public boolean isAfterFramework ()

Getter.

Returns
  • true if the library should be after framework library in the classpath.

public boolean isBeforeFramework ()

Getter.

Returns
  • true if the library should be before framework library in the classpath.

public String toString ()

Protected Methods

protected BootClasspathLibraryOption itself ()