public abstract class APISpecification extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
APISpecification.APISpecType |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
apiSpecificationContent |
protected String |
apiSpecificationFile |
protected String |
backendBasepath |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
APISpecification() |
APISpecification(byte[] apiSpecificationContent,
String backendBasepath) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
configure() |
protected abstract void |
configureBasepath() |
boolean |
equals(Object other) |
abstract APISpecification.APISpecType |
getAPIDefinitionType() |
byte[] |
getApiSpecificationContent() |
String |
getApiSpecificationFile() |
void |
setApiSpecificationContent(byte[] apiSpecificationContent) |
void |
setApiSpecificationFile(String apiSpecificationFile) |
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected String apiSpecificationFile
protected byte[] apiSpecificationContent
protected String backendBasepath
public APISpecification(byte[] apiSpecificationContent,
String backendBasepath)
throws AppException
AppExceptionpublic APISpecification()
public String getApiSpecificationFile()
public void setApiSpecificationFile(String apiSpecificationFile)
public byte[] getApiSpecificationContent()
public void setApiSpecificationContent(byte[] apiSpecificationContent)
protected abstract void configureBasepath()
throws AppException
AppExceptionpublic abstract APISpecification.APISpecType getAPIDefinitionType() throws AppException
AppExceptionpublic abstract boolean configure()
throws AppException
AppExceptionCopyright © 2020. All rights reserved.