Class DuplicatesReporterImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.duplicates.DuplicatesReporterImpl
-
- All Implemented Interfaces:
DuplicatesReporter
public class DuplicatesReporterImpl extends Object implements DuplicatesReporter
User: vbedrosova Date: 30.08.2010 Time: 13:38:36
-
-
Field Summary
Fields Modifier and Type Field Description static String
DUPLICATE_RESULT
static String
DUPLICATES_FINISH
static String
DUPLICATES_START
static String
MESSAGE_TYPE_ID
-
Constructor Summary
Constructors Constructor Description DuplicatesReporterImpl(CurrentBuildTracker currentBuildTracker, EventDispatcher<AgentLifeCycleListener> agentDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDuplicate(DuplicateInfo duplicate)
Reports duplicate within blockvoid
addDuplicates(Collection<DuplicateInfo> duplicates)
Reports duplicates batch within blockvoid
finishDuplicates()
Indicates the end of a duplicates blockvoid
startDuplicates()
Indicates the beginning of a duplicates block
-
-
-
Field Detail
-
MESSAGE_TYPE_ID
public static final String MESSAGE_TYPE_ID
- See Also:
- Constant Field Values
-
DUPLICATES_START
public static final String DUPLICATES_START
- See Also:
- Constant Field Values
-
DUPLICATE_RESULT
public static final String DUPLICATE_RESULT
- See Also:
- Constant Field Values
-
DUPLICATES_FINISH
public static final String DUPLICATES_FINISH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DuplicatesReporterImpl
public DuplicatesReporterImpl(@NotNull CurrentBuildTracker currentBuildTracker, @NotNull EventDispatcher<AgentLifeCycleListener> agentDispatcher)
-
-
Method Detail
-
startDuplicates
public void startDuplicates()
Description copied from interface:DuplicatesReporter
Indicates the beginning of a duplicates block- Specified by:
startDuplicates
in interfaceDuplicatesReporter
-
addDuplicate
public void addDuplicate(@NotNull DuplicateInfo duplicate)
Description copied from interface:DuplicatesReporter
Reports duplicate within block- Specified by:
addDuplicate
in interfaceDuplicatesReporter
- Parameters:
duplicate
- Duplicate info
-
addDuplicates
public void addDuplicates(@NotNull Collection<DuplicateInfo> duplicates)
Description copied from interface:DuplicatesReporter
Reports duplicates batch within block- Specified by:
addDuplicates
in interfaceDuplicatesReporter
- Parameters:
duplicates
- Duplicate info collection
-
finishDuplicates
public void finishDuplicates()
Description copied from interface:DuplicatesReporter
Indicates the end of a duplicates block- Specified by:
finishDuplicates
in interfaceDuplicatesReporter
-
-