com.xebialabs.deployit.plugin.cloud.step
Class ValidateHostDescriptorStep

java.lang.Object
  extended by com.xebialabs.deployit.plugin.cloud.step.ValidateDescriptorStep
      extended by com.xebialabs.deployit.plugin.cloud.step.ValidateHostDescriptorStep
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.flow.Step, java.io.Serializable

public class ValidateHostDescriptorStep
extends ValidateDescriptorStep

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.cloud.step.ValidateDescriptorStep
ciParser, descriptorResolver, scope
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.flow.Step
DEFAULT_ORDER
 
Constructor Summary
ValidateHostDescriptorStep(java.lang.String descriptorTemplate, BaseHostTemplate hostTemplate)
           
 
Method Summary
protected  void outputDescriptor(java.lang.String descriptor, com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
          Replaces password with stars
protected  java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> parseCis(java.lang.String tpl, com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
          Parses CIs and appends them to the context
protected  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)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.cloud.step.ValidateDescriptorStep
execute, getDescription, getOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateHostDescriptorStep

public ValidateHostDescriptorStep(java.lang.String descriptorTemplate,
                                  BaseHostTemplate hostTemplate)
Method Detail

resolveTemplate

protected 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
Specified by:
resolveTemplate in class ValidateDescriptorStep
Throws:
freemarker.template.TemplateException

parseCis

protected java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> parseCis(java.lang.String tpl,
                                                                                           com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
Parses CIs and appends them to the context

Specified by:
parseCis in class ValidateDescriptorStep

outputDescriptor

protected void outputDescriptor(java.lang.String descriptor,
                                com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
Replaces password with stars

Overrides:
outputDescriptor in class ValidateDescriptorStep