Interface CtxInterface
@JStache(path="interface")
@Immutable
public interface CtxInterface
Context passed to Mustache when compiling an interface.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the optional application description.appName()
Returns the application name.static dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxInterface.Builder
builder()
Returns a builder for this type.Returns the classname for the class.Returns an optional description of the class.Returns the name of the Generated annotation class.Returns the optional date of the generation.Returns the name of the generator class.Returns the imports needed in the template.default boolean
Returns true if there are imports to render, otherwise false.Returns a string list of implementation DTOs.Returns the optional application contact email.Returns the package name for the class.version()
Returns the application version.
-
Method Details
-
builder
static dk.mada.jaxrs.generator.mpclient.dto.tmpl.ImmutableCtxInterface.Builder builder()Returns a builder for this type.- Returns:
- a builder for this type
-
appName
String appName()Returns the application name.- Returns:
- the application name
-
version
String version()Returns the application version.- Returns:
- the application version
-
appDescription
Returns the optional application description.- Returns:
- the optional application description
-
infoEmail
Returns the optional application contact email.- Returns:
- the optional application contact email
-
getImports
Returns the imports needed in the template.- Returns:
- the imports needed in the template
-
hasImports
default boolean hasImports()Returns true if there are imports to render, otherwise false.- Returns:
- true if there are imports to render, otherwise false
-
description
Returns an optional description of the class.- Returns:
- an optional description of the class
-
packageName
String packageName()Returns the package name for the class.- Returns:
- the package name for the class
-
classname
String classname()Returns the classname for the class.- Returns:
- the classname for the class
-
generatedAnnotationClass
String generatedAnnotationClass()Returns the name of the Generated annotation class.- Returns:
- the name of the Generated annotation class
-
generatorClass
String generatorClass()Returns the name of the generator class.- Returns:
- the name of the generator class
-
generatedDate
Returns the optional date of the generation.- Returns:
- the optional date of the generation
-
implementations
String implementations()Returns a string list of implementation DTOs.- Returns:
- a string list of implementation DTOs
-