com.xebialabs.deployit.plugin.powershell
Class BasePowerShellContainer

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
          extended by com.xebialabs.deployit.plugin.powershell.BasePowerShellContainer
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Container, com.xebialabs.deployit.plugin.api.udm.Taggable, PowerShellContainer, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(virtual=true)
public class BasePowerShellContainer
extends com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
implements PowerShellContainer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Constructor Summary
BasePowerShellContainer()
           
 
Method Summary
 com.xebialabs.deployit.plugin.overthere.Host getHost()
          Returns the host on which this container runs.
 java.lang.String getRuntimePath()
          Returns the name of the directory on the classpath that contains the Python scripts that define the runtime for this container.
 com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)
          Generates the command line that should be used to run a script.
 void setHost(com.xebialabs.deployit.plugin.overthere.Host host)
           
 void setRuntimePath(java.lang.String runtimePath)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
getTags, setTags
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
getTags, setTags
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Constructor Detail

BasePowerShellContainer

public BasePowerShellContainer()
Method Detail

getHost

public com.xebialabs.deployit.plugin.overthere.Host getHost()
Description copied from interface: PowerShellContainer
Returns the host on which this container runs.

Specified by:
getHost in interface PowerShellContainer

setHost

public void setHost(com.xebialabs.deployit.plugin.overthere.Host host)

getRuntimePath

public java.lang.String getRuntimePath()
Description copied from interface: PowerShellContainer
Returns the name of the directory on the classpath that contains the Python scripts that define the runtime for this container.

Specified by:
getRuntimePath in interface PowerShellContainer

setRuntimePath

public void setRuntimePath(java.lang.String runtimePath)

getScriptCommandLine

public com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)
Description copied from interface: PowerShellContainer
Generates the command line that should be used to run a script.

Specified by:
getScriptCommandLine in interface PowerShellContainer
Parameters:
script - the script to run
Returns:
the command line to use to run the script.