Class TestResponsibilityEventAccumulator
- java.lang.Object
-
- jetbrains.buildServer.notification.accumulators.TestResponsibilityEventAccumulator
-
- All Implemented Interfaces:
NotificationEventAccumulator.Accumulator<TestResponsibilityEventAccumulator.TestResponsibilityEventKey,TestResponsibilityEventAccumulator.TestResponsibilityEventValue>
public class TestResponsibilityEventAccumulator extends Object
- Author:
- Maxim.Manuylov Date: 07.04.11
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestResponsibilityEventAccumulator.TestResponsibilityEventKeystatic classTestResponsibilityEventAccumulator.TestResponsibilityEventValue
-
Field Summary
Fields Modifier and Type Field Description protected NotificationEventListenermyDelegate
-
Constructor Summary
Constructors Constructor Description TestResponsibilityEventAccumulator(NotificationEventListener delegate, TestName2Index testName2Index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestResponsibilityEventAccumulator.TestResponsibilityEventKeycreateKey(SProject project, ResponsibilityEntry entry, boolean isUserAction)TestResponsibilityEventAccumulator.TestResponsibilityEventValuecreateValue(TestNameResponsibilityEntry oldValue, Collection<TestName> testNames)voidfireEvent(TestResponsibilityEventAccumulator.TestResponsibilityEventKey key, TestResponsibilityEventAccumulator.TestResponsibilityEventValue value)voidflush()Valueget(Key key)voidput(Key key, Value value)voidremove(Key key)
-
-
-
Field Detail
-
myDelegate
@NotNull protected final NotificationEventListener myDelegate
-
-
Constructor Detail
-
TestResponsibilityEventAccumulator
public TestResponsibilityEventAccumulator(@NotNull NotificationEventListener delegate, @NotNull TestName2Index testName2Index)
-
-
Method Detail
-
createKey
@NotNull public TestResponsibilityEventAccumulator.TestResponsibilityEventKey createKey(@NotNull SProject project, @NotNull ResponsibilityEntry entry, boolean isUserAction)
-
createValue
@NotNull public TestResponsibilityEventAccumulator.TestResponsibilityEventValue createValue(@Nullable TestNameResponsibilityEntry oldValue, @NotNull Collection<TestName> testNames)
-
fireEvent
public void fireEvent(@NotNull TestResponsibilityEventAccumulator.TestResponsibilityEventKey key, @NotNull TestResponsibilityEventAccumulator.TestResponsibilityEventValue value)
-
put
public void put(@NotNull Key key, @NotNull Value value)- Specified by:
putin interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
get
@Nullable public Value get(@NotNull Key key)- Specified by:
getin interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
remove
public void remove(@NotNull Key key)- Specified by:
removein interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
flush
public void flush()
- Specified by:
flushin interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
-