|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.builder.BuildLoggerManagerForTesting
public class BuildLoggerManagerForTesting
Constructor Summary | |
---|---|
BuildLoggerManagerForTesting()
|
Method Summary | |
---|---|
SimpleBuildLogger |
getBuildLogger(PlanKey planKey)
Returns a BuildLogger for the given plan |
SimpleBuildLogger |
getBuildLogger(PlanResultKey resultKey)
Returns a BuildLogger for the given result |
SimpleBuildLogger |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildLoggerManagerForTesting()
Method Detail |
---|
@NotNull public SimpleBuildLogger getBuildLogger(@NotNull PlanKey planKey)
BuildLoggerManager
BuildLogger
for the given plan
getBuildLogger
in interface BuildLoggerManager
@NotNull public SimpleBuildLogger getBuildLogger(@NotNull PlanResultKey resultKey)
BuildLoggerManager
BuildLogger
for the given result
getBuildLogger
in interface BuildLoggerManager
@NotNull public SimpleBuildLogger 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |