All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.quartz.xml.job_scheduling_data_2_0.xsd Maven / Gradle / Ivy


 
    
    
        
            Root level node
        
        
            
                
                    
                        Commands to be executed before scheduling the jobs and triggers in this file.
                    
                
                
                    
                        Directives to be followed while scheduling the jobs and triggers in this file.
                    
                
                
                    
                        
                            
                            
                        
                    
                
            
            
                
                    Version of the XML Schema instance
                
            
        
    
    
    
        
            
                Delete all jobs, if any, in the identified group. "*" can be used to identify all groups. Will also result in deleting all triggers related to the jobs.
            
            
                Delete all triggers, if any, in the identified group. "*" can be used to identify all groups. Will also result in deletion of related jobs that are non-durable.
            
            
                Delete the identified job if it exists (will also result in deleting all triggers related to it).
                
                    
                        
                        
                    
                
            
            
                Delete the identified trigger if it exists (will also result in deletion of related jobs that are non-durable).
                
                    
                        
                        
                    
                
            
        
    

    
        
            
                Whether the existing scheduling data (with same identifiers) will be overwritten. If false, and ignore-duplicates is not false, and jobs or triggers with the same names already exist as those in the file, an error will occur.
            
            
                If true (and overwrite-existing-data is false) then any job/triggers encountered in this file that have names that already exist in the scheduler will be ignored, and no error will be produced.
            
        
    
    
    
        
            Define a JobDetail
        
        
            
            
            
            
            
                
                
            
            
        
    
    
    
        
            Define a JobDataMap
        
        
            
        
    
    
    
        
            Define a JobDataMap entry
        
        
            
            
        
    
    
    
        
            Define a Trigger
        
        
            
            
            
        
    
    
    
        
            Common Trigger definitions
        
        
            
            
            
            
            
            
            
            
            
                
                    
                    
                
                
            
        
    
    
    
        
            Define a SimpleTrigger
        
        
            
                
                    
                    
                        
                        
                    
                
            
        
    
    
    
        
            Define a CronTrigger
        
        
            
                
                    
                    
                    
                
            
        
    
    
    
        
            Define a DateIntervalTrigger
        
        
            
                
                    
                    
                    
                
            
        
    
    
    
        
            
                Cron expression (see JavaDoc for examples)
                
                Special thanks to Chris Thatcher ([email protected]) for the regular expression!
                
                Regular expressions are not my strong point but I believe this is complete,
                with the caveat that order for expressions like 3-0 is not legal but will pass, 
                and month and day names must be capitalized.
                If you want to examine the correctness look for the [\s] to denote the
                seperation of individual regular expressions. This is how I break them up visually 
                to examine them:
                
                SECONDS:
                (   
                ((([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?,)*([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?)
                | (([\*]|[0-9]|[0-5][0-9])/([0-9]|[0-5][0-9]))
                | ([\?])
                | ([\*])
                ) [\s]
                MINUTES:
                (   
                ((([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?,)*([0-9]|[0-5][0-9])(-([0-9]|[0-5][0-9]))?)
                | (([\*]|[0-9]|[0-5][0-9])/([0-9]|[0-5][0-9]))
                | ([\?])
                | ([\*])
                ) [\s]
                HOURS:
                (
                ((([0-9]|[0-1][0-9]|[2][0-3])(-([0-9]|[0-1][0-9]|[2][0-3]))?,)*([0-9]|[0-1][0-9]|[2][0-3])(-([0-9]|[0-1][0-9]|[2][0-3]))?)
                | (([\*]|[0-9]|[0-1][0-9]|[2][0-3])/([0-9]|[0-1][0-9]|[2][0-3]))
                | ([\?])
                | ([\*]) 
                ) [\s]
                DAY OF MONTH:
                (
                ((([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(-([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1]))?,)*([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(-([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1]))?(C)?)
                | (([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])/([1-9]|[0][1-9]|[1-2][0-9]|[3][0-1])(C)?)
                | (L(-[0-9])?)
                | (L(-[1-2][0-9])?)
                | (L(-[3][0-1])?)
                | (LW)
                | ([1-9]W)
                | ([1-3][0-9]W)
                | ([\?])
                | ([\*])
                )[\s]
                MONTH:
                (  
                ((([1-9]|0[1-9]|1[0-2])(-([1-9]|0[1-9]|1[0-2]))?,)*([1-9]|0[1-9]|1[0-2])(-([1-9]|0[1-9]|1[0-2]))?)
                | (([1-9]|0[1-9]|1[0-2])/([1-9]|0[1-9]|1[0-2]))
                | (((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?,)*(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)(-(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))?)
                | ((JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)/(JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC))
                | ([\?])
                | ([\*])
                )[\s]
                DAY OF WEEK:
                ( 
                (([1-7](-([1-7]))?,)*([1-7])(-([1-7]))?)
                | ([1-7]/([1-7]))
                | (((MON|TUE|WED|THU|FRI|SAT|SUN)(-(MON|TUE|WED|THU|FRI|SAT|SUN))?,)*(MON|TUE|WED|THU|FRI|SAT|SUN)(-(MON|TUE|WED|THU|FRI|SAT|SUN))?(C)?)
                | ((MON|TUE|WED|THU|FRI|SAT|SUN)/(MON|TUE|WED|THU|FRI|SAT|SUN)(C)?)
                | (([1-7]|(MON|TUE|WED|THU|FRI|SAT|SUN))(L|LW)?)
                | (([1-7]|MON|TUE|WED|THU|FRI|SAT|SUN)#([1-7])?)
                | ([\?])
                | ([\*])
                )
                YEAR (OPTIONAL):
                (
                [\s]?
                ([\*])?
                | ((19[7-9][0-9])|(20[0-9][0-9]))?
                | (((19[7-9][0-9])|(20[0-9][0-9]))/((19[7-9][0-9])|(20[0-9][0-9])))?
                | ((((19[7-9][0-9])|(20[0-9][0-9]))(-((19[7-9][0-9])|(20[0-9][0-9])))?,)*((19[7-9][0-9])|(20[0-9][0-9]))(-((19[7-9][0-9])|(20[0-9][0-9])))?)?
                )
            
        
        
            
        
    
     
    
        
            Number of times to repeat the Trigger (-1 for indefinite)
        
        
            
        
    
    
   
    
        
            Simple Trigger Misfire Instructions
        
        
            
            
            
            
            
            
        
    
    
    
        
            Cron Trigger Misfire Instructions
        
        
            
            
            
        
    
    
    
        
            Date Interval Trigger Misfire Instructions
        
        
            
            
            
        
    
    
    
        
            Interval Units
        
        
            
            
            
            
            
            
            
        
    
    





© 2015 - 2024 Weber Informatics LLC | Privacy Policy