Interface Capability

    • Method Detail

      • getKey

        @NotNull
        @NotNull String getKey()
        Get the key representing the capability
      • getValue

        @Nullable
        @Nullable String getValue()
        A value of the capability property. For matching to Requirement
      • getCapabilitySource

        @Nullable
        @Nullable CapabilitySource getCapabilitySource()
        Get source in which the ability is defined
      • getValueWithDefault

        @NotNull
        @NotNull String getValueWithDefault()
        A null-safe getter of value of the capability property. For matching to Requirement
        Returns:
        value or empty string if value is null
      • setCapabilitySet

        void setCapabilitySet​(CapabilitySet capabilitySet)
      • setValue

        void setValue​(String value)
      • setKey

        void setKey​(@NotNull
                    @NotNull String key)
      • setCapabilitySource

        void setCapabilitySource​(@Nullable
                                 @Nullable CapabilitySource capabilitySource)
      • copyValueFrom

        void copyValueFrom​(Capability other)
      • copySourceFrom

        void copySourceFrom​(Capability other)