Class DaemonEntry


  • public final class DaemonEntry
    extends Object
    this class is used to manage daemons declaration
    • Constructor Detail

      • DaemonEntry

        public DaemonEntry()
        Constructor
    • Method Detail

      • getId

        public String getId()
        Returns the Id
        Returns:
        The Id
      • setId

        public void setId​(String strId)
        Sets the Id
        Parameters:
        strId - The Id
      • getNameKey

        public String getNameKey()
        Returns the NameKey
        Returns:
        The NameKey
      • setNameKey

        public void setNameKey​(String strNameKey)
        Sets the NameKey
        Parameters:
        strNameKey - The NameKey
      • getDescriptionKey

        public String getDescriptionKey()
        Returns the DescriptionKey
        Returns:
        The DescriptionKey
      • setDescriptionKey

        public void setDescriptionKey​(String strDescriptionKey)
        Sets the DescriptionKey
        Parameters:
        strDescriptionKey - The DescriptionKey
      • getClassName

        public String getClassName()
        Returns the ClassName
        Returns:
        The ClassName
      • setClassName

        public void setClassName​(String strClassName)
        Sets the ClassName
        Parameters:
        strClassName - The ClassName
      • getDaemonThread

        public DaemonThread getDaemonThread()
        Returns the thread which start the daemon task
        Returns:
        The thread
      • getInterval

        public long getInterval()
        Returns the Interval of time in seconds between two executions
        Returns:
        _lInterval the interval of time
      • onStartup

        public boolean onStartup()
        Indicates if the daemon must be process on system startup
        Returns:
        _bOnStartup
      • isRunning

        public boolean isRunning()
        Checks if the daemon is running
        Returns:
        True if the thread is running, otherwise false
      • setIsRunning

        public void setIsRunning​(boolean bIsRunning)
        Set running daemon status
        Parameters:
        bIsRunning - True if the thread is running, otherwise false
      • getPluginName

        public String getPluginName()
        Returns the PluginName
        Returns:
        The PluginName
      • setPluginName

        public void setPluginName​(String strPluginName)
        Sets the PluginName
        Parameters:
        strPluginName - The PluginName
      • getLastRunDate

        public String getLastRunDate()
        Returns the LastRunDate
        Returns:
        The LastRunDate
      • setLastRunDate

        public void setLastRunDate​(Date dateLastRunDate)
        Sets the LastRunDate
        Parameters:
        dateLastRunDate - The LastRunDate
      • getLastRunLogs

        public String getLastRunLogs()
        Returns the LastRunLogs
        Returns:
        The LastRunLogs
      • setLastRunLogs

        public void setLastRunLogs​(String strLastRunLogs)
        Sets the LastRunLogs
        Parameters:
        strLastRunLogs - The LastRunLogs
      • setInterval

        public void setInterval​(long lInterval)
        Sets the interval
        Parameters:
        lInterval - The interval
      • setOnStartUp

        public void setOnStartUp​(boolean bOnStartup)
        Sets the OnStartUp property
        Parameters:
        bOnStartup - True if the daemon should be launched on startup, otherwise false