com.atlassian.bamboo.agent
Class AgentTypeHolder

java.lang.Object
  extended by 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


Method Summary
static AgentType get()
           
static void set(AgentType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

set

public static void set(@NotNull
                       AgentType type)

get

@NotNull
public static AgentType get()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.