public class PowerShellVarsConverter
extends com.xebialabs.deployit.plugin.remoting.vars.VarsConverter
| Modifier and Type | Method and Description |
|---|---|
protected void |
createObjectAndSetObjectProperty(java.lang.String objectName,
java.lang.String propertyName) |
protected void |
endCreateObject(java.lang.String variableName) |
static java.lang.String |
javaToPowerShell(com.xebialabs.overthere.OverthereConnection connection,
java.util.Map<java.lang.String,java.lang.Object> powershellVars,
boolean maskPasswords) |
static java.lang.String |
javaToPowerShell(com.xebialabs.overthere.OverthereConnection connection,
java.util.Map<java.lang.String,java.lang.Object> powershellVars,
boolean uploadArtifactData,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
boolean maskPasswords) |
protected void |
setBooleanProperty(java.lang.String objectName,
java.lang.String propertyName,
boolean propertyValue) |
protected void |
setBooleanVariable(java.lang.String variableName,
boolean variableValue) |
protected void |
setCiReferenceProperty(java.lang.String objectName,
java.lang.String propertyName,
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem propertyValue) |
protected void |
setCollectionOfCiReferencesProperty(java.lang.String objectName,
java.lang.String propertyName,
java.util.Collection<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> propertyValue) |
protected void |
setCollectionOfStringsProperty(java.lang.String objectName,
java.lang.String propertyName,
java.util.Collection<?> propertyValue) |
protected void |
setCollectionOfStringsVariable(java.lang.String variableName,
java.util.Collection<?> variableValue) |
protected void |
setEmptyCollectionProperty(java.lang.String objectName,
java.lang.String propertyName) |
protected void |
setEmptyMapProperty(java.lang.String objectName,
java.lang.String propertyName) |
protected void |
setIntegerProperty(java.lang.String objectName,
java.lang.String propertyName,
int propertyValue) |
protected void |
setIntegerVariable(java.lang.String variableName,
int variableValue) |
protected void |
setLongVariable(java.lang.String variableName,
long variableValue) |
protected void |
setMapOfStringToStringReferencesProperty(java.lang.String objectName,
java.lang.String propertyName,
java.util.Map<java.lang.String,java.lang.String> propertyValue) |
protected void |
setNullProperty(java.lang.String objectName,
java.lang.String propertyName) |
protected void |
setNullVariable(java.lang.String variableName) |
protected void |
setPasswordProperty(java.lang.String objectName,
java.lang.String propertyName,
java.lang.String propertyValue) |
protected void |
setStringProperty(java.lang.String objectName,
java.lang.String propertyName,
java.lang.String propertyValue) |
protected void |
setStringVariable(java.lang.String variableName,
java.lang.String variableValue) |
protected void |
startCreateObject(java.lang.String variableName) |
static java.lang.String |
toPowerShellBoolean(java.lang.Boolean bool) |
static java.lang.String |
toPowerShellCollectionOfStrings(java.util.Collection<?> variableValue) |
static java.lang.String |
toPowerShellString(java.lang.String str) |
public static java.lang.String javaToPowerShell(com.xebialabs.overthere.OverthereConnection connection,
java.util.Map<java.lang.String,java.lang.Object> powershellVars,
boolean maskPasswords)
public static java.lang.String javaToPowerShell(com.xebialabs.overthere.OverthereConnection connection,
java.util.Map<java.lang.String,java.lang.Object> powershellVars,
boolean uploadArtifactData,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx,
boolean maskPasswords)
protected void setNullVariable(java.lang.String variableName)
setNullVariable in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setBooleanVariable(java.lang.String variableName,
boolean variableValue)
setBooleanVariable in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setIntegerVariable(java.lang.String variableName,
int variableValue)
setIntegerVariable in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setLongVariable(java.lang.String variableName,
long variableValue)
setLongVariable in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setStringVariable(java.lang.String variableName,
java.lang.String variableValue)
setStringVariable in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setCollectionOfStringsVariable(java.lang.String variableName,
java.util.Collection<?> variableValue)
setCollectionOfStringsVariable in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void startCreateObject(java.lang.String variableName)
startCreateObject in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void endCreateObject(java.lang.String variableName)
endCreateObject in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setNullProperty(java.lang.String objectName,
java.lang.String propertyName)
setNullProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setEmptyCollectionProperty(java.lang.String objectName,
java.lang.String propertyName)
setEmptyCollectionProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setEmptyMapProperty(java.lang.String objectName,
java.lang.String propertyName)
setEmptyMapProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setBooleanProperty(java.lang.String objectName,
java.lang.String propertyName,
boolean propertyValue)
setBooleanProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setIntegerProperty(java.lang.String objectName,
java.lang.String propertyName,
int propertyValue)
setIntegerProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setStringProperty(java.lang.String objectName,
java.lang.String propertyName,
java.lang.String propertyValue)
setStringProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setPasswordProperty(java.lang.String objectName,
java.lang.String propertyName,
java.lang.String propertyValue)
setPasswordProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setCollectionOfStringsProperty(java.lang.String objectName,
java.lang.String propertyName,
java.util.Collection<?> propertyValue)
setCollectionOfStringsProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setCiReferenceProperty(java.lang.String objectName,
java.lang.String propertyName,
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem propertyValue)
setCiReferenceProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setCollectionOfCiReferencesProperty(java.lang.String objectName,
java.lang.String propertyName,
java.util.Collection<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> propertyValue)
setCollectionOfCiReferencesProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void setMapOfStringToStringReferencesProperty(java.lang.String objectName,
java.lang.String propertyName,
java.util.Map<java.lang.String,java.lang.String> propertyValue)
setMapOfStringToStringReferencesProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterprotected void createObjectAndSetObjectProperty(java.lang.String objectName,
java.lang.String propertyName)
createObjectAndSetObjectProperty in class com.xebialabs.deployit.plugin.remoting.vars.VarsConverterpublic static java.lang.String toPowerShellBoolean(java.lang.Boolean bool)
public static java.lang.String toPowerShellString(java.lang.String str)
public static java.lang.String toPowerShellCollectionOfStrings(java.util.Collection<?> variableValue)