public static class IEditorConfigurationBuilder.TagMetadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IEditorConfigurationBuilder.TagMetadata.Builder
Builder helper for metadata construction
|
Modifier and Type | Field and Description |
---|---|
java.lang.Class<?> |
actualType
When type is not really known or specific type should be used instead,
actual type can be specified to be used instead of the one Templater detected.
|
java.lang.String |
category
Category which can be used for grouping tags.
|
java.lang.String |
description
Description of the tag explaining its purpose.
|
java.lang.String |
example
Value example used for this tag.
|
IEditorConfigurationBuilder.TagStatus |
status
Status of the tag.
|
Constructor and Description |
---|
TagMetadata(IEditorConfigurationBuilder.TagStatus status,
java.lang.Class<?> actualType,
java.lang.String description,
java.lang.String example,
java.lang.String category)
Create tag metadata description.
|
Modifier and Type | Method and Description |
---|---|
static IEditorConfigurationBuilder.TagMetadata.Builder |
builder()
Helper builder for constructing tag metadata
|
public final IEditorConfigurationBuilder.TagStatus status
public final java.lang.Class<?> actualType
It's also useful when there is type conversion going on, where some other type will actually be processed, instead of the one defined in the type signature due to low-level plugins.
public final java.lang.String description
public final java.lang.String example
public final java.lang.String category
public TagMetadata(IEditorConfigurationBuilder.TagStatus status, java.lang.Class<?> actualType, java.lang.String description, java.lang.String example, java.lang.String category)
status
- status of the tagactualType
- when custom type will actually be useddescription
- description of the tagexample
- value example for the tagcategory
- category of the tagpublic static IEditorConfigurationBuilder.TagMetadata.Builder builder()