public class JmsSelectorUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JMS_PROPERTY_ALLOWABLE_AGENTS |
Modifier and Type | Method and Description |
---|---|
static String |
getAgentSelector(long id)
Creates a selector string for an agent to select those messages targeted for it.
|
static String |
getAgentSelector(long id,
@Nullable String fingerprint) |
static String |
getAgentsMessageProperty(Collection<BuildAgent> executableAgents)
Creates a comma separated string representing a collection of
BuildAgent . |
static String |
getAgentsMessageProperty(Long buildAgentId) |
static String |
getFingerprintSelector(@NotNull String fingerprint) |
public static final String JMS_PROPERTY_ALLOWABLE_AGENTS
public static String getAgentsMessageProperty(Collection<BuildAgent> executableAgents)
BuildAgent
.
Results in format "[12345],[12345]"executableAgents
- public static String getAgentSelector(long id)
id
- public static String getAgentSelector(long id, @Nullable @Nullable String fingerprint)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.