Class DefaultExtensionComponent

    • Constructor Detail

      • DefaultExtensionComponent

        public DefaultExtensionComponent​(String roleType,
                                         String roleHint)
        Parameters:
        roleType - the class of the component role as String
        roleHint - the hint of the component role
    • Method Detail

      • toCanonicalComponentType

        public static String toCanonicalComponentType​(String componentType)
        Parameters:
        componentType - the component type to clean
        Returns:
        the canonical version of the component type name
      • toCanonicalComponentHint

        public static String toCanonicalComponentHint​(String componentHint)
        Parameters:
        componentHint - the component hint to clean
        Returns:
        the canonical version of the component hint
        Since:
        13.3
      • equalRoleType

        public boolean equalRoleType​(String type)
        Description copied from interface: ExtensionComponent
        The same type can be represented as several different String so it's recommended to use this method when you want to compare a type name with this extension component type.
        Specified by:
        equalRoleType in interface ExtensionComponent
        Parameters:
        type - the type name to compare
        Returns:
        true of the passed type name is equals to the component one
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object