Class CronJob<T>


  • public class CronJob<T>
    extends java.lang.Object
    The cron job consists of: - a unique id - a time pattern filter - a command
    • Method Detail

      • getId

        public java.lang.String getId()
        Get the id.
        Returns:
        The id.
      • setId

        public void setId​(java.lang.String id)
        Set the id.
        Parameters:
        id - The id to set.
      • getPattern

        public java.lang.String getPattern()
        Get the pattern.
        Returns:
        The pattern.
      • setPattern

        public void setPattern​(java.lang.String pattern)
        Set the pattern.
        Parameters:
        pattern - The pattern to set.
      • getFilter

        public IFilter<java.lang.Long> getFilter()
        Get the filter.
        Returns:
        The filter.
      • setFilter

        public void setFilter​(IFilter<java.lang.Long> filter)
        Set the filter.
        Parameters:
        filter - The filter to set.