Class CommonAgentMaintenanceResult
- java.lang.Object
-
- com.atlassian.bamboo.agent.ephemeral.result.CommonAgentMaintenanceResult
-
- All Implemented Interfaces:
AgentMaintenanceResult
- Direct Known Subclasses:
DeleteAgentPodResult
,DeleteAgentPodsResult
,GetPodsJsonResult
,LaunchAgentPodResult
,PodContainerLogsResult
,TestConnectionResult
public abstract class CommonAgentMaintenanceResult extends Object implements AgentMaintenanceResult
Common base for ephemeral agent related maintenance results.- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected String
rawErrorOutput
protected String
rawOutput
-
Constructor Summary
Constructors Constructor Description CommonAgentMaintenanceResult(String rawOutput, String rawErrorOutput)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRawErrorOutput()
String
getRawOutput()
boolean
isSuccessful()
-
-
-
Method Detail
-
getRawOutput
public String getRawOutput()
- Specified by:
getRawOutput
in interfaceAgentMaintenanceResult
- Returns:
- the raw output of the kubernetes command output stream
-
getRawErrorOutput
public String getRawErrorOutput()
- Specified by:
getRawErrorOutput
in interfaceAgentMaintenanceResult
- Returns:
- the raw output of the kubernetes command error stream
-
isSuccessful
public boolean isSuccessful()
- Specified by:
isSuccessful
in interfaceAgentMaintenanceResult
- Returns:
- true is the operation was successful, false otherwise
-
-