Interface ServiceInfo

    • Method Detail

      • type

        String type()
        Returns the service class name.
        Returns:
        Service class name.
      • properties

        Map<String,​ServiceProperty<?>> properties()
        Returns an immutable map of service properties.
        Returns:
        Service properties.
      • property

        ServiceProperty<?> property​(String name)
        Returns the property value or null if there is no such property.
        Parameters:
        name - Property name.
        Returns:
        Property value or null.
      • intProperty

        default Integer intProperty​(String name)
        Returns the property value or null if there is no such property or if property is not of ServiceProperty.Type.INTEGER type.
        Parameters:
        name - Property name.
        Returns:
        Property value or null.
      • longProperty

        default Long longProperty​(String name)
        Returns the property value or null if there is no such property or if property is not of ServiceProperty.Type.LONG type.
        Parameters:
        name - Property name.
        Returns:
        Property value or null.
      • boolProperty

        default Boolean boolProperty​(String name)
        Returns the property value or null if there is no such property or if property is not of ServiceProperty.Type.BOOLEAN type.
        Parameters:
        name - Property name.
        Returns:
        Property value or null.
      • stringProperty

        default String stringProperty​(String name)
        Returns the property value or null if there is no such property or if property is not of ServiceProperty.Type.STRING type.
        Parameters:
        name - Property name.
        Returns:
        Property value or null.