Skip navigation links
B C D E G H I M N O P R S T U V 

B

buildFromEnvironment(RoundEnvironment) - Static method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
Create a template paths configuration by scanning the classpath for the configuration annotation TypeScriptTemplatesConfiguration.

C

ConcreteTypeNodeFactory - Interface in org.leandreck.endpoints.processor.model.typefactories
 
containsMapping(String) - Static method in enum org.leandreck.endpoints.processor.model.typefactories.TypeNodeKind
 
createEndpointNode(TypeElement) - Method in class org.leandreck.endpoints.processor.model.EndpointNodeFactory
 
createRequestMapping(ExecutableElement) - Method in class org.leandreck.endpoints.processor.model.RequestMappingFactory
 
createTypeNode(String, String, boolean, TypeMirror, DeclaredType) - Method in interface org.leandreck.endpoints.processor.model.typefactories.ConcreteTypeNodeFactory
Factory-Method for creating concrete TypeNode instances.
createTypeNode(TypeMirror) - Method in class org.leandreck.endpoints.processor.model.TypeNodeFactory
Factory Method to create new Root-TypeNodes like Returnvalues of Methods.
createTypeNode(TypeMirror, DeclaredType) - Method in class org.leandreck.endpoints.processor.model.TypeNodeFactory
Factory Method to create new Root-TypeNodes like Generics.
createTypeNode(String, String, TypeMirror, DeclaredType) - Method in class org.leandreck.endpoints.processor.model.TypeNodeFactory
Factory Method to create a new TypeNode.

D

DEFAULT_API_MODULE - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_ENDPOINT - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_ENUMERATION - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_INDEX - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_INTERFACE - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_DELETE - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_GET - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_HEAD - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_OPTIONS - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_PATCH - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_POST - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_PUT - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_SUFFIX_TRACE - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
DEFAULT_USE_SUFFIXES - Static variable in annotation type org.leandreck.endpoints.annotations.TypeScriptTemplatesConfiguration
 
defineChildren(TypeElement, DeclaredType) - Method in class org.leandreck.endpoints.processor.model.TypeNodeFactory
 
definedValue(String...) - Static method in class org.leandreck.endpoints.processor.model.StringUtil
Returns the first defined value from the list of items, or null if no value is defined.

E

EndpointNode - Class in org.leandreck.endpoints.processor.model
 
EndpointNodeFactory - Class in org.leandreck.endpoints.processor.model
 
EndpointNodeFactory(TemplateConfiguration, Types, Elements) - Constructor for class org.leandreck.endpoints.processor.model.EndpointNodeFactory
 
Engine - Class in org.leandreck.endpoints.processor.printer
Handles Freemarker initialization and processing of the templates.
Engine(TemplateConfiguration) - Constructor for class org.leandreck.endpoints.processor.printer.Engine
 
EnumValue - Class in org.leandreck.endpoints.processor.model
 
EnumValue(String) - Constructor for class org.leandreck.endpoints.processor.model.EnumValue
 
equals(Object) - Method in class org.leandreck.endpoints.processor.model.TypeNode
 

G

getAnnotationForClass(TypeMirror, Class<A>, Types) - Static method in class org.leandreck.endpoints.processor.model.typefactories.TypeNodeUtils
 
getApiModuleTemplate() - Method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
 
getAsFunctionParameter() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Returns the parameterName if set or the fieldName and appends an '?'
getAsVariableName() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Returns the parameterName if set or the fieldName and does not append an '?'
getChildren() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 
getDeleteMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getElement() - Method in exception org.leandreck.endpoints.processor.model.typefactories.MissingConfigurationTemplateException
 
getElementsWithConfiguration() - Method in exception org.leandreck.endpoints.processor.config.MultipleConfigurationsFoundException
getEndpoints() - Method in class org.leandreck.endpoints.processor.printer.TypesPackage
 
getEndpointTemplate() - Method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
 
getEnumTemplate() - Method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
 
getEnumValues() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 
getFieldName() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Declared name of this Type as Methodparameter or Variable.
getFunctionParameterTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
Returns the combined list of MethodNode.getRequestBodyType(), MethodNode.getPathVariableTypes() and MethodNode.getQueryParameterTypes() ordered by TypeNode.isOptional() so that all optional Parameters come after all required.
getGetMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getGlobalPrintConfiguration() - Method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
 
getHeadMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getHttpMethods() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getImports() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 
getIndexTemplate() - Method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
 
getInterfaceTemplate() - Method in class org.leandreck.endpoints.processor.config.TemplateConfiguration
 
