public class InfoDescriptor extends AbstractDescriptor
Descriptor
for generic information and configuration.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 and Description |
---|
InfoDescriptor() |
Modifier and Type | Method and Description |
---|---|
ContactDescriptor |
getContact() |
String |
getDescription() |
LicenseDescriptor |
getLicense() |
String |
getTermsOfService() |
String |
getTitle() |
String |
getVersion() |
void |
setContact(ContactDescriptor contact) |
void |
setDescription(String description) |
void |
setLicense(LicenseDescriptor license) |
void |
setTermsOfService(String termsOfService) |
void |
setTitle(String title) |
void |
setVersion(String version) |
notNull
public String getTitle()
public void setTitle(String title)
title
- is the title to setpublic String getDescription()
public void setDescription(String description)
description
- is the description to setpublic String getTermsOfService()
public void setTermsOfService(String termsOfService)
termsOfService
- is the termsOfService to setpublic ContactDescriptor getContact()
public void setContact(ContactDescriptor contact)
contact
- is the contact to setpublic LicenseDescriptor getLicense()
public void setLicense(LicenseDescriptor license)
license
- is the license to setpublic String getVersion()
public void setVersion(String version)
version
- is the version to setCopyright © 2015–2021 MojoHaus. All rights reserved.