public class SdkConnector extends JavaTemplateEntity
| Modifier and Type | Field and Description |
|---|---|
static String |
API_METADATA_CATEGORY |
BASE_CLASSNAME_SUFFIX, BASE_PACKAGE_SUFFIX, connectorModel, FIRST_GENERATION_TEMPLATE, IGNORED_OVERRIDE_TEMPLATE, IGNORED_REFINEMENT_TEMPLATE, NAME_MEMBER, outputDir, REFINEMENT_CLASSNAME_SUFFIX, REFINEMENT_PACKAGE_SUFFIX, runConfiguration, VALUE_MEMBER| Constructor and Description |
|---|
SdkConnector(Path outputDir,
com.mulesoft.connectivity.rest.sdk.internal.connectormodel.ConnectorModel connectorModel,
RestSdkRunConfiguration runConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTemplates() |
String |
getJavaName() |
com.squareup.javapoet.TypeName |
getOutputAttributesResolver() |
Map<String,com.squareup.javapoet.TypeName> |
getParentSampleDataProviders() |
Map<String,com.squareup.javapoet.TypeName> |
getParentValueProviders() |
com.squareup.javapoet.TypeName |
getTypeName() |
Map<com.mulesoft.connectivity.rest.sdk.internal.connectormodel.type.schema.TypeSchema,String> |
getTypeSchemaNames() |
generateOptionalGetter, getArgumentsFromValueProvider, getArgumentsFromValueProviderDefinition, getConstantStringField, getConstantStringField, getJavaFileBuilderForClass, getJavaType, getResourcesPath, getSourcesPath, getValueProviderAnnotation, writeClassToFile, writeClassToFile, writeJavaFile, writeJavaFilegetTemplateEnginepublic static final String API_METADATA_CATEGORY
public SdkConnector(Path outputDir, com.mulesoft.connectivity.rest.sdk.internal.connectormodel.ConnectorModel connectorModel, RestSdkRunConfiguration runConfiguration) throws TemplatingException
TemplatingExceptionpublic String getJavaName()
public void applyTemplates()
throws TemplatingException
applyTemplates in class TemplateEntityTemplatingExceptionpublic com.squareup.javapoet.TypeName getTypeName()
public com.squareup.javapoet.TypeName getOutputAttributesResolver()
public Map<com.mulesoft.connectivity.rest.sdk.internal.connectormodel.type.schema.TypeSchema,String> getTypeSchemaNames()
Copyright © 2022. All rights reserved.