com.atlassian.bamboo.agent
Class AgentTypeHolder

java.lang.Object
  extended by com.atlassian.bamboo.agent.AgentTypeHolder

public class AgentTypeHolder
extends java.lang.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 © 2012 Atlassian. All Rights Reserved.