Class NodeModelExportContext

java.lang.Object
io.wcm.devops.conga.generator.spi.context.AbstractPluginContext<NodeModelExportContext>
io.wcm.devops.conga.generator.spi.export.context.NodeModelExportContext

public final class NodeModelExportContext extends AbstractPluginContext<NodeModelExportContext>
  • Constructor Details

    • NodeModelExportContext

      public NodeModelExportContext()
  • Method Details

    • getNode

      public Node getNode()
      Gets node.
      Returns:
      Node
    • node

      public NodeModelExportContext node(Node value)
      Sets node.
      Parameters:
      value - Node
      Returns:
      this
    • getEnvironment

      public Environment getEnvironment()
      Gets environment.
      Returns:
      Environment
    • environment

      public NodeModelExportContext environment(Environment value)
      Sets environment.
      Parameters:
      value - Environment
      Returns:
      this
    • getRoleData

      public List<ExportNodeRoleData> getRoleData()
      Gets node role data.
      Returns:
      Node role data
    • roleData

      Sets node role data.
      Parameters:
      value - Node role data
      Returns:
      this
    • getNodeDir

      public File getNodeDir()
      Gets node directory.
      Returns:
      Node files target directory
    • nodeDir

      public NodeModelExportContext nodeDir(File value)
      Sets node directory.
      Parameters:
      value - Node files target directory
      Returns:
      this
    • getConfig

      public Map<String,Object> getConfig()
      Gets config.
      Returns:
      Plugin config
    • config

      public NodeModelExportContext config(Map<String,Object> value)
      Sets config.
      Parameters:
      value - Plugin config
      Returns:
      this
    • getVariableStringResolver

      public VariableStringResolver getVariableStringResolver()
      Gets variable string resolver.
      Returns:
      Variable string resolver
    • variableStringResolver

      public NodeModelExportContext variableStringResolver(VariableStringResolver value)
      Sets variable string resolver.
      Parameters:
      value - Variable string resolver
      Returns:
      this
    • getVariableMapResolver

      public VariableMapResolver getVariableMapResolver()
      Gets variable map resolver.
      Returns:
      Variable map resolver
    • variableMapResolver

      public NodeModelExportContext variableMapResolver(VariableMapResolver value)
      Sets variable map resolver.
      Parameters:
      value - Variable map resolver
      Returns:
      this
    • getContainerVersionInfo

      public Map<String,String> getContainerVersionInfo()
      Gets container version info.
      Returns:
      Version information from container, e.g. configured Maven plugin versions
    • containerVersionInfo

      public NodeModelExportContext containerVersionInfo(Map<String,String> value)
      Sets container version info.
      Parameters:
      value - Version information from container, e.g. configured Maven plugin versions
      Returns:
      this
    • getSensitiveConfigParameters

      public Set<String> getSensitiveConfigParameters()
      Gets sensitive config parameters.
      Returns:
      List of configuration parameter names that contain sensitive data.
    • sensitiveConfigParameters

      public NodeModelExportContext sensitiveConfigParameters(Set<String> value)
      Sets sensitive config parameters.
      Parameters:
      value - List of configuration parameter names that contain sensitive data
      Returns:
      this
    • getModelExportConfigProcessor

      public ModelExportConfigProcessor getModelExportConfigProcessor()
      Gets model export config processor.
      Returns:
      Model export configuration processor
    • getYamlRepresenter

      public YamlRepresenter getYamlRepresenter()
      Gets YAML representer.
      Returns:
      YAML representer
    • yamlRepresenter

      public NodeModelExportContext yamlRepresenter(YamlRepresenter value)
      Sets YAML representer.
      Parameters:
      value - YAML representer
      Returns:
      this