public class

Info

extends Object
java.lang.Object
   ↳ org.ops4j.pax.exam.Info

Class Overview

A helper class to find versioning and other meta information about this pax exam delivery. Fully static

Summary

Public Methods
static String getOps4jBaseVersion()
Discovers the Ops4j base version.
static String getPaxExamVersion()
Discovers the Pax Exam version.
static String getPaxSwissboxVersion()
Discovers the Pax Swissbox version.
static String getPaxUrlVersion()
Discovers the Pax Url version.
static boolean isOps4jBaseSnapshotVersion()
Getter.
static boolean isPaxExamSnapshotVersion()
Getter.
static boolean isPaxSwissboxSnapshotVersion()
Getter.
static boolean isPaxUrlSnapshotVersion()
Getter.
static void showLogo()
Display ops4j logo to console.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static String getOps4jBaseVersion ()

Discovers the Ops4j base version. If version cannot be determined returns an empty string.

Returns
  • the ops4j base version.

public static String getPaxExamVersion ()

Discovers the Pax Exam version. If version cannot be determined returns an empty string.

Returns
  • pax exam version

public static String getPaxSwissboxVersion ()

Discovers the Pax Swissbox version. If version cannot be determined returns an empty string.

Returns
  • pax swissbox version

public static String getPaxUrlVersion ()

Discovers the Pax Url version. If version cannot be determined returns an empty string.

Returns
  • pax url version

public static boolean isOps4jBaseSnapshotVersion ()

Getter.

Returns
  • true if ops4j base is a snapshot version, false otherwise

public static boolean isPaxExamSnapshotVersion ()

Getter.

Returns
  • true if pax exam is a snapshot version, false otherwise

public static boolean isPaxSwissboxSnapshotVersion ()

Getter.

Returns
  • true if pax swissbox is a snapshot version, false otherwise.

public static boolean isPaxUrlSnapshotVersion ()

Getter.

Returns
  • true if pax url is a snapshot version, false otherwise

public static void showLogo ()

Display ops4j logo to console.