|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildAgent
Represents a UI view of a given build agent
Nested Class Summary | |
---|---|
static interface |
BuildAgent.BuildAgentVisitor
A visitor to execute certain flows depending on the type of the BuildAgent |
Method Summary | |
---|---|
void |
accept(BuildAgent.BuildAgentVisitor buildAgentVisitor)
Runs the appropriate visitor method depending on which type of agent it is |
AgentStatus |
getAgentStatus()
|
PipelineDefinition |
getDefinition()
|
long |
getId()
|
java.lang.String |
getName()
|
boolean |
isActive()
|
boolean |
isBusy()
Returns true if an agent is building or is cancelling a build |
boolean |
isEnabled()
|
boolean |
isRequestedToBeStopped()
Whether or not a call has been made to shutdown the agent after the current build has finished |
boolean |
isUnresponsive()
Whether or not the agent has been deemed to be "unresponsive". |
void |
setDefinition(PipelineDefinition definition)
|
void |
setRequestedToBeStopped(boolean requestedToBeStopped)
|
void |
setUnresponsive(boolean unresponsive)
|
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
long getId()
java.lang.String getName()
getName
in interface NameProvider
boolean isActive()
boolean isEnabled()
AgentStatus getAgentStatus()
@NotNull PipelineDefinition getDefinition()
void setDefinition(@NotNull PipelineDefinition definition)
boolean isRequestedToBeStopped()
void setRequestedToBeStopped(boolean requestedToBeStopped)
void accept(BuildAgent.BuildAgentVisitor buildAgentVisitor)
buildAgentVisitor
- boolean isUnresponsive()
void setUnresponsive(boolean unresponsive)
boolean isBusy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |