com.atlassian.bamboo.v2.build.agent.messages
Class JmsSelectorUtils
java.lang.Object
com.atlassian.bamboo.v2.build.agent.messages.JmsSelectorUtils
public class JmsSelectorUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMS_PROPERTY_ALLOWABLE_AGENTS
public static final java.lang.String JMS_PROPERTY_ALLOWABLE_AGENTS
- See Also:
- Constant Field Values
getAgentsMessageProperty
public static java.lang.String getAgentsMessageProperty(java.util.Collection<BuildAgent> executableAgents)
- Creates a comma separated string representing a collection of
BuildAgents
.
Results in format "[12345],[12345]"
- Parameters:
executableAgents
-
- Returns:
getAgentsMessageProperty
public static java.lang.String getAgentsMessageProperty(java.lang.Long buildAgentId)
getAgentSelector
public static java.lang.String getAgentSelector(long id)
- Creates a selector string for an agent to select those messages targeted for it.
Results in format "allowableAgents LIKE '%[12345]%'"
- Parameters:
id
-
- Returns:
getAgentSelector
public static java.lang.String getAgentSelector(long id,
@Nullable
java.lang.String fingerprint)
getFingerprintSelector
public static java.lang.String getFingerprintSelector(@NotNull
java.lang.String fingerprint)
Copyright © 2010 Atlassian. All Rights Reserved.