jetbrains.buildServer.agent
Interface AgentBuildRunnerInfo
public interface AgentBuildRunnerInfo
Build runner properties
- Since:
- 4.0
- Author:
- Eugene Petrenko
Created: 07.10.2008 21:16:09
getType
@NotNull
java.lang.String getType()
- Returns name of the runner, should match RunType.getType
- Returns:
- name of the runner, should match RunType.getType
canRun
boolean canRun(@NotNull
BuildAgentConfiguration agentConfiguration)
- Parameters:
agentConfiguration - - current agent configuration
- Returns:
- true if the runner can run in this particular environment or not.
For example, returning 'false' is a way for a runner to refuse to run on a system that is not supported by the runner
If 'false' is returned, the Agent won't register the runner and it won't be advertised
to the build server server during agent's registration