com.xebialabs.deployit.plugin.remoting.inspection
Class InspectionProtocolContext
java.lang.Object
com.xebialabs.deployit.plugin.remoting.inspection.InspectionProtocolContext
- All Implemented Interfaces:
- com.xebialabs.deployit.plugin.api.flow.ExecutionContext
public class InspectionProtocolContext
- extends java.lang.Object
- implements com.xebialabs.deployit.plugin.api.flow.ExecutionContext
|
Constructor Summary |
InspectionProtocolContext(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)
|
|
Method Summary |
java.lang.Object |
getAttribute(java.lang.String name)
|
com.xebialabs.deployit.plugin.api.inspection.InspectionContext |
getInspectionContext()
|
com.xebialabs.deployit.plugin.api.services.Repository |
getRepository()
|
protected boolean |
handleOutputLine(java.lang.String line,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
|
boolean |
isInspectionFailed()
|
void |
logError(java.lang.String error)
|
void |
logError(java.lang.String error,
java.lang.Throwable t)
|
void |
logOutput(java.lang.String output)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
protected void |
setReferenceFromChildToParent(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem discoveredItem,
com.xebialabs.deployit.plugin.api.reflect.Descriptor d,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISCOVERED_ITEM_PRELUDE
public static final java.lang.String DISCOVERED_ITEM_PRELUDE
- See Also:
- Constant Field Values
INSPECTED_PROPERTY_PRELUDE
public static final java.lang.String INSPECTED_PROPERTY_PRELUDE
- See Also:
- Constant Field Values
INSPECTED_ITEM_PRELUDE
public static final java.lang.String INSPECTED_ITEM_PRELUDE
- See Also:
- Constant Field Values
currentInspectedItem
protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem currentInspectedItem
InspectionProtocolContext
public InspectionProtocolContext(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)
isInspectionFailed
public boolean isInspectionFailed()
logOutput
public void logOutput(java.lang.String output)
- Specified by:
logOutput in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext
handleOutputLine
protected boolean handleOutputLine(java.lang.String line,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
setReferenceFromChildToParent
protected void setReferenceFromChildToParent(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem discoveredItem,
com.xebialabs.deployit.plugin.api.reflect.Descriptor d,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
logError
public void logError(java.lang.String error)
- Specified by:
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext
logError
public void logError(java.lang.String error,
java.lang.Throwable t)
- Specified by:
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext
getRepository
public com.xebialabs.deployit.plugin.api.services.Repository getRepository()
- Specified by:
getRepository in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext
getInspectionContext
public com.xebialabs.deployit.plugin.api.inspection.InspectionContext getInspectionContext()
- Specified by:
getInspectionContext in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext