Package 

Object FileCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static FileCommand INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final Boolean check(String command, Long checkInterval) Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only
      final Boolean check(String command, Duration checkInterval, Function0<Unit> action) Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only
      final Boolean check(String command, Duration checkInterval) Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only
      final Boolean check(String command) Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • check

         final Boolean check(String command, Long checkInterval)

        Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only

        Parameters:
        command - Check if the command exists
        checkInterval - The check interval in seconds
      • check

        @JvmOverloads() final Boolean check(String command, Duration checkInterval, Function0<Unit> action)

        Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only

        Parameters:
        command - Check if the command exists
        checkInterval - The check interval
      • check

        @JvmOverloads() final Boolean check(String command, Duration checkInterval)

        Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only

        Parameters:
        command - Check if the command exists
        checkInterval - The check interval
      • check

        @JvmOverloads() final Boolean check(String command)

        Check local command file to see if there are pending commands Supported local file commands can be found in AppConstants CMD_* General command options are supported: -perm: the command should be always keep in the file and execute every time the command file is checked, otherwise the command is executed only

        Parameters:
        command - Check if the command exists