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 class
TestResponsibilityEventAccumulator.TestResponsibilityEventKey
static class
TestResponsibilityEventAccumulator.TestResponsibilityEventValue
-
Field Summary
Fields Modifier and Type Field Description protected NotificationEventListener
myDelegate
-
Constructor Summary
Constructors Constructor Description TestResponsibilityEventAccumulator(NotificationEventListener delegate, TestName2Index testName2Index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestResponsibilityEventAccumulator.TestResponsibilityEventKey
createKey(SProject project, ResponsibilityEntry entry, boolean isUserAction)
TestResponsibilityEventAccumulator.TestResponsibilityEventValue
createValue(TestNameResponsibilityEntry oldValue, Collection<TestName> testNames)
void
fireEvent(TestResponsibilityEventAccumulator.TestResponsibilityEventKey key, TestResponsibilityEventAccumulator.TestResponsibilityEventValue value)
void
flush()
Value
get(Key key)
void
put(Key key, Value value)
void
remove(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:
put
in interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
get
@Nullable public Value get(@NotNull Key key)
- Specified by:
get
in interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
remove
public void remove(@NotNull Key key)
- Specified by:
remove
in interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
flush
public void flush()
- Specified by:
flush
in interfaceNotificationEventAccumulator.Accumulator<Key extends NotificationEventAccumulator.EventKey,Value extends NotificationEventAccumulator.EventValue<Value>>
-
-