Annotation Type ModuleConfigField
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface ModuleConfigField
Annotation to enrich configuration fields with user facing information.This information is used to display and validate the annotated configuration value in the API as well as the UI.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String @NotNull []allowedValuesintarrayMaxItemsintarrayMinItemsbooleanarrayUniqueItemsModuleConfigField.CustomAttribute @NotNull []customAttributes@Nullable StringdefaultValue@Nullable StringdescriptionString @NotNull []enumDisplayValuesUse this on enum types if you wish to override the default display-names for a given enum value@Nullable ModuleConfigField.FieldTypeformatbooleanignoreIgnore field/ method during the process of generation of json schemadoublemultipleOfdoublenumberMaxdoublenumberMinbooleanreadOnlybooleanrequiredintstringMaxLengthintstringMinLength@Nullable StringstringPattern@Nullable StringtitlebooleanwriteOnly
-
-
-
-
format
@Nullable @Nullable ModuleConfigField.FieldType format
- Returns:
- Format for String properties
- Default:
- com.hivemq.adapter.sdk.api.annotations.ModuleConfigField.FieldType.UNSPECIFIED
-
-
-
customAttributes
ModuleConfigField.CustomAttribute @NotNull [] customAttributes
- Returns:
- custom attributes added to schema info
- Default:
- {}
-
-