Class MenuPairingCommand
- java.lang.Object
-
- com.thecoderscorner.menu.remote.commands.MenuPairingCommand
-
- All Implemented Interfaces:
MenuCommand
public class MenuPairingCommand extends java.lang.Object implements MenuCommand
-
-
Constructor Summary
Constructors Constructor Description MenuPairingCommand(java.lang.String name, java.util.UUID uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)MenuCommandTypegetCommandType()The type of message received.java.lang.StringgetName()java.util.UUIDgetUuid()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getUuid
public java.util.UUID getUuid()
-
getCommandType
public MenuCommandType getCommandType()
Description copied from interface:MenuCommandThe type of message received.- Specified by:
getCommandTypein interfaceMenuCommand- Returns:
- the command type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-