Package com.hivemq.adapter.sdk.api
Interface ProtocolAdapterInformation
-
public interface ProtocolAdapterInformationA metadata object that describes the Adapter type into the platform. Will also give an indication to the features and allows it to be categorized in the UI / API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull StringgetAuthor()The entity (person or company) who is responsible for producing the adapterdefault @NotNull EnumSet<ProtocolAdapterCapability>getCapabilities()Get the capabilities associated with the adapter.@Nullable ProtocolAdapterCategorygetCategory()An adapter can be in a single category.@NotNull StringgetDescription()@NotNull StringgetDisplayName()@NotNull StringgetLogoUrl()@NotNull StringgetProtocolId()@NotNull StringgetProtocolName()@Nullable List<ProtocolAdapterTag>getTags()Tag represents the keywords that can be associated with this type of adapter@NotNull StringgetUrl()@NotNull StringgetVersion()
-
-
-
Method Detail
-
getProtocolName
@NotNull @NotNull String getProtocolName()
- Returns:
- the technically correct protocol name as defined by the standard, for example "Http" or "Mqtt".
-
getProtocolId
@NotNull @NotNull String getProtocolId()
- Returns:
- Protocol ID that will be used by the platform to group types, search and categories. NOTE: The format of this ID is important, it must be alpha-numeric without spaces and unique within the system.
-
getDisplayName
@NotNull @NotNull String getDisplayName()
- Returns:
- The visual name to display in the protocol adapter catalog for example "HTTP(s) to MQTT Protocol Adapter"
-
getAuthor
@NotNull @NotNull String getAuthor()
The entity (person or company) who is responsible for producing the adapter- Returns:
- the name of the authoring entity
-
getCategory
@Nullable @Nullable ProtocolAdapterCategory getCategory()
An adapter can be in a single category. This helps discovery purposes- Returns:
- the category in which the adapter resides
-
getTags
@Nullable @Nullable List<ProtocolAdapterTag> getTags()
Tag represents the keywords that can be associated with this type of adapter- Returns:
- a list of associated tags that can be used for search purposes
-
getCapabilities
@NotNull default @NotNull EnumSet<ProtocolAdapterCapability> getCapabilities()
Get the capabilities associated with the adapter. For more information on capabilities, please refer to theProtocolAdapterCapabilitydescriptions.- Returns:
- an
EnumSetcontaining the capabilities of the adapter
-
-