Class ProcessResult
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.messages.AbstractBambooAgentMessage
-
- com.atlassian.bamboo.v2.build.agent.messages.ProcessResult
-
- All Implemented Interfaces:
BambooAgentMessage
,Serializable
public class ProcessResult extends AbstractBambooAgentMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessResult(CommonContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Object
deliver()
Delivers the message to the appropriate object in the local virtual machine.CommonContext
getContext()
boolean
shouldBeSentDuringHeartAttack()
Value of true indicates that the message send should be attempted even if the agent is in "heart attack" state.-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.messages.AbstractBambooAgentMessage
getComponent
-
-
-
-
Constructor Detail
-
ProcessResult
public ProcessResult(CommonContext context)
-
-
Method Detail
-
deliver
@Nullable public @Nullable Object deliver()
Description copied from interface:BambooAgentMessage
Delivers the message to the appropriate object in the local virtual machine.- Returns:
- an optional reply to message (including error-reporting messages)
-
getContext
public CommonContext getContext()
-
shouldBeSentDuringHeartAttack
public boolean shouldBeSentDuringHeartAttack()
Description copied from interface:BambooAgentMessage
Value of true indicates that the message send should be attempted even if the agent is in "heart attack" state. "Heart attack" state means that heartbeat timeout has been exceeded, but the agent is still running with limited functionality in order to give itself a chance of finishing current build/deployment and returning its result should the communication be re-established.
-
-