Class ComponentMatcher


  • public final class ComponentMatcher
    extends java.lang.Object
    Matches a SLEE component ID, such as a profile spec ID.
    • Method Detail

      • matches

        @Nonnull
        public ResultAndWarnings<java.lang.Boolean> matches​(java.lang.String name,
                                                            java.lang.String vendor,
                                                            java.lang.String version)
        Returns the result of matching the given component ID, along with any warnings.
      • getName

        @Nonnull
        public StringMatcher getName()
        The matcher for the component name.
      • getVendor

        @Nonnull
        public StringMatcher getVendor()
        The matcher for the component vendor.
      • getVersion

        @Nonnull
        public StringMatcher getVersion()
        The matcher for the component version.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object