jetbrains.buildServer.web.openapi.agent
Class AgentFinderUtil

java.lang.Object
  extended by jetbrains.buildServer.web.openapi.agent.AgentFinderUtil

public class AgentFinderUtil
extends java.lang.Object


Constructor Summary
AgentFinderUtil()
           
 
Method Summary
static SBuildAgent findAgent(javax.servlet.http.HttpServletRequest request, BuildAgentManager agentManager)
          Finds agent by id or name specified in HTTP request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentFinderUtil

public AgentFinderUtil()
Method Detail

findAgent

public static SBuildAgent findAgent(@NotNull
                                    javax.servlet.http.HttpServletRequest request,
                                    @NotNull
                                    BuildAgentManager agentManager)
Finds agent by id or name specified in HTTP request

Parameters:
request - request
agentManager - agent manager
Returns:
agent or null if agent was not found