public abstract class ValidateDescriptorStep
extends java.lang.Object
implements com.xebialabs.deployit.plugin.api.flow.Step
| Modifier and Type | Field and Description |
|---|---|
protected CiParser |
ciParser |
protected InstanceDescriptorResolver |
descriptorResolver |
protected java.util.Map<java.lang.Object,java.lang.Object> |
scope |
| Constructor and Description |
|---|
ValidateDescriptorStep(java.lang.String descriptorTemplate,
java.lang.String templateName,
ResultCheck resultCheck) |
| Modifier and Type | Method and Description |
|---|---|
com.xebialabs.deployit.plugin.api.flow.StepExitCode |
execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
java.lang.String |
getDescription() |
int |
getOrder() |
protected void |
outputDescriptor(java.lang.String descriptorTemplate,
java.util.Map<java.lang.Object,java.lang.Object> scope,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
Outputs parsed descriptor to the context
|
protected abstract java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
parseCis(java.lang.String tpl,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
protected abstract java.lang.String |
resolveTemplate(java.lang.String tpl,
java.util.Map<java.lang.Object,java.lang.Object> initialScope,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx) |
protected InstanceDescriptorResolver descriptorResolver
protected CiParser ciParser
protected java.util.Map<java.lang.Object,java.lang.Object> scope
public ValidateDescriptorStep(java.lang.String descriptorTemplate,
java.lang.String templateName,
ResultCheck resultCheck)
public java.lang.String getDescription()
getDescription in interface com.xebialabs.deployit.plugin.api.flow.Steppublic int getOrder()
getOrder in interface com.xebialabs.deployit.plugin.api.flow.Steppublic com.xebialabs.deployit.plugin.api.flow.StepExitCode execute(com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws java.lang.Exception
execute in interface com.xebialabs.deployit.plugin.api.flow.Stepjava.lang.Exceptionprotected abstract java.lang.String resolveTemplate(java.lang.String tpl,
java.util.Map<java.lang.Object,java.lang.Object> initialScope,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws freemarker.template.TemplateException
freemarker.template.TemplateExceptionprotected abstract java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> parseCis(java.lang.String tpl,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
protected void outputDescriptor(java.lang.String descriptorTemplate,
java.util.Map<java.lang.Object,java.lang.Object> scope,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
throws java.lang.Exception
java.lang.Exception