Class ScheduleFactory


  • public class ScheduleFactory
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AT  
      static java.lang.String DELAY  
      static java.lang.String FOREVER  
      static java.lang.String NOW  
      static java.lang.String REPEAT  
      static java.lang.String START  
      static java.lang.String STOP  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScheduleFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Schedule createSchedule​(SwiftletContext ctx, MessageImpl message, java.lang.String name, java.lang.String jobGroup, java.lang.String jobName, java.lang.String parm, java.lang.String value)  
      static Schedule createSchedule​(SwiftletContext ctx, Entity entity)  
      static Schedule createSchedule​(SwiftletContext ctx, java.lang.String name, java.lang.String jobGroup, java.lang.String jobName, java.lang.String calendar, java.lang.String dateFrom, java.lang.String dateTo, java.lang.String timeExpr, java.lang.String maxRt, boolean enabledLogging)  
      • Methods inherited from class java.lang.Object

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

      • ScheduleFactory

        public ScheduleFactory()
    • Method Detail

      • createSchedule

        public static Schedule createSchedule​(SwiftletContext ctx,
                                              Entity entity)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createSchedule

        public static Schedule createSchedule​(SwiftletContext ctx,
                                              MessageImpl message,
                                              java.lang.String name,
                                              java.lang.String jobGroup,
                                              java.lang.String jobName,
                                              java.lang.String parm,
                                              java.lang.String value)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createSchedule

        public static Schedule createSchedule​(SwiftletContext ctx,
                                              java.lang.String name,
                                              java.lang.String jobGroup,
                                              java.lang.String jobName,
                                              java.lang.String calendar,
                                              java.lang.String dateFrom,
                                              java.lang.String dateTo,
                                              java.lang.String timeExpr,
                                              java.lang.String maxRt,
                                              boolean enabledLogging)
                                       throws InvalidScheduleException
        Throws:
        InvalidScheduleException