public class ToolDescription extends Object implements Serializable
Constructor and Description |
---|
ToolDescription(String id,
String serviceName,
String toolClass,
String type,
String location)
Constructs a tool description.
|
Modifier and Type | Method and Description |
---|---|
boolean |
bind(Map<String,ServiceDescription> serviceMap)
Binds the tool to the service.
|
boolean |
equals(Object obj) |
String |
getId()
Returns the tool id.
|
String |
getLocation()
Returns the path.
|
String |
getLocationType()
Returns the location type.
|
String |
getServiceName()
Returns the service name to which the tool is associated.
|
String |
getToolClass()
Returns the tool class.
|
int |
hashCode() |
public ToolDescription(String id, String serviceName, String toolClass, String type, String location)
id
- The tool idserviceName
- The service nametoolClass
- The tool class nametype
- The location type, services or benchmarklocation
- The actual location of the tool, if applicable.public boolean bind(Map<String,ServiceDescription> serviceMap)
serviceMap
- The service mappublic String getLocationType()
public String getLocation()
public String getId()
public String getServiceName()
public String getToolClass()