public class InspectionProtocolContext
extends java.lang.Object
implements com.xebialabs.deployit.plugin.api.flow.ExecutionContext
| Modifier and Type | Field and Description |
|---|---|
protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem |
currentInspectedItem |
static java.lang.String |
DISCOVERED_ITEM_PRELUDE |
static java.lang.String |
INSPECTED_ITEM_PRELUDE |
static java.lang.String |
INSPECTED_PROPERTY_PRELUDE |
| Constructor and Description |
|---|
InspectionProtocolContext(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final java.lang.String DISCOVERED_ITEM_PRELUDE
public static final java.lang.String INSPECTED_PROPERTY_PRELUDE
public static final java.lang.String INSPECTED_ITEM_PRELUDE
protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem currentInspectedItem
public InspectionProtocolContext(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem inspectedItem,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext context)
public boolean isInspectionFailed()
public void logOutput(java.lang.String output)
logOutput in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContextprotected boolean handleOutputLine(java.lang.String line,
com.xebialabs.deployit.plugin.api.flow.ExecutionContext ctx)
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)
public void logError(java.lang.String error)
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContextpublic void logError(java.lang.String error,
java.lang.Throwable t)
logError in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContextpublic java.lang.Object getAttribute(java.lang.String name)
getAttribute in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContextpublic void setAttribute(java.lang.String name,
java.lang.Object value)
setAttribute in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContextpublic com.xebialabs.deployit.plugin.api.services.Repository getRepository()
getRepository in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContextpublic com.xebialabs.deployit.plugin.api.inspection.InspectionContext getInspectionContext()
getInspectionContext in interface com.xebialabs.deployit.plugin.api.flow.ExecutionContext