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, com.xebialabs.deployit.plugin.overthere.HostContainer, 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.Taggable
TAGS_FIELD
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Constructor Summary
BasePowerShellContainer()
           
 
Method Summary
 java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> args)
           
 java.util.Set<java.lang.String> getDeployedsToDiscover()
           
 int getDiscoverOrder()
           
 java.lang.String getDiscoverScript()
           
 com.xebialabs.deployit.plugin.overthere.Host getHost()
          Returns the host on which this container runs.
 java.util.List<java.lang.String> getLibraryScripts()
          Returns the name of the directory on the classpath that contains the Python scripts that define the runtime for this container.
 java.lang.String getPowerShellPath()
           
 com.xebialabs.overthere.CmdLine getScriptCommandLine(com.xebialabs.overthere.OverthereFile script)
          Generates the command line that should be used to run a script.
 void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)
           
 void setDeployedsToDiscover(java.util.HashSet<java.lang.String> deployedsToDiscover)
           
 void setDiscoverOrder(int discoverOrder)
           
 void setDiscoverScript(java.lang.String discoverScript)
           
 void setHost(com.xebialabs.deployit.plugin.overthere.Host host)
           
 void setPowerShellPath(java.lang.String powerShellPath)
           
 
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, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, 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 com.xebialabs.deployit.plugin.overthere.HostContainer
Specified by:
getHost in interface PowerShellContainer

setHost

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

getPowerShellPath

public java.lang.String getPowerShellPath()

setPowerShellPath

public void setPowerShellPath(java.lang.String powerShellPath)

getDeployedsToDiscover

public java.util.Set<java.lang.String> getDeployedsToDiscover()

setDeployedsToDiscover

public void setDeployedsToDiscover(java.util.HashSet<java.lang.String> deployedsToDiscover)

getDiscoverOrder

public int getDiscoverOrder()

setDiscoverOrder

public void setDiscoverOrder(int discoverOrder)

getDiscoverScript

public java.lang.String getDiscoverScript()

setDiscoverScript

public void setDiscoverScript(java.lang.String discoverScript)

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.

getLibraryScripts

public java.util.List<java.lang.String> getLibraryScripts()
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:
getLibraryScripts in interface PowerShellContainer

controlTaskDispatch

public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name,
                                                                                       java.util.Map<java.lang.String,java.lang.String> args)

inspect

public void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)