Class RequireCapabilityDTO


  • public class RequireCapabilityDTO
    extends org.osgi.dto.DTO
    A representation of a required capability.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String cardinality
      Indicates if the requirement can be wired a single time or multiple times.
      java.lang.String effective
      The time at which the requirement will be considered.
      java.lang.String filter
      A filter expression that is asserted on the Capabilities.
      java.lang.String namespace
      The namespace of the capability.
      java.lang.String resolution
      Indicates if the resolution is optional or mandatory.
      java.util.Map<java.lang.String,​TypedAttributeValueDTO> typedAttributes
      A map of attributes used by the filter.
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • namespace

        public java.lang.String namespace
        The namespace of the capability.

        Must not be null.

      • effective

        public java.lang.String effective
        The time at which the requirement will be considered.

        If it is not specified this field must be set to "resolve".

      • resolution

        public java.lang.String resolution
        Indicates if the resolution is optional or mandatory.

        If it is not specified this field must be set to "mandatory".

      • cardinality

        public java.lang.String cardinality
        Indicates if the requirement can be wired a single time or multiple times.

        If it is not specified this field must be set to "single".

      • filter

        public java.lang.String filter
        A filter expression that is asserted on the Capabilities.

        If it is not specified this field must be null.

      • typedAttributes

        public java.util.Map<java.lang.String,​TypedAttributeValueDTO> typedAttributes
        A map of attributes used by the filter.

        If it is not specified this field must be empty.

    • Constructor Detail

      • RequireCapabilityDTO

        public RequireCapabilityDTO()