Class SimplePropertyProvider

    • Constructor Detail

      • SimplePropertyProvider

        protected SimplePropertyProvider​(@NotNull
                                         @NotNull Properties properties)
    • Method Detail

      • hasProperty

        public boolean hasProperty​(@NotNull
                                   @NotNull String key)
        Description copied from interface: PropertyProvider
        Does this provider have a given property
        Specified by:
        hasProperty in interface PropertyProvider
        Parameters:
        key - property key
        Returns:
        true if provider has a property
      • getProperty

        @Nullable
        public @Nullable String getProperty​(@NotNull
                                            @NotNull String key)
        Description copied from interface: PropertyProvider
        Retrieve property value
        Specified by:
        getProperty in interface PropertyProvider
        Parameters:
        key - property key
        Returns:
        property value or null if property is not provided