From 4c39d3beb1b76e081d78e8c70c1bb302bd4a5e7d Mon Sep 17 00:00:00 2001 From: puneetbehl Date: Sat, 7 Dec 2024 14:17:33 +0000 Subject: [PATCH] Deploying to gh-pages - 14:17:32 --- snapshot/api/allclasses-index.html | 247 +--- snapshot/api/allpackages-index.html | 163 +-- snapshot/api/constant-values.html | 545 +++----- .../quartz/CustomTriggerFactoryBean.html | 548 +++----- .../plugins/quartz/DefaultGrailsJobClass.html | 744 ++++------- .../grails/plugins/quartz/GrailsJobClass.html | 505 +++----- .../quartz/GrailsJobClassConstants.html | 1116 +++++++---------- .../quartz/GrailsJobFactory.GrailsJob.html | 417 ++---- .../GrailsJobFactory.StatefulGrailsJob.html | 307 ++--- .../plugins/quartz/GrailsJobFactory.html | 459 +++---- .../plugins/quartz/JobDetailFactoryBean.html | 564 +++------ .../ExceptionPrinterJobListener.html | 472 +++---- .../listeners/SessionBinderJobListener.html | 557 +++----- .../quartz/listeners/package-summary.html | 196 +-- .../quartz/listeners/package-tree.html | 147 +-- .../plugins/quartz/package-summary.html | 261 ++-- .../grails/plugins/quartz/package-tree.html | 161 +-- snapshot/api/help-doc.html | 320 ++--- snapshot/api/index-all.html | 411 +++--- snapshot/api/index.html | 163 +-- snapshot/api/legal/jquery.md | 50 +- snapshot/api/member-search-index.js | 2 +- snapshot/api/module-search-index.js | 1 + snapshot/api/overview-summary.html | 12 +- snapshot/api/overview-tree.html | 165 +-- snapshot/api/package-search-index.js | 2 +- snapshot/api/script-dir/jquery-3.7.1.min.js | 2 + snapshot/api/script-dir/jquery-ui.min.css | 6 + snapshot/api/script-dir/jquery-ui.min.js | 6 + snapshot/api/script.js | 183 ++- snapshot/api/search.js | 410 +++--- snapshot/api/stylesheet.css | 775 ++++++------ snapshot/api/tag-search-index.js | 1 + snapshot/api/type-search-index.js | 2 +- .../quartz/CustomTriggerFactoryBean.html | 2 +- .../quartz/GrailsJobClassConstants.html | 2 +- .../quartz/GrailsJobFactory.GrailsJob.html | 2 +- .../grails/plugins/quartz/JobDescriptor.html | 2 +- .../plugins/quartz/JobDetailFactoryBean.html | 2 +- .../plugins/quartz/JobManagerService.html | 2 +- .../gapi/grails/plugins/quartz/QuartzJob.html | 2 +- .../quartz/QuartzJobTraitInjector.html | 2 +- .../grails/plugins/quartz/StringEditor.html | 2 +- .../plugins/quartz/TriggerDescriptor.html | 2 +- .../grails/plugins/quartz/TriggerUtils.html | 2 +- .../plugins/quartz/cleanup/JdbcCleanup.html | 2 +- .../quartz/config/TriggersConfigBuilder.html | 2 +- snapshot/guide/configuration.html | 7 +- snapshot/guide/scheduling.html | 11 +- snapshot/guide/single.html | 58 +- snapshot/guide/triggers.html | 40 +- 51 files changed, 3535 insertions(+), 6527 deletions(-) create mode 100644 snapshot/api/module-search-index.js create mode 100644 snapshot/api/script-dir/jquery-3.7.1.min.js create mode 100644 snapshot/api/script-dir/jquery-ui.min.css create mode 100644 snapshot/api/script-dir/jquery-ui.min.js create mode 100644 snapshot/api/tag-search-index.js diff --git a/snapshot/api/allclasses-index.html b/snapshot/api/allclasses-index.html index 2ef3cd63..147efc89 100644 --- a/snapshot/api/allclasses-index.html +++ b/snapshot/api/allclasses-index.html @@ -1,226 +1,111 @@ - - -All Classes (quartz 4.0.0-SNAPSHOT API) + +All Classes and Interfaces (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ +
-

All Classes

-
-
- +
+
+
-
- -
diff --git a/snapshot/api/allpackages-index.html b/snapshot/api/allpackages-index.html index 12ca3b90..cca8f443 100644 --- a/snapshot/api/allpackages-index.html +++ b/snapshot/api/allpackages-index.html @@ -1,168 +1,65 @@ - - + All Packages (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ +

All Packages

-
- +
Package Summary
+
+
Package
+
Description
+ +
 
+ +
 
-
- -
diff --git a/snapshot/api/constant-values.html b/snapshot/api/constant-values.html index 901ff6ef..ae638c97 100644 --- a/snapshot/api/constant-values.html +++ b/snapshot/api/constant-values.html @@ -1,439 +1,202 @@ - - + Constant Field Values (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ +

Constant Field Values

-
+

Contents

-
- - -
+

grails.plugins.*

-
-
-
- -
diff --git a/snapshot/api/grails/plugins/quartz/CustomTriggerFactoryBean.html b/snapshot/api/grails/plugins/quartz/CustomTriggerFactoryBean.html index 43345091..28a0cae8 100644 --- a/snapshot/api/grails/plugins/quartz/CustomTriggerFactoryBean.html +++ b/snapshot/api/grails/plugins/quartz/CustomTriggerFactoryBean.html @@ -1,436 +1,266 @@ - - + CustomTriggerFactoryBean (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ - +
+
- -

Class CustomTriggerFactoryBean

+ +

Class CustomTriggerFactoryBean

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • grails.plugins.quartz.CustomTriggerFactoryBean
    • -
    -
  • -
-
-
    -
  • -
    +
    java.lang.Object +
    grails.plugins.quartz.CustomTriggerFactoryBean
    +
    +
    +
    All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>, org.springframework.beans.factory.InitializingBean

    -
    public class CustomTriggerFactoryBean
    -extends java.lang.Object
    -implements org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>, org.springframework.beans.factory.InitializingBean
    +
    public class CustomTriggerFactoryBean +extends Object +implements org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>, org.springframework.beans.factory.InitializingBean
    The factory bean to create and register trigger beans in Spring context.
    -
  • -
-
-
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          CustomTriggerFactoryBean

          -
          public CustomTriggerFactoryBean()
          -
        • -
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          CustomTriggerFactoryBean

          +
          public CustomTriggerFactoryBean()
          +
        +
      • -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            afterPropertiesSet

            -
            public void afterPropertiesSet()
            -                        throws java.text.ParseException
            -
            -
            Specified by:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              afterPropertiesSet

              +
              public void afterPropertiesSet() + throws ParseException
              +
              +
              Specified by:
              afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
              -
              Throws:
              -
              java.text.ParseException
              +
              Throws:
              +
              ParseException
              +
            • -
            - - - -
              -
            • -

              getObject

              -
              public org.quartz.Trigger getObject()
              -                             throws java.lang.Exception
              -
              -
              Specified by:
              +
            • +
              +

              getObject

              +
              public org.quartz.Trigger getObject() + throws Exception
              +
              +
              Specified by:
              getObject in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
              -
              Throws:
              -
              java.lang.Exception
              -
              See Also:
              -
              FactoryBean.getObject()
              -
              -
            • +
              Throws:
              +
              Exception
              +
              See Also:
              +
              +
                +
              • FactoryBean.getObject()
              - - - -
                -
              • -

                getObjectType

                -
                public java.lang.Class<? extends org.quartz.Trigger> getObjectType()
                -
                -
                Specified by:
                -
                getObjectType in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
                -
                See Also:
                -
                FactoryBean.getObjectType()
                +
              +
          • +
          • +
            +

            getObjectType

            +
            public Class<? extends org.quartz.Trigger> getObjectType()
            +
            +
            Specified by:
            +
            getObjectType in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
            +
            See Also:
            +
            +
              +
            • FactoryBean.getObjectType()
            - - - -
              -
            • -

              isSingleton

              -
              public boolean isSingleton()
              -
              -
              Specified by:
              -
              isSingleton in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
              -
              See Also:
              -
              FactoryBean.isSingleton()
              +
            +
          • +
          • +
            +

            isSingleton

            +
            public boolean isSingleton()
            +
            +
            Specified by:
            +
            isSingleton in interface org.springframework.beans.factory.FactoryBean<org.quartz.Trigger>
            +
            See Also:
            +
            +
              +
            • FactoryBean.isSingleton()
            - - - -
              -
            • -

              setJobDetail

              -
              public void setJobDetail​(org.quartz.JobDetail jobDetail)
              +
            +
            +
          • -
          - - - -
            -
          • -

            setTriggerClass

            -
            public void setTriggerClass​(java.lang.Class<org.quartz.Trigger> triggerClass)
            +
          • +
            +

            setJobDetail

            +
            public void setJobDetail(org.quartz.JobDetail jobDetail)
            +
          • -
          - - - -
            -
          • -

            setTriggerAttributes

            -
            public void setTriggerAttributes​(java.util.Map triggerAttributes)
            +
          • +
            +

            setTriggerClass

            +
            public void setTriggerClass(Class<org.quartz.Trigger> triggerClass)
            +
          • -
          +
        • +
          +

          setTriggerAttributes

          +
          public void setTriggerAttributes(Map triggerAttributes)
          +
      -
-
-
+ - diff --git a/snapshot/api/grails/plugins/quartz/DefaultGrailsJobClass.html b/snapshot/api/grails/plugins/quartz/DefaultGrailsJobClass.html index baa4e7f9..7df44757 100644 --- a/snapshot/api/grails/plugins/quartz/DefaultGrailsJobClass.html +++ b/snapshot/api/grails/plugins/quartz/DefaultGrailsJobClass.html @@ -1,601 +1,381 @@ - - + DefaultGrailsJobClass (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ - +
+
- -

Class DefaultGrailsJobClass

+ +

Class DefaultGrailsJobClass

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.grails.core.AbstractGrailsClass
    • -
    • -
        -
      • grails.plugins.quartz.DefaultGrailsJobClass
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    +
    java.lang.Object +
    org.grails.core.AbstractGrailsClass +
    grails.plugins.quartz.DefaultGrailsJobClass
    +
    +
    +
    +
    All Implemented Interfaces:
    grails.core.GrailsClass, grails.core.support.GrailsApplicationAware, GrailsJobClass, org.springframework.beans.factory.Aware

    -
    public class DefaultGrailsJobClass
    -extends org.grails.core.AbstractGrailsClass
    -implements GrailsJobClass
    +
    public class DefaultGrailsJobClass +extends org.grails.core.AbstractGrailsClass +implements GrailsJobClass
    Grails artifact class which represents a Quartz job.
    -
    -
    Since:
    +
    +
    Since:
    0.1
    -
  • -
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Field Summary

        - - - - - - - - - - - - -
        Fields 
        Modifier and TypeFieldDescription
        static java.lang.StringJOB 
        -
          -
        • - - -

          Fields inherited from class org.grails.core.AbstractGrailsClass

          -grailsApplication
        • -
        -
      • -
      +
    • +
      +

      Field Summary

      +
      Fields
      +
      +
      Modifier and Type
      +
      Field
      +
      Description
      +
      static final String
      + +
       
      +
      +
      +

      Fields inherited from class org.grails.core.AbstractGrailsClass

      +grailsApplication
      - -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        DefaultGrailsJobClass​(java.lang.Class clazz) 
      • -
      + +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      +
    • -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidexecute() +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        void
        + +
        Method which is executed by the job scheduler.
        -
      • voidexecute​(org.quartz.JobExecutionContext context) 
        java.lang.StringgetDescription() + +
        void
        +
        execute(org.quartz.JobExecutionContext context)
        +
         
        + + +
        Get job's description used for configuring job details.
        -
        java.lang.StringgetGroup() + + + +
        Get group name used for configuring scheduler.
        -
        java.util.MapgetTriggers() 
        booleanisConcurrent() + + + +
         
        +
        boolean
        + +
        If jobs can be executed concurrently returns true.
        -
        booleanisDurability() + +
        boolean
        + +
        If job is durable returns true.
        -
        booleanisEnabled() + +
        boolean
        + +
        If job should be enabled or at all.
        -
        booleanisRequestsRecovery() + +
        boolean
        + +
        If job should be re-executed if a 'recovery' or 'fail-over' situation is encountered returns true.
        -
        booleanisSessionRequired() + +
        boolean
        + +
        If job requires Hibernate Session bounded to thread returns true.
        -
        -
          -
        • - - -

          Methods inherited from class org.grails.core.AbstractGrailsClass

          -getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getMetaProperties, getName, getNaturalName, getPackageName, getPluginName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReferenceInstance, getShortName, getStaticPropertyValue, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isAbstract, isActionMethod, isReadableProperty, newInstance, setGrailsApplication, toString
        • -
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
        • -
        -
          -
        • - - -

          Methods inherited from interface grails.core.support.GrailsApplicationAware

          -setGrailsApplication
        • -
        -
          -
        • - - -

          Methods inherited from interface grails.core.GrailsClass

          -getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
        • -
        -
      • -
      +
+
+
+
+
+

Methods inherited from class org.grails.core.AbstractGrailsClass

+getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getMetaProperties, getName, getNaturalName, getPackageName, getPluginName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReferenceInstance, getShortName, getStaticPropertyValue, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isAbstract, isActionMethod, isReadableProperty, newInstance, setGrailsApplication, toString
+
+

Methods inherited from class java.lang.Object

+clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+
+

Methods inherited from interface grails.core.support.GrailsApplicationAware

+setGrailsApplication
+
+

Methods inherited from interface grails.core.GrailsClass

+getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
-
-
-
    -
  • + +
    +
      -
      -
      - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          DefaultGrailsJobClass

          -
          public DefaultGrailsJobClass​(java.lang.Class clazz)
        • -
        + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          DefaultGrailsJobClass

          +
          public DefaultGrailsJobClass(Class clazz)
          +
        +
      • -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            execute

            -
            public void execute()
            -
            Description copied from interface: GrailsJobClass
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              execute

              +
              public void execute()
              +
              Description copied from interface: GrailsJobClass
              Method which is executed by the job scheduler.
              -
              -
              Specified by:
              +
              +
              Specified by:
              execute in interface GrailsJobClass
              +
            • -
            - - - -
              -
            • -

              execute

              -
              public void execute​(org.quartz.JobExecutionContext context)
              +
            • +
              +

              execute

              +
              public void execute(org.quartz.JobExecutionContext context)
              +
            • -
            - - - -
              -
            • -

              getGroup

              -
              public java.lang.String getGroup()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              getGroup

              +
              public String getGroup()
              +
              Description copied from interface: GrailsJobClass
              Get group name used for configuring scheduler.
              -
              -
              Specified by:
              +
              +
              Specified by:
              getGroup in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              jobs group name for this job
              +
            • -
            - - - -
              -
            • -

              isConcurrent

              -
              public boolean isConcurrent()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              isConcurrent

              +
              public boolean isConcurrent()
              +
              Description copied from interface: GrailsJobClass
              If jobs can be executed concurrently returns true.
              -
              -
              Specified by:
              +
              +
              Specified by:
              isConcurrent in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              true if several instances of this job can run concurrently
              +
            • -
            - - - -
              -
            • -

              isSessionRequired

              -
              public boolean isSessionRequired()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              isSessionRequired

              +
              public boolean isSessionRequired()
              +
              Description copied from interface: GrailsJobClass
              If job requires Hibernate Session bounded to thread returns true.
              -
              -
              Specified by:
              +
              +
              Specified by:
              isSessionRequired in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              true if this job require a Hibernate Session bounded to thread
              +
            • -
            - - - -
              -
            • -

              isDurability

              -
              public boolean isDurability()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              isDurability

              +
              public boolean isDurability()
              +
              Description copied from interface: GrailsJobClass
              If job is durable returns true.
              -
              -
              Specified by:
              +
              +
              Specified by:
              isDurability in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              true if this job is durable
              +
            • -
            - - - -
              -
            • -

              isRequestsRecovery

              -
              public boolean isRequestsRecovery()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              isRequestsRecovery

              +
              public boolean isRequestsRecovery()
              +
              Description copied from interface: GrailsJobClass
              If job should be re-executed if a 'recovery' or 'fail-over' situation is encountered returns true.
              -
              -
              Specified by:
              +
              +
              Specified by:
              isRequestsRecovery in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              true if this job requests recovery
              +
            • -
            - - - -
              -
            • -

              isEnabled

              -
              public boolean isEnabled()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              isEnabled

              +
              public boolean isEnabled()
              +
              Description copied from interface: GrailsJobClass
              If job should be enabled or at all. Useful for testing new jobs and temporarily disabling jobs at the class property level
              -
              -
              Specified by:
              +
              +
              Specified by:
              isEnabled in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              true if this job is enabled
              +
            • -
            - - - -
              -
            • -

              getDescription

              -
              public java.lang.String getDescription()
              -
              Description copied from interface: GrailsJobClass
              +
            • +
              +

              getDescription

              +
              public String getDescription()
              +
              Description copied from interface: GrailsJobClass
              Get job's description used for configuring job details.
              -
              -
              Specified by:
              +
              +
              Specified by:
              getDescription in interface GrailsJobClass
              -
              Returns:
              +
              Returns:
              description for this job
              +
            • -
            - - - -
              -
            • -

              getTriggers

              -
              public java.util.Map getTriggers()
              -
              -
              Specified by:
              +
            • +
              +

              getTriggers

              +
              public Map getTriggers()
              +
              +
              Specified by:
              getTriggers in interface GrailsJobClass
              -
            • -
            +
      -
-
- + - diff --git a/snapshot/api/grails/plugins/quartz/GrailsJobClass.html b/snapshot/api/grails/plugins/quartz/GrailsJobClass.html index 598ea1cf..8d96c0cd 100644 --- a/snapshot/api/grails/plugins/quartz/GrailsJobClass.html +++ b/snapshot/api/grails/plugins/quartz/GrailsJobClass.html @@ -1,440 +1,267 @@ - - + GrailsJobClass (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ - +
+
- -

Interface GrailsJobClass

+ +

Interface GrailsJobClass

-
-
-
    -
  • -
    +
    +
    All Superinterfaces:
    org.springframework.beans.factory.Aware, grails.core.support.GrailsApplicationAware, grails.core.GrailsClass
    -
    +
    All Known Implementing Classes:
    DefaultGrailsJobClass

    -
    public interface GrailsJobClass
    -extends grails.core.GrailsClass
    +
    public interface GrailsJobClass +extends grails.core.GrailsClass
    Represents a job class in Grails.
    -
    -
    Since:
    +
    +
    Since:
    0.1
    -
  • -
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Abstract Methods 
        Modifier and TypeMethodDescription
        voidexecute() +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        void
        + +
        Method which is executed by the job scheduler.
        -
      • java.lang.StringgetDescription() + + + +
        Get job's description used for configuring job details.
        -
        java.lang.StringgetGroup() + + + +
        Get group name used for configuring scheduler.
        -
        java.util.MapgetTriggers() 
        booleanisConcurrent() + + + +
         
        +
        boolean
        + +
        If jobs can be executed concurrently returns true.
        -
        booleanisDurability() + +
        boolean
        + +
        If job is durable returns true.
        -
        booleanisEnabled() + +
        boolean
        + +
        If job should be enabled or at all.
        -
        booleanisRequestsRecovery() + +
        boolean
        + +
        If job should be re-executed if a 'recovery' or 'fail-over' situation is encountered returns true.
        -
        booleanisSessionRequired() + +
        boolean
        + +
        If job requires Hibernate Session bounded to thread returns true.
        -
        -
          -
        • - - -

          Methods inherited from interface grails.core.support.GrailsApplicationAware

          -setGrailsApplication
        • -
        -
          -
        • - - -

          Methods inherited from interface grails.core.GrailsClass

          -getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
        • -
        -
      • -
      +
+
+
+
+
+

Methods inherited from interface grails.core.support.GrailsApplicationAware

+setGrailsApplication
+
+

Methods inherited from interface grails.core.GrailsClass

+getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          execute

          -
          void execute()
          +
        • +
          +

          Method Details

          +
            +
          • +
            +

            execute

            +
            void execute()
            Method which is executed by the job scheduler.
            +
          • -
          - - - -
            -
          • -

            getGroup

            -
            java.lang.String getGroup()
            +
          • +
            +

            getGroup

            +
            String getGroup()
            Get group name used for configuring scheduler.
            -
            -
            Returns:
            +
            +
            Returns:
            jobs group name for this job
            +
          • -
          - - - -
            -
          • -

            isConcurrent

            -
            boolean isConcurrent()
            +
          • +
            +

            isConcurrent

            +
            boolean isConcurrent()
            If jobs can be executed concurrently returns true.
            -
            -
            Returns:
            +
            +
            Returns:
            true if several instances of this job can run concurrently
            +
          • -
          - - - -
            -
          • -

            isSessionRequired

            -
            boolean isSessionRequired()
            +
          • +
            +

            isSessionRequired

            +
            boolean isSessionRequired()
            If job requires Hibernate Session bounded to thread returns true.
            -
            -
            Returns:
            +
            +
            Returns:
            true if this job require a Hibernate Session bounded to thread
            +
          • -
          - - - -
            -
          • -

            isDurability

            -
            boolean isDurability()
            +
          • +
            +

            isDurability

            +
            boolean isDurability()
            If job is durable returns true.
            -
            -
            Returns:
            +
            +
            Returns:
            true if this job is durable
            +
          • -
          - - - -
            -
          • -

            isRequestsRecovery

            -
            boolean isRequestsRecovery()
            +
          • +
            +

            isRequestsRecovery

            +
            boolean isRequestsRecovery()
            If job should be re-executed if a 'recovery' or 'fail-over' situation is encountered returns true.
            -
            -
            Returns:
            +
            +
            Returns:
            true if this job requests recovery
            +
          • -
          - - - -
            -
          • -

            isEnabled

            -
            boolean isEnabled()
            +
          • +
            +

            isEnabled

            +
            boolean isEnabled()
            If job should be enabled or at all. Useful for testing new jobs and temporarily disabling jobs at the class property level
            -
            -
            Returns:
            +
            +
            Returns:
            true if this job is enabled
            +
          • -
          - - - -
            -
          • -

            getDescription

            -
            java.lang.String getDescription()
            +
          • +
            +

            getDescription

            +
            String getDescription()
            Get job's description used for configuring job details.
            -
            -
            Returns:
            +
            +
            Returns:
            description for this job
            +
          • -
          - - - -
            -
          • -

            getTriggers

            -
            java.util.Map getTriggers()
            -
          • -
          +
        • +
          +

          getTriggers

          +
          Map getTriggers()
          +
    -
-
- + -
- -
diff --git a/snapshot/api/grails/plugins/quartz/GrailsJobClassConstants.html b/snapshot/api/grails/plugins/quartz/GrailsJobClassConstants.html index c2273f09..251c18d0 100644 --- a/snapshot/api/grails/plugins/quartz/GrailsJobClassConstants.html +++ b/snapshot/api/grails/plugins/quartz/GrailsJobClassConstants.html @@ -1,747 +1,589 @@ - - + GrailsJobClassConstants (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ - +
+
- -

Class GrailsJobClassConstants

+ +

Class GrailsJobClassConstants

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • grails.plugins.quartz.GrailsJobClassConstants
    • -
    -
  • -
-
-
    -
  • +
    java.lang.Object +
    grails.plugins.quartz.GrailsJobClassConstants
    +
    +

    -
    public final class GrailsJobClassConstants
    -extends java.lang.Object
    +
    public final class GrailsJobClassConstants +extends Object

    Holds plugin constants.

    -
    -
    Since:
    +
    +
    Since:
    0.1
    -
    See Also:
    -
    GrailsJobClass
    -
    -
  • +
    See Also:
    +
    + -
-
-
-
-
-
-
+ -
- -
diff --git a/snapshot/api/grails/plugins/quartz/GrailsJobFactory.GrailsJob.html b/snapshot/api/grails/plugins/quartz/GrailsJobFactory.GrailsJob.html index fb91fe63..5146ad36 100644 --- a/snapshot/api/grails/plugins/quartz/GrailsJobFactory.GrailsJob.html +++ b/snapshot/api/grails/plugins/quartz/GrailsJobFactory.GrailsJob.html @@ -1,367 +1,210 @@ - - + GrailsJobFactory.GrailsJob (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+ - +
+
- -

Class GrailsJobFactory.GrailsJob

+ +

Class GrailsJobFactory.GrailsJob

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • grails.plugins.quartz.GrailsJobFactory.GrailsJob
    • -
    -
  • -
-
-
    -
  • -
    +
    java.lang.Object +
    grails.plugins.quartz.GrailsJobFactory.GrailsJob
    +
    +
    +
    All Implemented Interfaces:
    org.quartz.InterruptableJob, org.quartz.Job
    -
    +
    Direct Known Subclasses:
    GrailsJobFactory.StatefulGrailsJob
    -
    +
    Enclosing class:
    GrailsJobFactory

    -
    public static class GrailsJobFactory.GrailsJob
    -extends java.lang.Object
    -implements org.quartz.InterruptableJob
    +
    public static class GrailsJobFactory.GrailsJob +extends Object +implements org.quartz.InterruptableJob
    Quartz Job implementation that invokes execute() on the application's job class.
    -
  • -
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Summary

        - - - - - - - - - - -
        Constructors 
        ConstructorDescription
        GrailsJob​(java.lang.Object job) 
        -
      • -
      +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      + +
       
      +
      +
    • -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Concrete Methods 
        Modifier and TypeMethodDescription
        voidexecute​(org.quartz.JobExecutionContext context) 
        java.lang.ObjectgetJob() +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        void
        +
        execute(org.quartz.JobExecutionContext context)
        +
         
        + + +
        It's needed for the quartz-monitor plugin.
        -
      • voidinterrupt() 
        -
          -
        • - - -

          Methods inherited from class java.lang.Object

          -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
        • -
        -
      • -
      +
+
void
+ +
 
+
+
+
+
+

Methods inherited from class java.lang.Object

+clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          GrailsJob

          -
          public GrailsJob​(java.lang.Object job)
          -
        • -
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          GrailsJob

          +
          public GrailsJob(Object job)
          +
        +
      • -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            execute

            -
            public void execute​(org.quartz.JobExecutionContext context)
            -             throws org.quartz.JobExecutionException
            -
            -
            Specified by:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              execute

              +
              public void execute(org.quartz.JobExecutionContext context) + throws org.quartz.JobExecutionException
              +
              +
              Specified by:
              execute in interface org.quartz.Job
              -
              Throws:
              +
              Throws:
              org.quartz.JobExecutionException
              +
            • -
            - - - -
              -
            • -

              interrupt

              -
              public void interrupt()
              -               throws org.quartz.UnableToInterruptJobException
              -
              -
              Specified by:
              +
            • +
              +

              interrupt

              +
              public void interrupt() + throws org.quartz.UnableToInterruptJobException
              +
              +
              Specified by:
              interrupt in interface org.quartz.InterruptableJob
              -
              Throws:
              +
              Throws:
              org.quartz.UnableToInterruptJobException
              +
            • -
            - - - -
              -
            • -

              getJob

              -
              public java.lang.Object getJob()
              +
            • +
              +

              getJob

              +
              public Object getJob()
              It's needed for the quartz-monitor plugin.
              -
              -
              Returns:
              +
              +
              Returns:
              the GrailsJobClass object.
              -
            • -
            +
      -
-
- + - diff --git a/snapshot/api/grails/plugins/quartz/GrailsJobFactory.StatefulGrailsJob.html b/snapshot/api/grails/plugins/quartz/GrailsJobFactory.StatefulGrailsJob.html index 08d38448..bcfaaad9 100644 --- a/snapshot/api/grails/plugins/quartz/GrailsJobFactory.StatefulGrailsJob.html +++ b/snapshot/api/grails/plugins/quartz/GrailsJobFactory.StatefulGrailsJob.html @@ -1,291 +1,144 @@ - - + GrailsJobFactory.StatefulGrailsJob (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
- -

Class GrailsJobFactory.StatefulGrailsJob

+ +

Class GrailsJobFactory.StatefulGrailsJob

-
- -
-
Extension of the GrailsJob, has concurrent annotations. Quartz checks whether or not jobs are stateful and if so, won't let jobs interfere with each other.
- - -
-
-
-
-
    -
  • + +
    +
      -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          StatefulGrailsJob

          -
          public StatefulGrailsJob​(java.lang.Object job)
          -
        • -
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          StatefulGrailsJob

          +
          public StatefulGrailsJob(Object job)
          +
      -
-
- + - diff --git a/snapshot/api/grails/plugins/quartz/GrailsJobFactory.html b/snapshot/api/grails/plugins/quartz/GrailsJobFactory.html index 64f82906..70abc31e 100644 --- a/snapshot/api/grails/plugins/quartz/GrailsJobFactory.html +++ b/snapshot/api/grails/plugins/quartz/GrailsJobFactory.html @@ -1,392 +1,223 @@ - - + GrailsJobFactory (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
- -

Class GrailsJobFactory

+ +

Class GrailsJobFactory

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • org.springframework.scheduling.quartz.AdaptableJobFactory
    • -
    • -
        -
      • grails.plugins.quartz.GrailsJobFactory
      • -
      -
    • -
    -
  • -
-
-
    -
  • -
    +
    java.lang.Object +
    org.springframework.scheduling.quartz.AdaptableJobFactory +
    grails.plugins.quartz.GrailsJobFactory
    +
    +
    +
    +
    All Implemented Interfaces:
    org.quartz.spi.JobFactory, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    -
    public class GrailsJobFactory
    -extends org.springframework.scheduling.quartz.AdaptableJobFactory
    -implements org.springframework.context.ApplicationContextAware
    +
    public class GrailsJobFactory +extends org.springframework.scheduling.quartz.AdaptableJobFactory +implements org.springframework.context.ApplicationContextAware
    Job factory which retrieves Job instances from ApplicationContext.

    It is used by the quartz scheduler to create an instance of the job class for executing.

    -
    -
    Since:
    +
    +
    Since:
    0.3.2
    -
  • -
-
-
-
+
- -
-
    -
  • - - -

    Constructor Summary

    - - - - - - - - - - -
    Constructors 
    ConstructorDescription
    GrailsJobFactory() 
  • -
+ +
  • +
    +

    Constructor Summary

    +
    Constructors
    +
    +
    Constructor
    +
    Description
    + +
     
    +
    +
  • -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      protected java.lang.ObjectcreateJobInstance​(org.quartz.spi.TriggerFiredBundle bundle) 
      voidsetApplicationContext​(org.springframework.context.ApplicationContext applicationContext) +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      protected Object
      +
      createJobInstance(org.quartz.spi.TriggerFiredBundle bundle)
      +
       
      +
      void
      +
      setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      +
      Override from ApplicationContextAware.
      -
    • -
        -
      • - - -

        Methods inherited from class org.springframework.scheduling.quartz.AdaptableJobFactory

        -adaptJob, newJob
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    +
    +
    +
    + +
    +

    Methods inherited from class org.springframework.scheduling.quartz.AdaptableJobFactory

    +adaptJob, newJob
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            GrailsJobFactory

            -
            public GrailsJobFactory()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            GrailsJobFactory

            +
            public GrailsJobFactory()
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              createJobInstance

              -
              protected java.lang.Object createJobInstance​(org.quartz.spi.TriggerFiredBundle bundle)
              -                                      throws java.lang.Exception
              -
              -
              Overrides:
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                createJobInstance

                +
                protected Object createJobInstance(org.quartz.spi.TriggerFiredBundle bundle) + throws Exception
                +
                +
                Overrides:
                createJobInstance in class org.springframework.scheduling.quartz.AdaptableJobFactory
                -
                Throws:
                -
                java.lang.Exception
                +
                Throws:
                +
                Exception
                +
              • -
              - - - -
                -
              • -

                setApplicationContext

                -
                public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                -                           throws org.springframework.beans.BeansException
                +
              • +
                +

                setApplicationContext

                +
                public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) + throws org.springframework.beans.BeansException
                Override from ApplicationContextAware.
                -
                -
                Specified by:
                +
                +
                Specified by:
                setApplicationContext in interface org.springframework.context.ApplicationContextAware
                -
                Throws:
                +
                Throws:
                org.springframework.beans.BeansException
                -
              • -
              +
        -
    - - + - diff --git a/snapshot/api/grails/plugins/quartz/JobDetailFactoryBean.html b/snapshot/api/grails/plugins/quartz/JobDetailFactoryBean.html index ff71db1c..7579802a 100644 --- a/snapshot/api/grails/plugins/quartz/JobDetailFactoryBean.html +++ b/snapshot/api/grails/plugins/quartz/JobDetailFactoryBean.html @@ -1,444 +1,284 @@ - - + JobDetailFactoryBean (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    - -

    Class JobDetailFactoryBean

    + +

    Class JobDetailFactoryBean

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • grails.plugins.quartz.JobDetailFactoryBean
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      grails.plugins.quartz.JobDetailFactoryBean
      +
      +
      +
      All Implemented Interfaces:
      org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>, org.springframework.beans.factory.InitializingBean

      -
      public class JobDetailFactoryBean
      -extends java.lang.Object
      -implements org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>, org.springframework.beans.factory.InitializingBean
      +
      public class JobDetailFactoryBean +extends Object +implements org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>, org.springframework.beans.factory.InitializingBean
      Simplified version of Spring's MethodInvokingJobDetailFactoryBean that avoids issues with non-serializable classes (for JDBC storage).
      -
      -
      Since:
      +
      +
      Since:
      0.3.2
      -
    • -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            JOB_NAME_PARAMETER

            -
            public static final transient java.lang.String JOB_NAME_PARAMETER
            -
            -
            See Also:
            -
            Constant Field Values
            -
            -
          • +
          • +
            +

            Field Details

            +
            - -
            -
              -
            • - - -

              Constructor Detail

              - - - -
                -
              • -

                JobDetailFactoryBean

                -
                public JobDetailFactoryBean()
              • -
              + +
            • +
              +

              Constructor Details

              +
                +
              • +
                +

                JobDetailFactoryBean

                +
                public JobDetailFactoryBean()
                +
              +
            • -
              -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  setJobClass

                  -
                  public void setJobClass​(GrailsJobClass jobClass)
                  +
                • +
                  +

                  Method Details

                  +
                    +
                  • +
                    +

                    setJobClass

                    +
                    public void setJobClass(GrailsJobClass jobClass)
                    +
                  • -
                  - - - -
                    -
                  • -

                    afterPropertiesSet

                    -
                    public void afterPropertiesSet()
                    -
                    -
                    Specified by:
                    +
                  • +
                    +

                    afterPropertiesSet

                    +
                    public void afterPropertiesSet()
                    +
                    +
                    Specified by:
                    afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
                    -
                    See Also:
                    -
                    InitializingBean.afterPropertiesSet()
                    -
                    -
                  • +
                    See Also:
                    +
                    +
                      +
                    • InitializingBean.afterPropertiesSet()
                    - - - -
                      -
                    • -

                      getObject

                      -
                      public org.quartz.JobDetail getObject()
                      -
                      -
                      Specified by:
                      -
                      getObject in interface org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
                      -
                      See Also:
                      -
                      FactoryBean.getObject()
                      +
                    +
                • +
                • +
                  +

                  getObject

                  +
                  public org.quartz.JobDetail getObject()
                  +
                  +
                  Specified by:
                  +
                  getObject in interface org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
                  +
                  See Also:
                  +
                  +
                    +
                  • FactoryBean.getObject()
                  - - - -
                    -
                  • -

                    getObjectType

                    -
                    public java.lang.Class<org.quartz.JobDetail> getObjectType()
                    -
                    -
                    Specified by:
                    -
                    getObjectType in interface org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
                    -
                    See Also:
                    -
                    FactoryBean.getObjectType()
                    +
                  +
                • +
                • +
                  +

                  getObjectType

                  +
                  public Class<org.quartz.JobDetail> getObjectType()
                  +
                  +
                  Specified by:
                  +
                  getObjectType in interface org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
                  +
                  See Also:
                  +
                  +
                    +
                  • FactoryBean.getObjectType()
                  - - - -
                    -
                  • -

                    isSingleton

                    -
                    public boolean isSingleton()
                    -
                    -
                    Specified by:
                    -
                    isSingleton in interface org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
                    -
                    See Also:
                    -
                    FactoryBean.isSingleton()
                    +
                  +
                • +
                • +
                  +

                  isSingleton

                  +
                  public boolean isSingleton()
                  +
                  +
                  Specified by:
                  +
                  isSingleton in interface org.springframework.beans.factory.FactoryBean<org.quartz.JobDetail>
                  +
                  See Also:
                  +
                  +
                    +
                  • FactoryBean.isSingleton()
                  +
                  +
                  +
            -
    -
    -
    + - diff --git a/snapshot/api/grails/plugins/quartz/listeners/ExceptionPrinterJobListener.html b/snapshot/api/grails/plugins/quartz/listeners/ExceptionPrinterJobListener.html index 0d640582..06cd0d00 100644 --- a/snapshot/api/grails/plugins/quartz/listeners/ExceptionPrinterJobListener.html +++ b/snapshot/api/grails/plugins/quartz/listeners/ExceptionPrinterJobListener.html @@ -1,393 +1,225 @@ - - + ExceptionPrinterJobListener (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    - -

    Class ExceptionPrinterJobListener

    + +

    Class ExceptionPrinterJobListener

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • org.quartz.listeners.JobListenerSupport
      • -
      • -
          -
        • grails.plugins.quartz.listeners.ExceptionPrinterJobListener
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      org.quartz.listeners.JobListenerSupport +
      grails.plugins.quartz.listeners.ExceptionPrinterJobListener
      +
      +
      +
      +
      All Implemented Interfaces:
      org.quartz.JobListener

      -
      public class ExceptionPrinterJobListener
      -extends org.quartz.listeners.JobListenerSupport
      +
      public class ExceptionPrinterJobListener +extends org.quartz.listeners.JobListenerSupport
      JobListener implementation which logs an exceptions occurred during job's execution.
      -
      -
      Since:
      +
      +
      Since:
      0.2
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Summary

          - - - - - - - - - - - - -
          Fields 
          Modifier and TypeFieldDescription
          static java.lang.StringNAME 
          -
        • -
        +
      • +
        +

        Field Summary

        +
        Fields
        +
        +
        Modifier and Type
        +
        Field
        +
        Description
        +
        static final String
        + +
         
        +
        - -
        - + +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        - -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethodDescription
          java.lang.StringgetName() 
          voidjobWasExecuted​(org.quartz.JobExecutionContext context, - org.quartz.JobExecutionException exception) 
          -
            -
          • - - -

            Methods inherited from class org.quartz.listeners.JobListenerSupport

            -getLog, jobExecutionVetoed, jobToBeExecuted
          • -
          -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • -
        • -
        + +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        + + +
         
        +
        void
        +
        jobWasExecuted(org.quartz.JobExecutionContext context, + org.quartz.JobExecutionException exception)
        +
         
        +
        +
        +
        +
        +

        Methods inherited from class org.quartz.listeners.JobListenerSupport

        +getLog, jobExecutionVetoed, jobToBeExecuted
        +
        +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      -
    -
    -
      -
    • + +
      +
        -
        -
        - -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            ExceptionPrinterJobListener

            -
            public ExceptionPrinterJobListener()
          • -
          + +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            ExceptionPrinterJobListener

            +
            public ExceptionPrinterJobListener()
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              getName

              -
              public java.lang.String getName()
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                getName

                +
                public String getName()
                +
              • -
              - - - -
                -
              • -

                jobWasExecuted

                -
                public void jobWasExecuted​(org.quartz.JobExecutionContext context,
                -                           org.quartz.JobExecutionException exception)
                -
                -
                Specified by:
                +
              • +
                +

                jobWasExecuted

                +
                public void jobWasExecuted(org.quartz.JobExecutionContext context, + org.quartz.JobExecutionException exception)
                +
                +
                Specified by:
                jobWasExecuted in interface org.quartz.JobListener
                -
                Overrides:
                +
                Overrides:
                jobWasExecuted in class org.quartz.listeners.JobListenerSupport
                -
              • -
              +
        -
    -
    -
    + - diff --git a/snapshot/api/grails/plugins/quartz/listeners/SessionBinderJobListener.html b/snapshot/api/grails/plugins/quartz/listeners/SessionBinderJobListener.html index 6b588f0b..e01b0e19 100644 --- a/snapshot/api/grails/plugins/quartz/listeners/SessionBinderJobListener.html +++ b/snapshot/api/grails/plugins/quartz/listeners/SessionBinderJobListener.html @@ -1,462 +1,279 @@ - - + SessionBinderJobListener (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    - -

    Class SessionBinderJobListener

    + +

    Class SessionBinderJobListener

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • org.quartz.listeners.JobListenerSupport
      • -
      • -
          -
        • grails.plugins.quartz.listeners.SessionBinderJobListener
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      org.quartz.listeners.JobListenerSupport +
      grails.plugins.quartz.listeners.SessionBinderJobListener
      +
      +
      +
      +
      All Implemented Interfaces:
      org.quartz.JobListener

      -
      public class SessionBinderJobListener
      -extends org.quartz.listeners.JobListenerSupport
      +
      public class SessionBinderJobListener +extends org.quartz.listeners.JobListenerSupport
      JobListener implementation which wraps the execution of a Quartz Job in a persistence context, via the persistenceInterceptor.
      -
      -
      Since:
      +
      +
      Since:
      0.2
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Summary

          - - - - - - - - - - - - -
          Fields 
          Modifier and TypeFieldDescription
          static java.lang.StringNAME 
          -
        • -
        +
      • +
        +

        Field Summary

        +
        Fields
        +
        +
        Modifier and Type
        +
        Field
        +
        Description
        +
        static final String
        + +
         
        +
        - -
        - + +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        +
      • -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethodDescription
          java.lang.StringgetName() 
          grails.persistence.support.PersistenceContextInterceptorgetPersistenceInterceptor() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          + + +
           
          +
          grails.persistence.support.PersistenceContextInterceptor
          + +
          It is used by the Spring to inject a persistence interceptor.
          -
        • voidjobToBeExecuted​(org.quartz.JobExecutionContext context) + +
          void
          +
          jobToBeExecuted(org.quartz.JobExecutionContext context)
          +
          Before job executing.
          -
          voidjobWasExecuted​(org.quartz.JobExecutionContext context, - org.quartz.JobExecutionException exception) + +
          void
          +
          jobWasExecuted(org.quartz.JobExecutionContext context, + org.quartz.JobExecutionException exception)
          +
          After job executing.
          -
          voidsetPersistenceInterceptor​(grails.persistence.support.PersistenceContextInterceptor persistenceInterceptor) + +
          void
          +
          setPersistenceInterceptor(grails.persistence.support.PersistenceContextInterceptor persistenceInterceptor)
          +
          It is used by the Spring to inject a persistence interceptor.
          -
          -
            -
          • - - -

            Methods inherited from class org.quartz.listeners.JobListenerSupport

            -getLog, jobExecutionVetoed
          • -
          -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • -
          -
        • -
        +
    +
    +
    +
    +
    +

    Methods inherited from class org.quartz.listeners.JobListenerSupport

    +getLog, jobExecutionVetoed
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            NAME

            -
            public static final java.lang.String NAME
            -
            -
            See Also:
            -
            Constant Field Values
            -
            -
          • +
          • +
            +

            Field Details

            +
            - -
            -
              -
            • - - -

              Constructor Detail

              - - - -
                -
              • -

                SessionBinderJobListener

                -
                public SessionBinderJobListener()
              • -
              + +
            • +
              +

              Constructor Details

              +
                +
              • +
                +

                SessionBinderJobListener

                +
                public SessionBinderJobListener()
                +
              +
            • -
              -
                -
              • - - -

                Method Detail

                - - - -
                  -
                • -

                  getName

                  -
                  public java.lang.String getName()
                  +
                • +
                  +

                  Method Details

                  +
                    +
                  • +
                    +

                    getName

                    +
                    public String getName()
                    +
                  • -
                  - - - -
                    -
                  • -

                    getPersistenceInterceptor

                    -
                    public grails.persistence.support.PersistenceContextInterceptor getPersistenceInterceptor()
                    +
                  • +
                    +

                    getPersistenceInterceptor

                    +
                    public grails.persistence.support.PersistenceContextInterceptor getPersistenceInterceptor()
                    It is used by the Spring to inject a persistence interceptor.
                    -
                    -
                    Returns:
                    +
                    +
                    Returns:
                    the reference of the currently active bean implementation of persistenceInterceptor
                    +
                  • -
                  - - - -
                    -
                  • -

                    setPersistenceInterceptor

                    -
                    public void setPersistenceInterceptor​(grails.persistence.support.PersistenceContextInterceptor persistenceInterceptor)
                    +
                  • +
                    +

                    setPersistenceInterceptor

                    +
                    public void setPersistenceInterceptor(grails.persistence.support.PersistenceContextInterceptor persistenceInterceptor)
                    It is used by the Spring to inject a persistence interceptor.
                    -
                    -
                    Parameters:
                    +
                    +
                    Parameters:
                    persistenceInterceptor - - Normally applied by bean injection to set the reference to the persistenceInterceptor
                    +
                  • -
                  - - - -
                    -
                  • -

                    jobToBeExecuted

                    -
                    public void jobToBeExecuted​(org.quartz.JobExecutionContext context)
                    +
                  • +
                    +

                    jobToBeExecuted

                    +
                    public void jobToBeExecuted(org.quartz.JobExecutionContext context)
                    Before job executing. Init persistence context.
                    -
                    -
                    Specified by:
                    +
                    +
                    Specified by:
                    jobToBeExecuted in interface org.quartz.JobListener
                    -
                    Overrides:
                    +
                    Overrides:
                    jobToBeExecuted in class org.quartz.listeners.JobListenerSupport
                    +
                  • -
                  - - - -
                    -
                  • -

                    jobWasExecuted

                    -
                    public void jobWasExecuted​(org.quartz.JobExecutionContext context,
                    -                           org.quartz.JobExecutionException exception)
                    +
                  • +
                    +

                    jobWasExecuted

                    +
                    public void jobWasExecuted(org.quartz.JobExecutionContext context, + org.quartz.JobExecutionException exception)
                    After job executing. Flush and destroy persistence context.
                    -
                    -
                    Specified by:
                    +
                    +
                    Specified by:
                    jobWasExecuted in interface org.quartz.JobListener
                    -
                    Overrides:
                    +
                    Overrides:
                    jobWasExecuted in class org.quartz.listeners.JobListenerSupport
                    -
                  • -
                  +
            -
    -
    - + - diff --git a/snapshot/api/grails/plugins/quartz/listeners/package-summary.html b/snapshot/api/grails/plugins/quartz/listeners/package-summary.html index 8cc29d96..cb0dbebb 100644 --- a/snapshot/api/grails/plugins/quartz/listeners/package-summary.html +++ b/snapshot/api/grails/plugins/quartz/listeners/package-summary.html @@ -1,173 +1,99 @@ - - + grails.plugins.quartz.listeners (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -

    Package grails.plugins.quartz.listeners

    +

    Package grails.plugins.quartz.listeners

    +
    +
    +
    package grails.plugins.quartz.listeners
    +
    +
    +
    - + -
    - -
    diff --git a/snapshot/api/grails/plugins/quartz/listeners/package-tree.html b/snapshot/api/grails/plugins/quartz/listeners/package-tree.html index 28e0c0b2..d78c1f48 100644 --- a/snapshot/api/grails/plugins/quartz/listeners/package-tree.html +++ b/snapshot/api/grails/plugins/quartz/listeners/package-tree.html @@ -1,166 +1,75 @@ - - + grails.plugins.quartz.listeners Class Hierarchy (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package grails.plugins.quartz.listeners

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    - diff --git a/snapshot/api/grails/plugins/quartz/package-summary.html b/snapshot/api/grails/plugins/quartz/package-summary.html index 92017a14..e18509b3 100644 --- a/snapshot/api/grails/plugins/quartz/package-summary.html +++ b/snapshot/api/grails/plugins/quartz/package-summary.html @@ -1,220 +1,129 @@ - - + grails.plugins.quartz (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -

    Package grails.plugins.quartz

    -
    -
    -
      -
    • - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      GrailsJobClass -
      Represents a job class in Grails.
      -
      +

      Package grails.plugins.quartz

      +
    +
    +
    package grails.plugins.quartz
    +
    +
    +
    +
    + - + -
    - -
    diff --git a/snapshot/api/grails/plugins/quartz/package-tree.html b/snapshot/api/grails/plugins/quartz/package-tree.html index 4dd3ebfd..fa830ac7 100644 --- a/snapshot/api/grails/plugins/quartz/package-tree.html +++ b/snapshot/api/grails/plugins/quartz/package-tree.html @@ -1,133 +1,86 @@ - - + grails.plugins.quartz Class Hierarchy (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package grails.plugins.quartz

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

    • org.springframework.beans.factory.Aware @@ -136,7 +89,7 @@

      Interface Hierarchy

      @@ -145,52 +98,8 @@

      Interface Hierarchy

    -
    - diff --git a/snapshot/api/help-doc.html b/snapshot/api/help-doc.html index 5acc53af..809ba607 100644 --- a/snapshot/api/help-doc.html +++ b/snapshot/api/help-doc.html @@ -1,128 +1,118 @@ - - + API Help (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    -

    How This API Document Is Organized

    -
    This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
    +

    JavaDoc Help

    + +
    +
    +

    Navigation

    +Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces +
    -
    -
      -
    • -
      -

      Overview

      +
      +
      +

      Kinds of Pages

      +The following sections describe the different kinds of pages in this collection. +
      +

      Overview

      The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

      -
    • -
    • -
      -

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

      -
        +
        +

        Package

        +

        Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

        +
        • Interfaces
        • Classes
        • -
        • Enums
        • +
        • Enum Classes
        • Exceptions
        • Errors
        • -
        • Annotation Types
        • +
        • Annotation Interfaces
        - -
      • -
        -

        Class or Interface

        -

        Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

        -
          +
          +

          Class or Interface

          +

          Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

          +
          • Class Inheritance Diagram
          • Direct Subclasses
          • All Known Subinterfaces
          • @@ -131,142 +121,60 @@

            Class or Interface

          • Class or Interface Description

          -
            +
            • Nested Class Summary
            • +
            • Enum Constant Summary
            • Field Summary
            • Property Summary
            • Constructor Summary
            • Method Summary
            • -
            -
            -
              -
            • Field Detail
            • -
            • Property Detail
            • -
            • Constructor Detail
            • -
            • Method Detail
            • -
            -

            Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

            -
          - -
        • -
          -

          Annotation Type

          -

          Each annotation type has its own separate page with the following sections:

          -
            -
          • Annotation Type Declaration
          • -
          • Annotation Type Description
          • Required Element Summary
          • Optional Element Summary
          • -
          • Element Detail
          -
          -
        • -
        • -
          -

          Enum

          -

          Each enum has its own separate page with the following sections:

          -
            -
          • Enum Declaration
          • -
          • Enum Description
          • -
          • Enum Constant Summary
          • -
          • Enum Constant Detail
          • +
            +
              +
            • Enum Constant Details
            • +
            • Field Details
            • +
            • Property Details
            • +
            • Constructor Details
            • +
            • Method Details
            • +
            • Element Details
            +

            Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

            +

            The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

          -
        • -
        • -
          -

          Tree (Class Hierarchy)

          +
          +

          Other Files

          +

          Packages and modules may contain pages with additional information related to the declarations nearby.

          +
          +
          +

          Tree (Class Hierarchy)

          There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

          -
            -
          • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
          • -
          • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
          • +
              +
            • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
            • +
            • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
          -
        • -
        • -
          -

          Deprecated API

          -

          The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

          -
          -
        • -
        • -
          -

          Index

          -

          The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

          -
          -
        • -
        • -
          -

          All Classes

          -

          The All Classes link shows all classes and interfaces except non-static nested types.

          +
          +

          Constant Field Values

          +

          The Constant Field Values page lists the static final fields and their values.

          -
        • -
        • -
          -

          Serialized Form

          -

          Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

          +
          +

          All Packages

          +

          The All Packages page contains an alphabetic index of all packages contained in the documentation.

          -
        • -
        • -
          -

          Constant Field Values

          -

          The Constant Field Values page lists the static final fields and their values.

          +
          +

          All Classes and Interfaces

          +

          The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

          -
        • -
        • -
          -

          Search

          -

          You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

          +
          +

          Index

          +

          The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

          -
        • -
        +

    -This help file applies to API documentation generated by the standard doclet.
    -
    -
    - -
    diff --git a/snapshot/api/index-all.html b/snapshot/api/index-all.html index b4fc452c..a51f48c0 100644 --- a/snapshot/api/index-all.html +++ b/snapshot/api/index-all.html @@ -1,440 +1,321 @@ - - + Index (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    + +
    -
    A C D E G I J N R S T 
    All Classes All Packages - - -

    A

    -
    -
    afterPropertiesSet() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    -
     
    -
    afterPropertiesSet() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    +
    +

    Index

    +
    +A C D E G I J N R S T 
    All Classes and Interfaces|All Packages|Constant Field Values +

    A

    +
    +
    afterPropertiesSet() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
     
    +
    afterPropertiesSet() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    - - - -

    C

    -
    -
    CONCURRENT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +

    C

    +
    +
    CONCURRENT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    createJobInstance(TriggerFiredBundle) - Method in class grails.plugins.quartz.GrailsJobFactory
    +
    createJobInstance(TriggerFiredBundle) - Method in class grails.plugins.quartz.GrailsJobFactory
     
    -
    CRON_EXPRESSION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    CRON_EXPRESSION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    CustomTriggerFactoryBean - Class in grails.plugins.quartz
    +
    CustomTriggerFactoryBean - Class in grails.plugins.quartz
    The factory bean to create and register trigger beans in Spring context.
    -
    CustomTriggerFactoryBean() - Constructor for class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    CustomTriggerFactoryBean() - Constructor for class grails.plugins.quartz.CustomTriggerFactoryBean
     
    - - - -

    D

    -
    -
    DEFAULT_CONCURRENT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +

    D

    +
    +
    DEFAULT_CONCURRENT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_CRON_EXPRESSION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_CRON_EXPRESSION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_DESCRIPTION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_DESCRIPTION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_DURABILITY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_DURABILITY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_ENABLED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_ENABLED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_GROUP - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_GROUP - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_REPEAT_COUNT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_REPEAT_COUNT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_REPEAT_INTERVAL - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_REPEAT_INTERVAL - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_REQUESTS_RECOVERY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_REQUESTS_RECOVERY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_SESSION_REQUIRED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_SESSION_REQUIRED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_START_DELAY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_START_DELAY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DEFAULT_TRIGGERS_GROUP - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DEFAULT_TRIGGERS_GROUP - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DefaultGrailsJobClass - Class in grails.plugins.quartz
    +
    DefaultGrailsJobClass - Class in grails.plugins.quartz
    Grails artifact class which represents a Quartz job.
    -
    DefaultGrailsJobClass(Class) - Constructor for class grails.plugins.quartz.DefaultGrailsJobClass
    +
    DefaultGrailsJobClass(Class) - Constructor for class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    DESCRIPTION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DESCRIPTION - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    DURABILITY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    DURABILITY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    - - - -

    E

    -
    -
    ENABLED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    -
     
    -
    ExceptionPrinterJobListener - Class in grails.plugins.quartz.listeners
    +

    E

    +
    +
    ENABLED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
     
    +
    ExceptionPrinterJobListener - Class in grails.plugins.quartz.listeners
    JobListener implementation which logs an exceptions occurred during job's execution.
    -
    ExceptionPrinterJobListener() - Constructor for class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
    +
    ExceptionPrinterJobListener() - Constructor for class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
     
    -
    execute() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    execute() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    execute() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    execute() - Method in interface grails.plugins.quartz.GrailsJobClass
    Method which is executed by the job scheduler.
    -
    execute(JobExecutionContext) - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    execute(JobExecutionContext) - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    execute(JobExecutionContext) - Method in class grails.plugins.quartz.GrailsJobFactory.GrailsJob
    +
    execute(JobExecutionContext) - Method in class grails.plugins.quartz.GrailsJobFactory.GrailsJob
     
    -
    EXECUTE - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    EXECUTE - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    - - - -

    G

    -
    -
    getDescription() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    -
     
    -
    getDescription() - Method in interface grails.plugins.quartz.GrailsJobClass
    +

    G

    +
    +
    getDescription() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
     
    +
    getDescription() - Method in interface grails.plugins.quartz.GrailsJobClass
    Get job's description used for configuring job details.
    -
    getGroup() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    getGroup() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    getGroup() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    getGroup() - Method in interface grails.plugins.quartz.GrailsJobClass
    Get group name used for configuring scheduler.
    -
    getJob() - Method in class grails.plugins.quartz.GrailsJobFactory.GrailsJob
    +
    getJob() - Method in class grails.plugins.quartz.GrailsJobFactory.GrailsJob
    It's needed for the quartz-monitor plugin.
    -
    getName() - Method in class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
    +
    getName() - Method in class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
     
    -
    getName() - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    getName() - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
     
    -
    getObject() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    -
    getObject() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    -
    getObjectType() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    -
    getObjectType() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    -
    getPersistenceInterceptor() - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    getObject() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    getObject() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    +
    getObjectType() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    getObjectType() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    +
    getPersistenceInterceptor() - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    It is used by the Spring to inject a persistence interceptor.
    -
    getTriggers() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    getTriggers() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    getTriggers() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    getTriggers() - Method in interface grails.plugins.quartz.GrailsJobClass
     
    grails.plugins.quartz - package grails.plugins.quartz
     
    grails.plugins.quartz.listeners - package grails.plugins.quartz.listeners
     
    -
    GrailsJob(Object) - Constructor for class grails.plugins.quartz.GrailsJobFactory.GrailsJob
    +
    GrailsJob(Object) - Constructor for class grails.plugins.quartz.GrailsJobFactory.GrailsJob
     
    -
    GrailsJobClass - Interface in grails.plugins.quartz
    +
    GrailsJobClass - Interface in grails.plugins.quartz
    Represents a job class in Grails.
    -
    GrailsJobClassConstants - Class in grails.plugins.quartz
    +
    GrailsJobClassConstants - Class in grails.plugins.quartz
    Holds plugin constants.
    -
    GrailsJobFactory - Class in grails.plugins.quartz
    +
    GrailsJobFactory - Class in grails.plugins.quartz
    Job factory which retrieves Job instances from ApplicationContext.
    -
    GrailsJobFactory() - Constructor for class grails.plugins.quartz.GrailsJobFactory
    +
    GrailsJobFactory() - Constructor for class grails.plugins.quartz.GrailsJobFactory
     
    -
    GrailsJobFactory.GrailsJob - Class in grails.plugins.quartz
    +
    GrailsJobFactory.GrailsJob - Class in grails.plugins.quartz
    Quartz Job implementation that invokes execute() on the application's job class.
    -
    GrailsJobFactory.StatefulGrailsJob - Class in grails.plugins.quartz
    +
    GrailsJobFactory.StatefulGrailsJob - Class in grails.plugins.quartz
    Extension of the GrailsJob, has concurrent annotations.
    -
    GROUP - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    GROUP - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    - - - -

    I

    -
    -
    interrupt() - Method in class grails.plugins.quartz.GrailsJobFactory.GrailsJob
    +

    I

    +
    +
    interrupt() - Method in class grails.plugins.quartz.GrailsJobFactory.GrailsJob
     
    -
    INTERRUPT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    INTERRUPT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    isConcurrent() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    isConcurrent() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    isConcurrent() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    isConcurrent() - Method in interface grails.plugins.quartz.GrailsJobClass
    If jobs can be executed concurrently returns true.
    -
    isDurability() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    isDurability() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    isDurability() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    isDurability() - Method in interface grails.plugins.quartz.GrailsJobClass
    If job is durable returns true.
    -
    isEnabled() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    isEnabled() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    isEnabled() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    isEnabled() - Method in interface grails.plugins.quartz.GrailsJobClass
    If job should be enabled or at all.
    -
    isRequestsRecovery() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    isRequestsRecovery() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    isRequestsRecovery() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    isRequestsRecovery() - Method in interface grails.plugins.quartz.GrailsJobClass
    If job should be re-executed if a 'recovery' or 'fail-over' situation is encountered returns true.
    -
    isSessionRequired() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
    +
    isSessionRequired() - Method in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    isSessionRequired() - Method in interface grails.plugins.quartz.GrailsJobClass
    +
    isSessionRequired() - Method in interface grails.plugins.quartz.GrailsJobClass
    If job requires Hibernate Session bounded to thread returns true.
    -
    isSingleton() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    -
    isSingleton() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    +
    isSingleton() - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    isSingleton() - Method in class grails.plugins.quartz.JobDetailFactoryBean
    - - - -

    J

    -
    -
    JOB - Static variable in class grails.plugins.quartz.DefaultGrailsJobClass
    +

    J

    +
    +
    JOB - Static variable in class grails.plugins.quartz.DefaultGrailsJobClass
     
    -
    JOB_NAME_PARAMETER - Static variable in class grails.plugins.quartz.JobDetailFactoryBean
    +
    JOB_NAME_PARAMETER - Static variable in class grails.plugins.quartz.JobDetailFactoryBean
     
    -
    JobDetailFactoryBean - Class in grails.plugins.quartz
    +
    JobDetailFactoryBean - Class in grails.plugins.quartz
    Simplified version of Spring's MethodInvokingJobDetailFactoryBean that avoids issues with non-serializable classes (for JDBC storage).
    -
    JobDetailFactoryBean() - Constructor for class grails.plugins.quartz.JobDetailFactoryBean
    +
    JobDetailFactoryBean() - Constructor for class grails.plugins.quartz.JobDetailFactoryBean
     
    -
    jobToBeExecuted(JobExecutionContext) - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    jobToBeExecuted(JobExecutionContext) - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    Before job executing.
    -
    jobWasExecuted(JobExecutionContext, JobExecutionException) - Method in class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
    +
    jobWasExecuted(JobExecutionContext, JobExecutionException) - Method in class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
     
    -
    jobWasExecuted(JobExecutionContext, JobExecutionException) - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    jobWasExecuted(JobExecutionContext, JobExecutionException) - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    After job executing.
    - - - -

    N

    -
    -
    NAME - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +

    N

    +
    +
    NAME - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    NAME - Static variable in class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
    +
    NAME - Static variable in class grails.plugins.quartz.listeners.ExceptionPrinterJobListener
     
    -
    NAME - Static variable in class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    NAME - Static variable in class grails.plugins.quartz.listeners.SessionBinderJobListener
     
    - - - -

    R

    -
    -
    REPEAT_COUNT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +

    R

    +
    +
    REPEAT_COUNT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    REPEAT_INTERVAL - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    REPEAT_INTERVAL - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    REQUESTS_RECOVERY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    REQUESTS_RECOVERY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    - - - -

    S

    -
    -
    SESSION_REQUIRED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    -
     
    -
    SessionBinderJobListener - Class in grails.plugins.quartz.listeners
    +

    S

    +
    +
    SESSION_REQUIRED - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
     
    +
    SessionBinderJobListener - Class in grails.plugins.quartz.listeners
    JobListener implementation which wraps the execution of a Quartz Job in a persistence context, via the persistenceInterceptor.
    -
    SessionBinderJobListener() - Constructor for class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    SessionBinderJobListener() - Constructor for class grails.plugins.quartz.listeners.SessionBinderJobListener
     
    -
    setApplicationContext(ApplicationContext) - Method in class grails.plugins.quartz.GrailsJobFactory
    +
    setApplicationContext(ApplicationContext) - Method in class grails.plugins.quartz.GrailsJobFactory
    Override from ApplicationContextAware.
    -
    setJobClass(GrailsJobClass) - Method in class grails.plugins.quartz.JobDetailFactoryBean
    +
    setJobClass(GrailsJobClass) - Method in class grails.plugins.quartz.JobDetailFactoryBean
     
    -
    setJobDetail(JobDetail) - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    setJobDetail(JobDetail) - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
     
    -
    setPersistenceInterceptor(PersistenceContextInterceptor) - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    +
    setPersistenceInterceptor(PersistenceContextInterceptor) - Method in class grails.plugins.quartz.listeners.SessionBinderJobListener
    It is used by the Spring to inject a persistence interceptor.
    -
    setTriggerAttributes(Map) - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    setTriggerAttributes(Map) - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
     
    -
    setTriggerClass(Class<Trigger>) - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
    +
    setTriggerClass(Class<Trigger>) - Method in class grails.plugins.quartz.CustomTriggerFactoryBean
     
    -
    START_DELAY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +
    START_DELAY - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -
    StatefulGrailsJob(Object) - Constructor for class grails.plugins.quartz.GrailsJobFactory.StatefulGrailsJob
    +
    StatefulGrailsJob(Object) - Constructor for class grails.plugins.quartz.GrailsJobFactory.StatefulGrailsJob
     
    - - - -

    T

    -
    -
    TIMEOUT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
    +

    T

    +
    +
    TIMEOUT - Static variable in class grails.plugins.quartz.GrailsJobClassConstants
     
    -A C D E G I J N R S T 
    All Classes All Packages
    -
    - diff --git a/snapshot/api/index.html b/snapshot/api/index.html index 8fe68570..ea0d9634 100644 --- a/snapshot/api/index.html +++ b/snapshot/api/index.html @@ -1,164 +1,67 @@ - - + Overview (quartz 4.0.0-SNAPSHOT API) + + + - + - - - - - + + - - -
    +
    + +

    quartz 4.0.0-SNAPSHOT API

    -
    - - - - - - - - - - - - - - - - -
    Packages 
    PackageDescription
    grails.plugins.quartz 
    grails.plugins.quartz.listeners 
    +
    +
    Packages
    +
    +
    Package
    +
    Description
    + +
     
    + +
     
    +
    -
    - -
    diff --git a/snapshot/api/legal/jquery.md b/snapshot/api/legal/jquery.md index d468b318..a763ec6f 100644 --- a/snapshot/api/legal/jquery.md +++ b/snapshot/api/legal/jquery.md @@ -1,8 +1,8 @@ -## jQuery v3.6.1 +## jQuery v3.7.1 ### jQuery License ``` -jQuery v 3.6.1 +jQuery v 3.7.1 Copyright OpenJS Foundation and other contributors, https://openjsf.org/ Permission is hereby granted, free of charge, to any person obtaining @@ -23,50 +23,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -****************************************** - -The jQuery JavaScript Library v3.6.1 also includes Sizzle.js - -Sizzle.js includes the following license: - -Copyright JS Foundation and other contributors, https://js.foundation/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/sizzle - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. - -********************* - ``` diff --git a/snapshot/api/member-search-index.js b/snapshot/api/member-search-index.js index cd051899..7e5b9342 100644 --- a/snapshot/api/member-search-index.js +++ b/snapshot/api/member-search-index.js @@ -1 +1 @@ -memberSearchIndex = [{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"afterPropertiesSet()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"afterPropertiesSet()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"CONCURRENT"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory","l":"createJobInstance(TriggerFiredBundle)","url":"createJobInstance(org.quartz.spi.TriggerFiredBundle)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"CRON_EXPRESSION"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"CustomTriggerFactoryBean()","url":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_CONCURRENT"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_CRON_EXPRESSION"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_DESCRIPTION"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_DURABILITY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_ENABLED"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_GROUP"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_REPEAT_COUNT"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_REPEAT_INTERVAL"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_REQUESTS_RECOVERY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_SESSION_REQUIRED"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_START_DELAY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_TRIGGERS_GROUP"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"DefaultGrailsJobClass(Class)","url":"%3Cinit%3E(java.lang.Class)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DESCRIPTION"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DURABILITY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"ENABLED"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"ExceptionPrinterJobListener()","url":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"EXECUTE"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"execute()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"execute()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"execute(JobExecutionContext)","url":"execute(org.quartz.JobExecutionContext)"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"execute(JobExecutionContext)","url":"execute(org.quartz.JobExecutionContext)"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"getDescription()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"getDescription()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"getGroup()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"getGroup()"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"getJob()"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"getName()"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"getName()"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"getObject()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"getObject()"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"getObjectType()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"getObjectType()"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"getPersistenceInterceptor()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"getTriggers()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"getTriggers()"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"GrailsJob(Object)","url":"%3Cinit%3E(java.lang.Object)"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory","l":"GrailsJobFactory()","url":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"GROUP"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"INTERRUPT"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"interrupt()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isConcurrent()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isConcurrent()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isDurability()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isDurability()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isEnabled()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isEnabled()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isRequestsRecovery()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isRequestsRecovery()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isSessionRequired()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isSessionRequired()"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"isSingleton()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"isSingleton()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"JOB"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"JOB_NAME_PARAMETER"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"JobDetailFactoryBean()","url":"%3Cinit%3E()"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"jobToBeExecuted(JobExecutionContext)","url":"jobToBeExecuted(org.quartz.JobExecutionContext)"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"jobWasExecuted(JobExecutionContext, JobExecutionException)","url":"jobWasExecuted(org.quartz.JobExecutionContext,org.quartz.JobExecutionException)"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"jobWasExecuted(JobExecutionContext, JobExecutionException)","url":"jobWasExecuted(org.quartz.JobExecutionContext,org.quartz.JobExecutionException)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"NAME"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"NAME"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"NAME"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"REPEAT_COUNT"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"REPEAT_INTERVAL"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"REQUESTS_RECOVERY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"SESSION_REQUIRED"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"SessionBinderJobListener()","url":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory","l":"setApplicationContext(ApplicationContext)","url":"setApplicationContext(org.springframework.context.ApplicationContext)"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"setJobClass(GrailsJobClass)","url":"setJobClass(grails.plugins.quartz.GrailsJobClass)"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"setJobDetail(JobDetail)","url":"setJobDetail(org.quartz.JobDetail)"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"setPersistenceInterceptor(PersistenceContextInterceptor)","url":"setPersistenceInterceptor(grails.persistence.support.PersistenceContextInterceptor)"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"setTriggerAttributes(Map)","url":"setTriggerAttributes(java.util.Map)"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"setTriggerClass(Class)","url":"setTriggerClass(java.lang.Class)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"START_DELAY"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.StatefulGrailsJob","l":"StatefulGrailsJob(Object)","url":"%3Cinit%3E(java.lang.Object)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"TIMEOUT"}] \ No newline at end of file +memberSearchIndex = [{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"afterPropertiesSet()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"afterPropertiesSet()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"CONCURRENT"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory","l":"createJobInstance(TriggerFiredBundle)","u":"createJobInstance(org.quartz.spi.TriggerFiredBundle)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"CRON_EXPRESSION"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"CustomTriggerFactoryBean()","u":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_CONCURRENT"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_CRON_EXPRESSION"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_DESCRIPTION"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_DURABILITY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_ENABLED"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_GROUP"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_REPEAT_COUNT"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_REPEAT_INTERVAL"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_REQUESTS_RECOVERY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_SESSION_REQUIRED"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_START_DELAY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DEFAULT_TRIGGERS_GROUP"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"DefaultGrailsJobClass(Class)","u":"%3Cinit%3E(java.lang.Class)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DESCRIPTION"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"DURABILITY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"ENABLED"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"ExceptionPrinterJobListener()","u":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"EXECUTE"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"execute()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"execute()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"execute(JobExecutionContext)","u":"execute(org.quartz.JobExecutionContext)"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"execute(JobExecutionContext)","u":"execute(org.quartz.JobExecutionContext)"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"getDescription()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"getDescription()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"getGroup()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"getGroup()"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"getJob()"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"getName()"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"getName()"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"getObject()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"getObject()"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"getObjectType()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"getObjectType()"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"getPersistenceInterceptor()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"getTriggers()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"getTriggers()"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"GrailsJob(Object)","u":"%3Cinit%3E(java.lang.Object)"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory","l":"GrailsJobFactory()","u":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"GROUP"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"INTERRUPT"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.GrailsJob","l":"interrupt()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isConcurrent()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isConcurrent()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isDurability()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isDurability()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isEnabled()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isEnabled()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isRequestsRecovery()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isRequestsRecovery()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"isSessionRequired()"},{"p":"grails.plugins.quartz","c":"GrailsJobClass","l":"isSessionRequired()"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"isSingleton()"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"isSingleton()"},{"p":"grails.plugins.quartz","c":"DefaultGrailsJobClass","l":"JOB"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"JOB_NAME_PARAMETER"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"JobDetailFactoryBean()","u":"%3Cinit%3E()"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"jobToBeExecuted(JobExecutionContext)","u":"jobToBeExecuted(org.quartz.JobExecutionContext)"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"jobWasExecuted(JobExecutionContext, JobExecutionException)","u":"jobWasExecuted(org.quartz.JobExecutionContext,org.quartz.JobExecutionException)"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"jobWasExecuted(JobExecutionContext, JobExecutionException)","u":"jobWasExecuted(org.quartz.JobExecutionContext,org.quartz.JobExecutionException)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"NAME"},{"p":"grails.plugins.quartz.listeners","c":"ExceptionPrinterJobListener","l":"NAME"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"NAME"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"REPEAT_COUNT"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"REPEAT_INTERVAL"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"REQUESTS_RECOVERY"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"SESSION_REQUIRED"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"SessionBinderJobListener()","u":"%3Cinit%3E()"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory","l":"setApplicationContext(ApplicationContext)","u":"setApplicationContext(org.springframework.context.ApplicationContext)"},{"p":"grails.plugins.quartz","c":"JobDetailFactoryBean","l":"setJobClass(GrailsJobClass)","u":"setJobClass(grails.plugins.quartz.GrailsJobClass)"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"setJobDetail(JobDetail)","u":"setJobDetail(org.quartz.JobDetail)"},{"p":"grails.plugins.quartz.listeners","c":"SessionBinderJobListener","l":"setPersistenceInterceptor(PersistenceContextInterceptor)","u":"setPersistenceInterceptor(grails.persistence.support.PersistenceContextInterceptor)"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"setTriggerAttributes(Map)","u":"setTriggerAttributes(java.util.Map)"},{"p":"grails.plugins.quartz","c":"CustomTriggerFactoryBean","l":"setTriggerClass(Class)","u":"setTriggerClass(java.lang.Class)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"START_DELAY"},{"p":"grails.plugins.quartz","c":"GrailsJobFactory.StatefulGrailsJob","l":"StatefulGrailsJob(Object)","u":"%3Cinit%3E(java.lang.Object)"},{"p":"grails.plugins.quartz","c":"GrailsJobClassConstants","l":"TIMEOUT"}];updateSearchResults(); \ No newline at end of file diff --git a/snapshot/api/module-search-index.js b/snapshot/api/module-search-index.js new file mode 100644 index 00000000..0d59754f --- /dev/null +++ b/snapshot/api/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/snapshot/api/overview-summary.html b/snapshot/api/overview-summary.html index fae43031..6de10f3a 100644 --- a/snapshot/api/overview-summary.html +++ b/snapshot/api/overview-summary.html @@ -1,18 +1,20 @@ - - + quartz 4.0.0-SNAPSHOT API + + + + + - - - +

    -
      -
    • Year is the only optional field and may be omitted, the rest are mandatory
    • -
    • Day-of-Week and Month are case insensitive, so "DEC" = "dec" = "Dec"
    • -
    • Either Day-of-Week or Day-of-Month must be "?", or you will get an error since support by the underlying library is not complete. So you can't specify both fields, nor leave both as the all values wildcard "*"; this is a departure from the unix crontab specification.
    • -
    • See the CronTrigger Tutorial for an explanation of all the special characters you may use.
    • -

    +* Year is the only optional field and may be omitted, the rest are mandatory +* Day-of-Week and Month are case insensitive, so "DEC" = "dec" = "Dec" + Either Day-of-Week or Day-of-Month must be "?", or you will get an error since support by the underlying library is not complete. So you can't specify both fields, nor leave both as the all values wildcard ""; this is a departure from the unix crontab specification. +* See the CronTrigger Tutorial for an explanation of all the special characters you may use. + diff --git a/snapshot/guide/single.html b/snapshot/guide/single.html index 026a9cd9..e3b4bbbc 100644 --- a/snapshot/guide/single.html +++ b/snapshot/guide/single.html @@ -124,24 +124,20 @@

    Scheduling Jobs

    To create a new job run the "grail | | `- Hour, 0-23 | `- Minute, 0-59 `- Second, 0-59

    -
      -
    • Year is the only optional field and may be omitted, the rest are mandatory
    • -
    • Day-of-Week and Month are case insensitive, so "DEC" = "dec" = "Dec"
    • -
    • Either Day-of-Week or Day-of-Month must be "?", or you will get an error since support by the underlying library is not complete. So you can't specify both fields, nor leave both as the all values wildcard "*"; this is a departure from the unix crontab specification.
    • -
    • See the CronTrigger Tutorial for an explanation of all the special characters you may use.
    • -

    +* Year is the only optional field and may be omitted, the rest are mandatory +* Day-of-Week and Month are case insensitive, so "DEC" = "dec" = "Dec" + Either Day-of-Week or Day-of-Month must be "?", or you will get an error since support by the underlying library is not complete. So you can't specify both fields, nor leave both as the all values wildcard ""; this is a departure from the unix crontab specification. +* See the CronTrigger Tutorial for an explanation of all the special characters you may use. +

    3 Understanding Triggers

    -

    Scheduling configuration syntax

    Currently plugin supports three types of triggers: -

      -
    • simple — executes once per defined interval (ex. “every 10 seconds”);
    • -
    • cron — executes job with cron expression (ex. “at 8:00am every Monday through Friday”);
    • -
    • custom — your implementation of Trigger interface.
    • -

    Multiple triggers per job are allowed.

    class MyJob {
    +

    Scheduling configuration syntax

    Currently plugin supports three types of triggers:

    simple* — executes once per defined interval (ex. “every 10 seconds”); + cron* — executes job with cron expression (ex. “at 8:00am every Monday through Friday”); + custom* — your implementation of Trigger interface.

    Multiple triggers per job are allowed.

    class MyJob {
        static triggers = {
           simple name:'simpleTrigger', startDelay: 10000, repeatInterval: 30000, repeatCount: 10
           cron   name:'cronTrigger',   startDelay: 10000, cronExpression: '0/6 * 15 * * ?', timeZone: TimeZone.getTimeZone("GMT-8") //timeZone is optional
    @@ -149,25 +145,18 @@ 

    Scheduling configuration syntax

    Currently plugin s }

    void execute() { println "Job run!" } -}

    With this configuration job will be executed 11 times with 30 seconds interval with first run in 10 seconds after scheduler startup (simple trigger), also it’ll be executed each 6 second during 15th hour (15:00:00, 15:00:06, 15:00:12, … — this configured by cron trigger) and also it’ll be executed each time your custom trigger will fire.

    Three kinds of triggers are supported with the following parameters: -

      -
    • simple:
    • -
        -
      • name — the name that identifies the trigger;
      • -
      • startDelay — delay (in milliseconds) between scheduler startup and first job’s execution;
      • -
      • repeatInterval — timeout (in milliseconds) between consecutive job’s executions;
      • -
      • repeatCount — trigger will fire job execution (1 + repeatCount) times and stop after that (specify 0 here to have one-shot job or -1 to repeat job executions indefinitely);
      • -
      -
    • cron:
    • -
        -
      • name — the name that identifies the trigger;
      • -
      • startDelay — delay (in milliseconds) between scheduler startup and first job’s execution;
      • -
      • cronExpression — cron expression
      • -
      -
    • custom:
    • -
        -
      • triggerClass — your class which implements Trigger interface;
      • -

    any params needed by your trigger.

    It is also possible to adjust properties in a trigger Closure by the Grails configuration since the triggers block is given access to the grailsApplication object.

    Dynamic Jobs Scheduling

    Starting from 0.4.1 version you have the ability to schedule job executions dynamically.

    These methods are available:

    // creates cron trigger;
    +}

    With this configuration job will be executed 11 times with 30 seconds interval with first run in 10 seconds after scheduler startup (simple trigger), also it’ll be executed each 6 second during 15th hour (15:00:00, 15:00:06, 15:00:12, … — this configured by cron trigger) and also it’ll be executed each time your custom trigger will fire.

    Three kinds of triggers are supported with the following parameters:

    * simple: + name — the name that identifies the trigger; + startDelay — delay (in milliseconds) between scheduler startup and first job’s execution; + repeatInterval — timeout (in milliseconds) between consecutive job’s executions; + repeatCount — trigger will fire job execution (1 + repeatCount) times and stop after that (specify 0 here to have one-shot job or -1 to repeat job executions indefinitely); +* cron: + name — the name that identifies the trigger; + startDelay — delay (in milliseconds) between scheduler startup and first job’s execution; + cronExpression — cron expression +* custom: + triggerClass — your class which implements Trigger interface; +any params needed by your trigger.

    It is also possible to adjust properties in a trigger Closure by the Grails configuration since the triggers block is given access to the grailsApplication object.

    Dynamic Jobs Scheduling

    Starting from 0.4.1 version you have the ability to schedule job executions dynamically.

    These methods are available:

    // creates cron trigger;
     MyJob.schedule(String cronExpression, Map params?)

    // creates simple trigger: repeats job repeatCount+1 times with delay of repeatInterval milliseconds; MyJob.schedule(Long repeatInterval, Integer repeatCount?, Map params?) )

    // schedules one job execution to the specific date; MyJob.schedule(Date scheduleDate, Map params?)

    //schedules job's execution with a custom trigger; @@ -188,11 +177,8 @@

    4 Plugin Configuration

    Configuring the plugin

    The plugin supports configuration settings defined in grails-app/conf/application.yml.

    ---
     quartz:
    -    autoStartup: true

    Currently supported options: -

      -
    • autoStartup controls automatic startup of the Quartz scheduler during application bootstrap (default: true )
    • -
    • jdbcStore set to true if you want Quartz to persist jobs in your DB (default: false ), you'll also need to provide quartz.properties file and make sure that required tables exist in your db (see Clustering section below for the sample config and automatic tables creation using Hibernate)
    • -

    Logging

    A log is auto-injected into your task Job class without having to enable it. To set the logging level, just add something like this to your grails-app/conf/Config.groovy log4j configuration.

    debug 'grails.app.jobs'

    Hibernate Sessions and Jobs

    Jobs are configured by default to have Hibernate Session bounded to thread each time job is executed. This is required if you are using Hibernate code which requires open session (such as lazy loading of collections) or working with domain objects with unique persistent constraint (it uses Hibernate Session behind the scene). If you want to override this behavior (rarely useful) you can use 'sessionRequired' property:

    static sessionRequired = false

    Configuring concurrent execution

    By default Jobs are executed in concurrent fashion, so new Job execution can start even if previous execution of the same Job is still running. If you want to override this behavior you can use 'concurrent' property, in this case Quartz's StatefulJob will be used (you can find more info about it here):

    static concurrent = false

    Configuring Job Enabled

    By default all jobs are considered enabled. In some cases it may be desired to temporarily disable a job. This can be done by overriding the jobEnabled property behavior

    static jobEnabled = false

    Configuring description

    Quartz allows for each job to have a short description. This may be configured by adding a description field to your Job. The description can be accessed at runtime using the JobManagerService and inspecting the JobDetail object.

    static description = "Example Job Description"

    Clustering

    Quartz plugin doesn't support clustering out-of-the-box now. However, you could use standard Quartz clustering configuration. Take a look at the example provided by Burt Beckwith. You'll also need to set jdbcStore configuration option to true .

    There are also two parameters for configuring store/clustering on jobs ( volatility and durability , both are true by default) and one for triggers ( volatility , also true by default). Volatile job and trigger will not persist between Quartz runs, and durable job will live even when there is no triggers referring to it.

    Read Quartz documentation for more information on clustering and job stores as well as volatility and durability.

    Now that the plugin supports Quartz 2.1.x, you can now use current versions of open source Terracotta see https://github.com/rvanderwerf/terracotta-grails-demo for an example app.

    Recovering

    Since 0.4.2 recovering from 'recovery' or 'fail-over' situation is supported with requestsRecovery job-level flag ( false by default).

    If a job "requests recovery", and it is executing during the time of a 'hard shutdown' of the scheduler (i.e. the process it is running within crashes, or the machine is shut off), then it is re-executed when the scheduler is started again. In this case, the JobExecutionContext.isRecovering() method will return true. + autoStartup: true

    Currently supported options:

    * autoStartup controls automatic startup of the Quartz scheduler during application bootstrap (default: true ) +* jdbcStore set to true if you want Quartz to persist jobs in your DB (default: false ), you'll also need to provide quartz.properties file and make sure that required tables exist in your db (see Clustering section below for the sample config and automatic tables creation using Hibernate)

    Logging

    A log is auto-injected into your task Job class without having to enable it. To set the logging level, just add something like this to your grails-app/conf/Config.groovy log4j configuration.

    debug 'grails.app.jobs'

    Hibernate Sessions and Jobs

    Jobs are configured by default to have Hibernate Session bounded to thread each time job is executed. This is required if you are using Hibernate code which requires open session (such as lazy loading of collections) or working with domain objects with unique persistent constraint (it uses Hibernate Session behind the scene). If you want to override this behavior (rarely useful) you can use 'sessionRequired' property:

    static sessionRequired = false

    Configuring concurrent execution

    By default Jobs are executed in concurrent fashion, so new Job execution can start even if previous execution of the same Job is still running. If you want to override this behavior you can use 'concurrent' property, in this case Quartz's StatefulJob will be used (you can find more info about it here):

    static concurrent = false

    Configuring Job Enabled

    By default all jobs are considered enabled. In some cases it may be desired to temporarily disable a job. This can be done by overriding the jobEnabled property behavior

    static jobEnabled = false

    Configuring description

    Quartz allows for each job to have a short description. This may be configured by adding a description field to your Job. The description can be accessed at runtime using the JobManagerService and inspecting the JobDetail object.

    static description = "Example Job Description"

    Clustering

    Quartz plugin doesn't support clustering out-of-the-box now. However, you could use standard Quartz clustering configuration. Take a look at the example provided by Burt Beckwith. You'll also need to set jdbcStore configuration option to true .

    There are also two parameters for configuring store/clustering on jobs ( volatility and durability , both are true by default) and one for triggers ( volatility , also true by default). Volatile job and trigger will not persist between Quartz runs, and durable job will live even when there is no triggers referring to it.

    Read Quartz documentation for more information on clustering and job stores as well as volatility and durability.

    Now that the plugin supports Quartz 2.1.x, you can now use current versions of open source Terracotta see https://github.com/rvanderwerf/terracotta-grails-demo for an example app.

    Recovering

    Since 0.4.2 recovering from 'recovery' or 'fail-over' situation is supported with requestsRecovery job-level flag ( false by default).

    If a job "requests recovery", and it is executing during the time of a 'hard shutdown' of the scheduler (i.e. the process it is running within crashes, or the machine is shut off), then it is re-executed when the scheduler is started again. In this case, the JobExecutionContext.isRecovering() method will return true.

    diff --git a/snapshot/guide/triggers.html b/snapshot/guide/triggers.html index 6e2b9f16..7450822e 100644 --- a/snapshot/guide/triggers.html +++ b/snapshot/guide/triggers.html @@ -91,12 +91,9 @@

    3 Understanding Triggers

    3 Understanding Triggers

    -

    Scheduling configuration syntax

    Currently plugin supports three types of triggers: -

      -
    • simple — executes once per defined interval (ex. “every 10 seconds”);
    • -
    • cron — executes job with cron expression (ex. “at 8:00am every Monday through Friday”);
    • -
    • custom — your implementation of Trigger interface.
    • -

    Multiple triggers per job are allowed.

    class MyJob {
    +

    Scheduling configuration syntax

    Currently plugin supports three types of triggers:

    simple* — executes once per defined interval (ex. “every 10 seconds”); + cron* — executes job with cron expression (ex. “at 8:00am every Monday through Friday”); + custom* — your implementation of Trigger interface.

    Multiple triggers per job are allowed.

    class MyJob {
        static triggers = {
           simple name:'simpleTrigger', startDelay: 10000, repeatInterval: 30000, repeatCount: 10
           cron   name:'cronTrigger',   startDelay: 10000, cronExpression: '0/6 * 15 * * ?', timeZone: TimeZone.getTimeZone("GMT-8") //timeZone is optional
    @@ -104,25 +101,18 @@ 

    Scheduling configuration syntax

    Currently plugin s }

    void execute() { println "Job run!" } -}

    With this configuration job will be executed 11 times with 30 seconds interval with first run in 10 seconds after scheduler startup (simple trigger), also it’ll be executed each 6 second during 15th hour (15:00:00, 15:00:06, 15:00:12, … — this configured by cron trigger) and also it’ll be executed each time your custom trigger will fire.

    Three kinds of triggers are supported with the following parameters: -

      -
    • simple:
    • -
        -
      • name — the name that identifies the trigger;
      • -
      • startDelay — delay (in milliseconds) between scheduler startup and first job’s execution;
      • -
      • repeatInterval — timeout (in milliseconds) between consecutive job’s executions;
      • -
      • repeatCount — trigger will fire job execution (1 + repeatCount) times and stop after that (specify 0 here to have one-shot job or -1 to repeat job executions indefinitely);
      • -
      -
    • cron:
    • -
        -
      • name — the name that identifies the trigger;
      • -
      • startDelay — delay (in milliseconds) between scheduler startup and first job’s execution;
      • -
      • cronExpression — cron expression
      • -
      -
    • custom:
    • -
        -
      • triggerClass — your class which implements Trigger interface;
      • -

    any params needed by your trigger.

    It is also possible to adjust properties in a trigger Closure by the Grails configuration since the triggers block is given access to the grailsApplication object.

    Dynamic Jobs Scheduling

    Starting from 0.4.1 version you have the ability to schedule job executions dynamically.

    These methods are available:

    // creates cron trigger;
    +}

    With this configuration job will be executed 11 times with 30 seconds interval with first run in 10 seconds after scheduler startup (simple trigger), also it’ll be executed each 6 second during 15th hour (15:00:00, 15:00:06, 15:00:12, … — this configured by cron trigger) and also it’ll be executed each time your custom trigger will fire.

    Three kinds of triggers are supported with the following parameters:

    * simple: + name — the name that identifies the trigger; + startDelay — delay (in milliseconds) between scheduler startup and first job’s execution; + repeatInterval — timeout (in milliseconds) between consecutive job’s executions; + repeatCount — trigger will fire job execution (1 + repeatCount) times and stop after that (specify 0 here to have one-shot job or -1 to repeat job executions indefinitely); +* cron: + name — the name that identifies the trigger; + startDelay — delay (in milliseconds) between scheduler startup and first job’s execution; + cronExpression — cron expression +* custom: + triggerClass — your class which implements Trigger interface; +any params needed by your trigger.

    It is also possible to adjust properties in a trigger Closure by the Grails configuration since the triggers block is given access to the grailsApplication object.

    Dynamic Jobs Scheduling

    Starting from 0.4.1 version you have the ability to schedule job executions dynamically.

    These methods are available:

    // creates cron trigger;
     MyJob.schedule(String cronExpression, Map params?)

    // creates simple trigger: repeats job repeatCount+1 times with delay of repeatInterval milliseconds; MyJob.schedule(Long repeatInterval, Integer repeatCount?, Map params?) )

    // schedules one job execution to the specific date; MyJob.schedule(Date scheduleDate, Map params?)

    //schedules job's execution with a custom trigger;