Class AgentOfflineStatus

java.lang.Object
com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
com.atlassian.bamboo.v2.build.agent.AgentOfflineStatus
All Implemented Interfaces:
AgentStatus

public final class AgentOfflineStatus extends AbstractAgentStatus
  • Method Details

    • getInstance

      public static AgentStatus getInstance()
    • getOrderIndex

      public int getOrderIndex()
      Description copied from interface: AgentStatus
      Used to order the AgentStatus
    • getLabel

      @NotNull public @NotNull String getLabel()
      Returns:
      the label to display
    • getImagePath

      @NotNull public @NotNull String getImagePath()
      Returns:
      The image to use for this status
    • getIcon

      @NotNull public @NotNull String getIcon()
      Returns:
      the icon to use for this status
    • getUrl

      @Nullable public @Nullable String getUrl()
      Returns:
      The URL the status should point to. Will be prepended by the contextPath
    • isAllowDelete

      public boolean isAllowDelete()
      Returns:
      true if the agent is allowed to be deleted when in this state
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object