|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildExecutionUpdateManager
public class RemoteBuildExecutionUpdateManager
Constructor Summary | |
---|---|
RemoteBuildExecutionUpdateManager(BambooAgentMessageSender sender,
AgentContext agentContext)
|
Method Summary | |
---|---|
BuildLogger |
getBuildLogger(PlanKey planKey)
Returns a BuildLogger for the given plan |
BuildLogger |
getBuildLogger(PlanResultKey resultKey)
Returns a BuildLogger for the given result |
BuildLogger |
getBuildLogger(java.lang.String planOrResultKey)
Returns a BuildLogger for the given plan or result key. |
void |
removeBuildLogger(PlanKey planKey)
Removes plan logger for given plan key. |
void |
removeBuildLogger(PlanResultKey buildResultKey)
Removes buildLogger for finished build process. |
void |
setBuildFinish(BuildContext buildContext,
TimingPoint timingPoint)
|
void |
setBuildRunningOnAgent(BuildContext buildContext,
java.lang.Long buildAgentId)
Marks that this plan has started building on the agentId. |
void |
setBuildStart(BuildContext buildContext,
TimingPoint timingPoint)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteBuildExecutionUpdateManager(BambooAgentMessageSender sender, AgentContext agentContext)
Method Detail |
---|
@NotNull public BuildLogger getBuildLogger(@NotNull PlanKey planKey)
BuildLoggerManager
BuildLogger
for the given plan
getBuildLogger
in interface BuildLoggerManager
@NotNull public BuildLogger getBuildLogger(@NotNull PlanResultKey resultKey)
BuildLoggerManager
BuildLogger
for the given result
getBuildLogger
in interface BuildLoggerManager
@NotNull public BuildLogger getBuildLogger(@NotNull java.lang.String planOrResultKey)
BuildLoggerManager
BuildLogger
for the given plan or result key. If it's detected
that the AgentContext
is building something, passing the plan key String will switch to log to the result log
getBuildLogger
in interface BuildLoggerManager
public void removeBuildLogger(PlanKey planKey)
BuildLoggerManager
removeBuildLogger
in interface BuildLoggerManager
public void removeBuildLogger(PlanResultKey buildResultKey)
BuildLoggerManager
removeBuildLogger
in interface BuildLoggerManager
public void setBuildRunningOnAgent(@NotNull BuildContext buildContext, java.lang.Long buildAgentId)
BuildExecutionUpdateManager
setBuildRunningOnAgent
in interface BuildExecutionUpdateManager
public void setBuildStart(@NotNull BuildContext buildContext, TimingPoint timingPoint)
setBuildStart
in interface BuildExecutionUpdateManager
public void setBuildFinish(@NotNull BuildContext buildContext, TimingPoint timingPoint)
setBuildFinish
in interface BuildExecutionUpdateManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |