Class MenuBootstrapCommand
- java.lang.Object
-
- com.thecoderscorner.menu.remote.commands.MenuBootstrapCommand
-
- All Implemented Interfaces:
MenuCommand
public class MenuBootstrapCommand extends java.lang.Object implements MenuCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMenuBootstrapCommand.BootType
-
Constructor Summary
Constructors Constructor Description MenuBootstrapCommand(MenuBootstrapCommand.BootType bootType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)MenuBootstrapCommand.BootTypegetBootType()MenuCommandTypegetCommandType()The type of message received.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
MenuBootstrapCommand
public MenuBootstrapCommand(MenuBootstrapCommand.BootType bootType)
-
-
Method Detail
-
getBootType
public MenuBootstrapCommand.BootType getBootType()
-
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
-
-