public class AgentContextImpl extends Object implements AgentContext
Constructor and Description |
---|
AgentContextImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clearBuildAgent()
Removes whatever is currently stored in thread local
|
ExecutableBuildAgent |
getBuildAgent()
Current build agent.
|
void |
setBuildAgent(ExecutableBuildAgent buildAgent)
Stores a agent set within the ThreadLocal
|
@Nullable public ExecutableBuildAgent getBuildAgent()
AgentContext
getBuildAgent
in interface AgentContext
public void setBuildAgent(@Nullable ExecutableBuildAgent buildAgent)
AgentContext
setBuildAgent
in interface AgentContext
public void clearBuildAgent()
AgentContext
clearBuildAgent
in interface AgentContext
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.