Class PollingIntervalCommand

    • Constructor Detail

      • PollingIntervalCommand

        public PollingIntervalCommand​(CommandRegistry registry)
    • Method Detail

      • execute

        public CommandResult execute​(CommandParameters parameters)
        Description copied from interface: Command
        This method will be called as the starting point to execute the logic for the action mapped to this command.
        Parameters:
        parameters - the command parameters
        Returns:
        the message output to the console as a result of an executed command
      • getDescriptor

        public Command.Descriptor getDescriptor()
        Description copied from interface: Command
        This method returns an instance of Command.Descriptor. The descriptor is meta information about the command.
        Returns:
        a Descriptor that is meta information about the command