Class OptionalValuesBean

java.lang.Object
org.eclipse.microprofile.config.tck.OptionalValuesBean

@Dependent public class OptionalValuesBean extends Object
Declare a bean for config property injections.
Author:
Mark Struberg, Emily Jiang
  • Constructor Details

    • OptionalValuesBean

      public OptionalValuesBean()
  • Method Details

    • setStringValue

      @Inject public void setStringValue(Optional<String> stringValue)
    • getStringValue

      public Optional<String> getStringValue()
    • getIntProperty

      public Optional<Integer> getIntProperty()
    • getNotexistingProperty

      public Optional<Integer> getNotexistingProperty()
    • getNotExistingStringProperty

      public Optional<String> getNotExistingStringProperty()
    • getOptionalIntProperty

      public OptionalInt getOptionalIntProperty()
    • getOptionalNotExistingIntProperty

      public OptionalInt getOptionalNotExistingIntProperty()
    • getOptionalLongProperty

      public OptionalLong getOptionalLongProperty()
    • getOptionalNotExistingLongProperty

      public OptionalLong getOptionalNotExistingLongProperty()
    • getOptionalDoubleProperty

      public OptionalDouble getOptionalDoubleProperty()
    • getOptionalNotExistingDoubleProperty

      public OptionalDouble getOptionalNotExistingDoubleProperty()