com.xebialabs.deployit.plugin.python
Class PythonInspectionStep
java.lang.Object
com.xebialabs.deployit.plugin.python.PythonInspectionStep
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.execution.Step<com.xebialabs.deployit.plugin.api.inspection.InspectionExecutionContext>, com.xebialabs.deployit.plugin.api.inspection.InspectionStep, java.io.Serializable
public class PythonInspectionStep
- extends java.lang.Object
- implements com.xebialabs.deployit.plugin.api.inspection.InspectionStep
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.xebialabs.deployit.plugin.api.execution.Step |
com.xebialabs.deployit.plugin.api.execution.Step.Result |
|
Constructor Summary |
PythonInspectionStep(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
PythonManagingContainer container,
java.lang.String scriptPath,
java.util.Map<java.lang.String,java.lang.Object> pythonVars,
java.lang.String description)
|
|
Method Summary |
protected java.lang.String |
aggregateScript(com.xebialabs.overthere.OverthereConnection connection)
|
protected com.xebialabs.deployit.plugin.api.execution.Step.Result |
doExecute(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx)
|
com.xebialabs.deployit.plugin.api.execution.Step.Result |
execute(com.xebialabs.deployit.plugin.api.inspection.InspectionExecutionContext ctx)
|
java.lang.String |
getDescription()
|
protected boolean |
handleOutputLine(java.lang.String line,
com.xebialabs.deployit.plugin.api.inspection.InspectionExecutionContext ctx)
|
protected boolean |
isReferenceToParent(com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor pd)
|
protected java.lang.String |
loadScriptFromFile(de.schlichtherle.truezip.file.TFile scriptFile)
|
java.lang.String |
toString()
|
protected com.xebialabs.overthere.OverthereFile |
uploadScript(com.xebialabs.overthere.OverthereConnection connection,
java.lang.String scriptFileNameTemplate,
java.lang.String scriptContents)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.xebialabs.deployit.plugin.api.execution.Step |
getDescription |
inspectedItem
protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem
inspectedItemDescriptor
protected com.xebialabs.deployit.plugin.api.reflect.Descriptor inspectedItemDescriptor
INSPECTED_PROPERTY_PRELUDE
public static final java.lang.String INSPECTED_PROPERTY_PRELUDE
- See Also:
- Constant Field Values
DISCOVERED_ITEM_PRELUDE
public static final java.lang.String DISCOVERED_ITEM_PRELUDE
- See Also:
- Constant Field Values
PythonInspectionStep
public PythonInspectionStep(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
PythonManagingContainer container,
java.lang.String scriptPath,
java.util.Map<java.lang.String,java.lang.Object> pythonVars,
java.lang.String description)
execute
public com.xebialabs.deployit.plugin.api.execution.Step.Result execute(com.xebialabs.deployit.plugin.api.inspection.InspectionExecutionContext ctx)
throws java.lang.Exception
- Specified by:
execute in interface com.xebialabs.deployit.plugin.api.execution.Step<com.xebialabs.deployit.plugin.api.inspection.InspectionExecutionContext>
- Throws:
java.lang.Exception
handleOutputLine
protected boolean handleOutputLine(java.lang.String line,
com.xebialabs.deployit.plugin.api.inspection.InspectionExecutionContext ctx)
isReferenceToParent
protected boolean isReferenceToParent(com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor pd)
doExecute
protected com.xebialabs.deployit.plugin.api.execution.Step.Result doExecute(com.xebialabs.deployit.plugin.api.execution.ExecutionContext ctx)
throws java.lang.Exception
- Throws:
java.lang.Exception
aggregateScript
protected java.lang.String aggregateScript(com.xebialabs.overthere.OverthereConnection connection)
loadScriptFromFile
protected java.lang.String loadScriptFromFile(de.schlichtherle.truezip.file.TFile scriptFile)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
uploadScript
protected com.xebialabs.overthere.OverthereFile uploadScript(com.xebialabs.overthere.OverthereConnection connection,
java.lang.String scriptFileNameTemplate,
java.lang.String scriptContents)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface com.xebialabs.deployit.plugin.api.execution.Step<C extends com.xebialabs.deployit.plugin.api.execution.ExecutionContext>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object