Interface BambooAgentMessageBatch<T>
-
- All Superinterfaces:
BambooAgentMessage
,Serializable
- All Known Implementing Classes:
BatchRemoteBambooMessage
,LogMessageBatch
public interface BambooAgentMessageBatch<T> extends BambooAgentMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BambooAgentMessageBatch.BatchFactory
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(T bambooAgentMessage)
boolean
isExpensive()
If true, the batch is going to be expensive to process.boolean
shouldStartNewBatch(@NotNull BambooAgentMessage bambooAgentMessage)
int
size()
-
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.messages.BambooAgentMessage
deliver, shouldBeSentDuringHeartAttack
-
-
-
-
Method Detail
-
add
void add(@NotNull T bambooAgentMessage)
-
size
int size()
-
shouldStartNewBatch
boolean shouldStartNewBatch(@NotNull @NotNull BambooAgentMessage bambooAgentMessage)
-
isExpensive
boolean isExpensive()
If true, the batch is going to be expensive to process.
-
-