TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.trace.ui.internal.launcher.core
Class AgentDeclarationManager

java.lang.Object
  extended by org.eclipse.tptp.trace.ui.internal.launcher.core.AgentDeclarationManager

public class AgentDeclarationManager
extends java.lang.Object


Method Summary
 AgentDeclaration getAgentDeclaration(java.lang.String agentDeclarationId)
           
 java.lang.String getAgentDeclarationId(java.lang.String agentName, java.lang.String agentType)
          Given an agent name and type, find the corresponding declaration id (if it exists).
static AgentDeclarationManager getInstance()
          Return the instance of this singleton class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AgentDeclarationManager getInstance()
Return the instance of this singleton class.

Returns:
An instance of this class

getAgentDeclaration

public AgentDeclaration getAgentDeclaration(java.lang.String agentDeclarationId)

getAgentDeclarationId

public java.lang.String getAgentDeclarationId(java.lang.String agentName,
                                              java.lang.String agentType)
Given an agent name and type, find the corresponding declaration id (if it exists).

Parameters:
agentName - The agent name
agentType - The agent type
Returns:
The agent declaration id corresponding to the name and type passed in

TPTP 4.5.0 Platform Project
Internal API Specification