Class ParameterProperty<V>


  • public class ParameterProperty<V>
    extends Object
    System-property based parameters for tests and resources.
    • Constructor Detail

    • Method Detail

      • getPropertyName

        public String getPropertyName()
      • get

        public Optional<V> get()
        Retrieves the value of this property.
        Returns:
        Optional containing the value of this property
      • get

        public V get​(V defaultValue)
        Retrieves the value of this property, or the given default if no value was set.
        Returns:
        the value of this property, or the given default if no value was set