Class DeviceCommand


  • public class DeviceCommand
    extends Object
    • Constructor Detail

      • DeviceCommand

        public DeviceCommand​(@NotBlank
                             @NotBlank String name,
                             @NotBlank
                             @NotBlank String category,
                             @Null
                             @Null String command)
        Instantiates a new DeviceCommand
        Parameters:
        name - represents the name of the device command
        category - represents the category of the device command
        command - represents the command text of the device command
    • Method Detail

      • getAttributes

        public Map<String,​Object> getAttributes()
        This method returns the name, category, command and the delivery types associated with the Device Command
        Returns:
        Map The resultant map containing the attributes associated with the Device Command