public class MicroAgentID
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MicroAgentID(java.lang.String name,
java.lang.String displayName,
java.lang.String instance,
long checksum,
boolean isService,
Agent agent)
Constructs a MicroAgentID
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines if two MicroAgentID objects are equal.
|
Agent |
getAgent()
Returns the Agent object identifying which agent is hosting the microagent.
|
long |
getChecksum()
Returns the checksum of the microagent's descriptor.
|
java.lang.String |
getDisplayName()
Returns the microagent display name.
|
java.lang.String |
getInstance()
Returns the microagent instance.
|
java.lang.String |
getName()
Returns the microagent name.
|
int |
hashCode() |
boolean |
isService()
Returns true if this microagent is a service.
|
java.lang.String |
toString()
Returns a string representation of this id
|
public MicroAgentID(java.lang.String name, java.lang.String displayName, java.lang.String instance, long checksum, boolean isService, Agent agent)
name
- The name of the microagent. May not be null or empty string.displayName
- The display name of the microagentinstance
- The instance of the microagent. May not be null or empty string.checksum
- The checksum of the microagent's descriptorisServer
- A flag indicating if this microagent is a serviceagent
- The Agent object identifying the agent hosting this microagent.public java.lang.String getName()
public java.lang.String getDisplayName()
public java.lang.String getInstance()
public long getChecksum()
public boolean isService()
This flag is reserved for future use.
public Agent getAgent()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.