- java.lang.Object
-
- net.oneandone.neberus.parse.RestClassData
-
public class RestClassData extends java.lang.ObjectContains data belonging the REST service class.
-
-
Field Summary
Fields Modifier and Type Field Description javax.lang.model.element.TypeElementclassDocjava.lang.StringclassNamejava.util.List<RestMethodData.ResponseData>commonResponseDataClass scope defined responses that will be added to every method in the whole class.java.lang.Stringdescriptionthe javadoc comment on the classjava.util.Map<java.lang.String,RestMethodData.HeaderInfo>headerDefinitionsClass scope defined headers that enable the reuse of the provided header description in the whole classjava.lang.Stringlabeljava.util.List<RestMethodData>methodsjava.lang.StringshortDescriptionthe value of anApiDescriptionannotation on the class
-
Constructor Summary
Constructors Constructor Description RestClassData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()voidvalidate(boolean ignoreErrors)
-
-
-
Field Detail
-
classDoc
public javax.lang.model.element.TypeElement classDoc
-
label
public java.lang.String label
-
className
public java.lang.String className
-
description
public java.lang.String description
the javadoc comment on the class
-
shortDescription
public java.lang.String shortDescription
the value of anApiDescriptionannotation on the class
-
methods
public java.util.List<RestMethodData> methods
-
headerDefinitions
public java.util.Map<java.lang.String,RestMethodData.HeaderInfo> headerDefinitions
Class scope defined headers that enable the reuse of the provided header description in the whole class
-
commonResponseData
public java.util.List<RestMethodData.ResponseData> commonResponseData
Class scope defined responses that will be added to every method in the whole class.
-
-