Class InfoDescriptor
java.lang.Object
org.codehaus.mojo.servicedocgen.descriptor.AbstractDescriptor
org.codehaus.mojo.servicedocgen.descriptor.InfoDescriptor
- All Implemented Interfaces:
Descriptor
Descriptor for generic information and configuration.- Author:
- hohwille
-
Field Summary
Fields inherited from interface Descriptor
HTTP_METHOD_DELETE, HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_OPTIONS, HTTP_METHOD_PATCH, HTTP_METHOD_POST, HTTP_METHOD_PUT, LOCATION_BODY, LOCATION_COOKIE, LOCATION_FORM_DATA, LOCATION_HEADER, LOCATION_PATH, LOCATION_QUERY, SCHEME_HTTP, SCHEME_HTTPS, SCHEME_WS, SCHEME_WSS, STATUS_CODE_BAD_REQUEST, STATUS_CODE_CONFLICT, STATUS_CODE_FORBIDDEN, STATUS_CODE_INTERNAL_SERVER_ERROR, STATUS_CODE_NO_CONTENT, STATUS_CODE_SUCCESS, STATUS_CODE_UNAUTHORIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()voidsetContact(ContactDescriptor contact) voidsetDescription(String description) voidsetLicense(LicenseDescriptor license) voidsetTermsOfService(String termsOfService) voidvoidsetVersion(String version) Methods inherited from class AbstractDescriptor
notNull
-
Constructor Details
-
InfoDescriptor
public InfoDescriptor()
-
-
Method Details
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
title- is the title to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- is the description to set
-
getTermsOfService
- Returns:
- the termsOfService
-
setTermsOfService
- Parameters:
termsOfService- is the termsOfService to set
-
getContact
- Returns:
- the contact
-
setContact
- Parameters:
contact- is the contact to set
-
getLicense
- Returns:
- the license
-
setLicense
- Parameters:
license- is the license to set
-
getVersion
- Returns:
- the version
-
setVersion
- Parameters:
version- is the version to set
-