Class ParameterProperty<V>

java.lang.Object
org.apache.flink.test.parameters.ParameterProperty<V>

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

  • Method Details

    • 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