Interface BitFieldSubCommands.BitFieldSubCommand
- All Known Implementing Classes:
BitFieldSubCommands.AbstractBitFieldSubCommand,BitFieldSubCommands.BitFieldGet,BitFieldSubCommands.BitFieldIncrBy,BitFieldSubCommands.BitFieldSet
- Enclosing class:
- BitFieldSubCommands
public static interface BitFieldSubCommands.BitFieldSubCommand
Sub command to be used as part of
BitFieldSubCommands.- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionThe actual sub commandThe bit offset to apply for the command.getType()TheBitFieldSubCommands.BitFieldTypeto apply for the command.
-
Method Details
-
getCommand
String getCommand()The actual sub command- Returns:
- never null.
-
getType
BitFieldSubCommands.BitFieldType getType()TheBitFieldSubCommands.BitFieldTypeto apply for the command.- Returns:
- never null.
-
getOffset
BitFieldSubCommands.Offset getOffset()The bit offset to apply for the command.- Returns:
- never null.
-