Interface ConfigDecorationProvider


public interface ConfigDecorationProvider
Provides optional decoration (variable substitution, templating, etc.) for Q2 deploy descriptor files.
  • Method Summary

    Modifier and Type
    Method
    Description
    Processes and decorates a deploy descriptor file.
    void
    initialize(File deployDir)
    Initializes this provider with the given Q2 deploy directory.
    void
    Releases resources used by this provider.
  • Method Details

    • initialize

      void initialize(File deployDir) throws Exception
      Initializes this provider with the given Q2 deploy directory.
      Parameters:
      deployDir - the Q2 deploy directory
      Throws:
      Exception - on initialization failure
    • uninitialize

      void uninitialize()
      Releases resources used by this provider.
    • decorateFile

      Processes and decorates a deploy descriptor file.
      Parameters:
      f - deploy descriptor file
      Returns:
      the decorated content
      Throws:
      Exception - on processing failure