public class

FrameworkPropertyOption

extends Object
implements ValueOption<T>
java.lang.Object
   ↳ org.ops4j.pax.exam.options.FrameworkPropertyOption

Class Overview

Option specifying a framework property.

Summary

Public Constructors
FrameworkPropertyOption(String key)
Constructor.
Public Methods
String getKey()
Getter.
Object getValue()
Getter.
String toString()
FrameworkPropertyOption value(Object _value)
Sets the system property value.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.ops4j.pax.exam.options.ValueOption

Public Constructors

public FrameworkPropertyOption (String key)

Constructor.

Parameters
key system property key (cannot be null or empty)
Throws
IllegalArgumentException - If key is null or empty

Public Methods

public String getKey ()

Getter.

Returns
  • system property key (cannot be null or empty)

public Object getValue ()

Getter.

Returns
  • system property value (cannot be null, can be empty)

public String toString ()

public FrameworkPropertyOption value (Object _value)

Sets the system property value.

Parameters
_value system property value (cannot be null, can be empty)
Returns
  • itself, for fluent api usage
Throws
IllegalArgumentException - If value is null