getKind() - Method in class org.leandreck.endpoints.processor.model.TypeNode
TypeNodeKind of this TypeNode.
getMapping(String) - Static method in enum org.leandreck.endpoints.processor.model.typefactories.TypeNodeKind
 
getMethodParameterTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
getMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getName() - Method in class org.leandreck.endpoints.processor.model.EnumValue
 
getName() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getOptionalMethodParameterTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
Returns the combined list of all optional MethodNode.getPathVariableTypes() and MethodNode.getQueryParameterTypes()
getOptionsMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getParameterName() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Declared name or value in RequestParam or PathVariable Annotation of this Type.
getPatchMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getPathVariableTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getPostMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getPrintConfiguration() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
Template Engine Configuration of this EndpointNode for customizing the generated output.
getPutMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getQueryParameterTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getRequestBodyType() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getRequiredMethodParameterTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
getReturnType() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getServiceName() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getServiceURL() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getSuffixDelete() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-DELETE Methods.
getSuffixGet() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-GET Methods.
getSuffixHead() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-HEAD Methods.
getSuffixOptions() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-OPTIONS Methods.
getSuffixPatch() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-PATCH Methods.
getSuffixPost() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-POST Methods.
getSuffixPut() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-PUT Methods.
getSuffixTrace() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Suffix for HTTP-TRACE Methods.
getSupportedAnnotationTypes() - Method in class org.leandreck.endpoints.processor.TypeScriptEndpointProcessor
 
getTemplate() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getTemplate() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Classpath to the Freemarker Template which is used to generate this TypeNode.
getTraceMethods() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getType() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Returns the template-usable String representing this TypeNode with added decorations like '[]' as suffix for collections or bound Generics.
getTypeName() - Method in class org.leandreck.endpoints.processor.model.TypeNode
This is the raw name of this TypeNode without any decorations for collections or maps or bound Generics.
getTypeNameVariable() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 
getTypeNodeFactory() - Method in enum org.leandreck.endpoints.processor.model.typefactories.TypeNodeKind
 
getTypeParameters() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Typeparameters are bound Generics as in GenericType<BoundType>.
getTypes() - Method in class org.leandreck.endpoints.processor.model.EndpointNode
 
getTypes() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getTypes() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 
getTypes() - Method in class org.leandreck.endpoints.processor.printer.TypesPackage
 
getUrl() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
getVariableType() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 

H

hashCode() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 

I

init(ProcessingEnvironment) - Method in class org.leandreck.endpoints.processor.TypeScriptEndpointProcessor
 
InitTypeNodeFactoriesException - Exception in org.leandreck.endpoints.processor.model
 
InitTypeNodeFactoriesException(Throwable) - Constructor for exception org.leandreck.endpoints.processor.model.InitTypeNodeFactoriesException
 
isDeclaredComplexType() - Method in class org.leandreck.endpoints.processor.model.TypeNode
 
isIgnored() - Method in class org.leandreck.endpoints.processor.model.MethodNode
 
isMappedType() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Returns true if this TypeNode is a mapped Type.
isOptional() - Method in class org.leandreck.endpoints.processor.model.TypeNode
Returns wether this TypeNode is an optional Parameter or not.
isOptional(AnnotationMirror) - Static method in enum org.leandreck.endpoints.processor.model.VariableAnnotations
 
isOptionalByAnnotation(VariableElement) - Static method in enum org.leandreck.endpoints.processor.model.VariableAnnotations
 
isUseSuffixes() - Method in class org.leandreck.endpoints.processor.model.PrintConfiguration
Returns wether the templates should use suffixes for Methods or not.

M

method() - Method in class org.leandreck.endpoints.processor.model.RequestMapping
 
MethodNode - Class in org.leandreck.endpoints.processor.model
 
MissingConfigurationTemplateException - Exception in org.leandreck.endpoints.processor.model.typefactories
Exception thrown if the TemplateConfiguration is null while an Element is processed.
MultipleConfigurationsFoundException - Exception in org.leandreck.endpoints.processor.config
Exception indicating that more than one configured TypeScriptTemplatesConfiguration exists inside the current compilation unit.
MultipleConfigurationsFoundException(Set<? extends Element>) - Constructor for exception org.leandreck.endpoints.processor.config.MultipleConfigurationsFoundException
 

N

newConfiguredInstance(TypeNodeFactory, TemplateConfiguration, Types, Elements) - Method in interface org.leandreck.endpoints.processor.model.typefactories.ConcreteTypeNodeFactory
 

O

org.leandreck.endpoints.annotations - package org.leandreck.endpoints.annotations
 
org.leandreck.endpoints.processor - package org.leandreck.endpoints.processor
 
