com.atlassian.bamboo.agent
Class AgentTypeHolder
java.lang.Object
com.atlassian.bamboo.agent.AgentTypeHolder
@PublicApi
public class AgentTypeHolder
- extends Object
Retrieve the AgentType
of the agent you are currently on.
If called from the server it will show as AgentType.LOCAL
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
set
public static void set(@NotNull
AgentType type)
get
@NotNull
public static AgentType get()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.