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>
Context forNodeModelExportPlugin
.
-
-
Constructor Summary
Constructors Constructor Description NodeModelExportContext()
-
Method Summary
-
Methods inherited from class io.wcm.devops.conga.generator.spi.context.AbstractPluginContext
getContainerContext, getGenericPluginConfig, getLogger, getPluginContextOptions, getPluginManager, getUrlFileManager, pluginContextOptions
-
-
-
-
Method Detail
-
getNode
public Node getNode()
- Returns:
- Node
-
node
public NodeModelExportContext node(Node value)
- Parameters:
value
- Node- Returns:
- this
-
getEnvironment
public Environment getEnvironment()
- Returns:
- Environment
-
environment
public NodeModelExportContext environment(Environment value)
- Parameters:
value
- Environment- Returns:
- this
-
getRoleData
public List<ExportNodeRoleData> getRoleData()
- Returns:
- Node role data
-
roleData
public NodeModelExportContext roleData(List<ExportNodeRoleData> value)
- Parameters:
value
- Node role data- Returns:
- this
-
getNodeDir
public File getNodeDir()
- Returns:
- Node files target directory
-
nodeDir
public NodeModelExportContext nodeDir(File value)
- Parameters:
value
- Node files target directory- Returns:
- this
-
config
public NodeModelExportContext config(Map<String,Object> value)
- Parameters:
value
- Plugin config- Returns:
- this
-
getVariableStringResolver
public VariableStringResolver getVariableStringResolver()
- Returns:
- Variable string resolver
-
variableStringResolver
public NodeModelExportContext variableStringResolver(VariableStringResolver value)
- Parameters:
value
- Variable string resolver- Returns:
- this
-
getVariableMapResolver
public VariableMapResolver getVariableMapResolver()
- Returns:
- Variable map resolver
-
variableMapResolver
public NodeModelExportContext variableMapResolver(VariableMapResolver value)
- Parameters:
value
- Variable map resolver- Returns:
- this
-
getContainerVersionInfo
public Map<String,String> getContainerVersionInfo()
- Returns:
- Version information from container, e.g. configured Maven plugin versions
-
containerVersionInfo
public NodeModelExportContext containerVersionInfo(Map<String,String> value)
- Parameters:
value
- Version information from container, e.g. configured Maven plugin versions- Returns:
- this
-
getSensitiveConfigParameters
public Set<String> getSensitiveConfigParameters()
- Returns:
- List of configuration parameter names that contain sensitive data.
-
sensitiveConfigParameters
public NodeModelExportContext sensitiveConfigParameters(Set<String> value)
- Parameters:
value
- List of configuration parameter names that contain sensitive data- Returns:
- this
-
getModelExportConfigProcessor
public ModelExportConfigProcessor getModelExportConfigProcessor()
- Returns:
- Model export configuration processor
-
getYamlRepresenter
public YamlRepresenter getYamlRepresenter()
- Returns:
- YAML representer
-
yamlRepresenter
public NodeModelExportContext yamlRepresenter(YamlRepresenter value)
- Parameters:
value
- YAML representer- Returns:
- this
-
-