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
  • Method Details

    • set

      public static void set(@NotNull @NotNull AgentType type)
    • get

      @NotNull public static @NotNull AgentType get()