Freigeben über


AnnotationFormat Class

public final class AnnotationFormat
extends ExpandableStringEnum<AnnotationFormat>

Representation format of annotations in analyze result markdown.

Field Summary

Modifier and Type Field and Description
static final AnnotationFormat MARKDOWN

Represent basic annotation information using markdown formatting.

static final AnnotationFormat NONE

Do not represent annotations.

Constructor Summary

Constructor Description
AnnotationFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AnnotationFormat value.

Method Summary

Modifier and Type Method and Description
static AnnotationFormat fromString(String name)

Creates or finds a AnnotationFormat from its string representation.

static Collection<AnnotationFormat> values()

Gets known AnnotationFormat values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MARKDOWN

public static final AnnotationFormat MARKDOWN

Represent basic annotation information using markdown formatting.

NONE

public static final AnnotationFormat NONE

Do not represent annotations.

Constructor Details

AnnotationFormat

@Deprecated
public AnnotationFormat()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AnnotationFormat value.

Method Details

fromString

public static AnnotationFormat fromString(String name)

Creates or finds a AnnotationFormat from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AnnotationFormat.

values

public static Collection<AnnotationFormat> values()

Gets known AnnotationFormat values.

Returns:

known AnnotationFormat values.

Applies to