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 Summary
Constructors Constructor Description OptionalValuesBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Integer>getIntProperty()Optional<Integer>getNotexistingProperty()Optional<String>getNotExistingStringProperty()OptionalDoublegetOptionalDoubleProperty()OptionalIntgetOptionalIntProperty()OptionalLonggetOptionalLongProperty()OptionalDoublegetOptionalNotExistingDoubleProperty()OptionalIntgetOptionalNotExistingIntProperty()OptionalLonggetOptionalNotExistingLongProperty()Optional<String>getStringValue()voidsetStringValue(Optional<String> stringValue)
-
-
-
Method Detail
-
getOptionalIntProperty
public OptionalInt getOptionalIntProperty()
-
getOptionalNotExistingIntProperty
public OptionalInt getOptionalNotExistingIntProperty()
-
getOptionalLongProperty
public OptionalLong getOptionalLongProperty()
-
getOptionalNotExistingLongProperty
public OptionalLong getOptionalNotExistingLongProperty()
-
getOptionalDoubleProperty
public OptionalDouble getOptionalDoubleProperty()
-
getOptionalNotExistingDoubleProperty
public OptionalDouble getOptionalNotExistingDoubleProperty()
-
-