Package com.linecorp.armeria.server.docs
Class DescriptionInfo
java.lang.Object
com.linecorp.armeria.server.docs.DescriptionInfo
Description of a type, a field, a method or a parameter.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the documentation string.static DescriptionInfo
empty()
Returns an emptyDescriptionInfo
.boolean
static DescriptionInfo
from
(Description description) Creates a newDescriptionInfo
from the specifiedDescription
.int
hashCode()
markup()
Returns the supported markup.static DescriptionInfo
Creates a newDescriptionInfo
with the docStrings.static DescriptionInfo
Creates a newDescriptionInfo
with the docStrings and specific markup.toString()
-
Method Details
-
of
Creates a newDescriptionInfo
with the docStrings and specific markup.- Parameters:
docString
- the documentation string of the fieldmarkup
- the support markup of the field
-
of
Creates a newDescriptionInfo
with the docStrings.- Parameters:
docString
- the documentation string of the field
-
from
Creates a newDescriptionInfo
from the specifiedDescription
. -
empty
Returns an emptyDescriptionInfo
. -
docString
Returns the documentation string. -
markup
Returns the supported markup. -
equals
-
hashCode
public int hashCode() -
toString
-