public class MQUrl extends Object
Constructor and Description |
---|
MQUrl(String id)
Constructs the MQUrl with the id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Two MQUrls are identified by their id (name).
|
int |
hashCode()
Hashcode of MQurl is the same as the Hashcode of its name.
|
void |
setHost(String host)
Sets the host name of the Url.
|
void |
setPort(String port)
Sets the port number of the Url.
|
void |
setScheme(String scheme)
Sets the Scheme of MQ connection for this Url.
|
void |
setService(String service)
Sets the type of service offered by MQ broker.
|
String |
toString()
String representation of the Url.
|
public MQUrl(String id)
id
- Logical name of the MQUrlpublic void setHost(String host)
host
- Host Name of the Url.public void setPort(String port)
port
- Port number of the Url.public void setScheme(String scheme)
scheme
- scheme of the connection.public void setService(String service)
service
- Name of service.public String toString()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.