public class CommandServiceDirectoryEntry extends Object implements Serializable
command service directory. An
entry tells you the name of the command service that supports the entry's
command type in the entry's subsystem.| Constructor and Description |
|---|
CommandServiceDirectoryEntry(String subsystem,
CommandType commandType,
ObjectName commandServiceName)
Constructor for
CommandServiceDirectoryEntry. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ObjectName |
getCommandServiceName()
Returns the value of commandServiceName.
|
CommandType |
getCommandType()
Returns the value of commandType.
|
String |
getSubsystem()
Returns the value of subsystem.
|
int |
hashCode() |
String |
toString() |
public CommandServiceDirectoryEntry(String subsystem, CommandType commandType, ObjectName commandServiceName) throws IllegalArgumentException
CommandServiceDirectoryEntry.subsystem - the entry's subsystem (may be null)commandType - the entry's command type (must not be null)commandServiceName - the entry's command service name (must not be null)IllegalArgumentException - if a non-null able argument is nullpublic String getSubsystem()
null, which represents the unnamed,
anonymous subsystem.public CommandType getCommandType()
public ObjectName getCommandServiceName()
public String toString()
toString in class ObjectObject.toString()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.