Interface TestSourceCodeCustomizer<T extends TypeDeclaration,C extends CompilationUnit<T>,S extends SourceCode<T,C>>

Type Parameters:
T - language-specific type declaration
C - language-specific compilation unit
S - language-specific source code
All Superinterfaces:
org.springframework.core.Ordered
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TestSourceCodeCustomizer<T extends TypeDeclaration,C extends CompilationUnit<T>,S extends SourceCode<T,C>> extends org.springframework.core.Ordered
Callback for customizing the application's test source code. Invoked with an order of 0 by default, considering overriding getOrder() to customize this behaviour.
Author:
Stephane Nicoll
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(S sourceCode)
     
    default int
     
  • Method Details

    • customize

      void customize(S sourceCode)
    • getOrder

      default int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered