Interface CtxInterface


@JStache(path="interface") @Immutable public interface CtxInterface
Context passed to Mustache when compiling an interface.
  • 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

      Optional<String> appDescription()
      Returns the optional application description.
      Returns:
      the optional application description
    • infoEmail

      Optional<String> infoEmail()
      Returns the optional application contact email.
      Returns:
      the optional application contact email
    • getImports

      SortedSet<String> 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

      Optional<String> 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

      Optional<String> 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