org.leandreck.endpoints.processor.config - package org.leandreck.endpoints.processor.config
 
org.leandreck.endpoints.processor.model - package org.leandreck.endpoints.processor.model
 
org.leandreck.endpoints.processor.model.typefactories - package org.leandreck.endpoints.processor.model.typefactories
 
org.leandreck.endpoints.processor.printer - package org.leandreck.endpoints.processor.printer
 

P

populate(List<RequestMethod>, List<String>, List<String>, Annotation, RequestMethod) - Method in class org.leandreck.endpoints.processor.model.RequestMappingFactory
 
PrintConfiguration - Class in org.leandreck.endpoints.processor.model
Configuration for customizing some aspects of the generated TypeScript files.
PrintConfiguration(boolean, String, String, String, String, String, String, String, String) - Constructor for class org.leandreck.endpoints.processor.model.PrintConfiguration
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.leandreck.endpoints.processor.TypeScriptEndpointProcessor
 
processEndpoint(EndpointNode, Writer) - Method in class org.leandreck.endpoints.processor.printer.Engine
 
processIndexTs(TypesPackage, Writer) - Method in class org.leandreck.endpoints.processor.printer.Engine
 
processModuleTs(TypesPackage, Writer) - Method in class org.leandreck.endpoints.processor.printer.Engine
 
processServiceConfig(Writer) - Method in class org.leandreck.endpoints.processor.printer.Engine
 
processTypeScriptTypeNode(TypeNode, Writer) - Method in class org.leandreck.endpoints.processor.printer.Engine
 
produces() - Method in class org.leandreck.endpoints.processor.model.RequestMapping
 

R

RequestMapping - Class in org.leandreck.endpoints.processor.model
 
RequestMapping(RequestMethod[], String[], String[]) - Constructor for class org.leandreck.endpoints.processor.model.RequestMapping
 
RequestMappingFactory - Class in org.leandreck.endpoints.processor.model
 
RequestMappingFactory() - Constructor for class org.leandreck.endpoints.processor.model.RequestMappingFactory
 

S

StringUtil - Class in org.leandreck.endpoints.processor.model
A class with minimal string utilities.

T

TemplateConfiguration - Class in org.leandreck.endpoints.processor.config
Holds the configuration with the location of the templates to be used when generating the TypeScript code.
TypeNode - Class in org.leandreck.endpoints.processor.model
 
TypeNodeFactory - Class in org.leandreck.endpoints.processor.model
 
TypeNodeKind - Enum in org.leandreck.endpoints.processor.model.typefactories
 
TypeNodeUtils - Class in org.leandreck.endpoints.processor.model.typefactories
 
TypeScriptEndpoint - Annotation Type in org.leandreck.endpoints.annotations
Annotate RestController classes to generate TypeScript endpoint and interface files.
TypeScriptEndpointProcessor - Class in org.leandreck.endpoints.processor
Annotation Processor for TypeScript-Annotations.
TypeScriptEndpointProcessor() - Constructor for class org.leandreck.endpoints.processor.TypeScriptEndpointProcessor
 
TypeScriptIgnore - Annotation Type in org.leandreck.endpoints.annotations
Methods or Fields annotated with TypeScriptIgnore will be ignored by the annotation processor.
TypeScriptTemplatesConfiguration - Annotation Type in org.leandreck.endpoints.annotations
Allow changing the templates that will be used for code generation, by specifying their location in the classpath and how they should be processed.
TypeScriptType - Annotation Type in org.leandreck.endpoints.annotations
Annotate Fields with TypeScriptType to specify a custom template or override default mappings.
TypesPackage - Class in org.leandreck.endpoints.processor.printer
 
TypesPackage(Set<EndpointNode>, Set<TypeNode>) - Constructor for class org.leandreck.endpoints.processor.printer.TypesPackage
 

U

UnkownTypeProcessingException - Exception in org.leandreck.endpoints.processor.model
 

V

value() - Method in class org.leandreck.endpoints.processor.model.RequestMapping
 
valueOf(String) - Static method in enum org.leandreck.endpoints.processor.model.typefactories.TypeNodeKind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.leandreck.endpoints.processor.model.VariableAnnotations
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.leandreck.endpoints.processor.model.typefactories.TypeNodeKind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.leandreck.endpoints.processor.model.VariableAnnotations
Returns an array containing the constants of this enum type, in the order they are declared.
VariableAnnotations - Enum in org.leandreck.endpoints.processor.model
 
B C D E G H I M N O P R S T U V 
Skip navigation links

Copyright © 2016–2018. All rights reserved.