jetbrains.buildServer.agent
Class BuildInterruptReason

java.lang.Object
  extended by jetbrains.buildServer.agent.BuildInterruptReason

@NonNls
public final class BuildInterruptReason
extends java.lang.Object

Describes build forcibly interruption attempt reason

Since:
4.5
See Also:
AgentLifeCycleListener.beforeBuildInterrupted(AgentRunningBuild, BuildInterruptReason)

Field Summary
static BuildInterruptReason AGENT_SHUTDOWN
          Build is terminated because of the build agent shutdown
static BuildInterruptReason EXECUTION_TIMEOUT
          Build is terminated because execution time limit is exceeded
static BuildInterruptReason NOT_RUNNING_BUILD_ON_SERVER
          This build is not running on the server
static BuildInterruptReason SERVER_STOP_BUILD
          Build is terminated by 'Stop build' command from the server
static BuildInterruptReason SERVER_STOP_BY_PLUGIN
          Build is terminated by call of AgentRunningBuildEx#stop method
static BuildInterruptReason UNKNOWN_REASON
          Used in case if interrupt reason could not be identified.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EXECUTION_TIMEOUT

@NonNls
public static final BuildInterruptReason EXECUTION_TIMEOUT
Build is terminated because execution time limit is exceeded


AGENT_SHUTDOWN

@NonNls
public static final BuildInterruptReason AGENT_SHUTDOWN
Build is terminated because of the build agent shutdown


NOT_RUNNING_BUILD_ON_SERVER

@NonNls
public static final BuildInterruptReason NOT_RUNNING_BUILD_ON_SERVER
This build is not running on the server


SERVER_STOP_BUILD

@NonNls
public static final BuildInterruptReason SERVER_STOP_BUILD
Build is terminated by 'Stop build' command from the server


SERVER_STOP_BY_PLUGIN

@NonNls
public static final BuildInterruptReason SERVER_STOP_BY_PLUGIN
Build is terminated by call of AgentRunningBuildEx#stop method

Since:
6.5

UNKNOWN_REASON

@NonNls
public static final BuildInterruptReason UNKNOWN_REASON
Used in case if interrupt reason could not be identified.

Since:
7.0
Method Detail

toString

@NonNls
public java.lang.String toString()
Overrides:
toString in class java.lang.Object