org.exist.scheduler
Class UserXQueryJob

java.lang.Object
  extended by org.exist.scheduler.UserJob
      extended by org.exist.scheduler.UserXQueryJob
All Implemented Interfaces:
JobDescription, Job

public class UserXQueryJob
extends UserJob

Class to represent a User's XQuery Job Extends UserJob

Author:
Adam Retter

Field Summary
 
Fields inherited from class org.exist.scheduler.UserJob
JOB_GROUP
 
Constructor Summary
UserXQueryJob()
          Default Constructor for Quartz
UserXQueryJob(String jobName, String XQueryResource, User user)
          Constructor for Creating a new XQuery User Job
 
Method Summary
 void execute(JobExecutionContext jec)
           
 String getName()
          Get the name of the job
 void setName(String name)
          Set the name of the job
 
Methods inherited from class org.exist.scheduler.UserJob
getGroup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserXQueryJob

public UserXQueryJob()
Default Constructor for Quartz


UserXQueryJob

public UserXQueryJob(String jobName,
                     String XQueryResource,
                     User user)
Constructor for Creating a new XQuery User Job

Method Detail

getName

public final String getName()
Description copied from interface: JobDescription
Get the name of the job

Returns:
The job's name

setName

public void setName(String name)
Description copied from interface: JobDescription
Set the name of the job

Parameters:
name - The job's new name

execute

public final void execute(JobExecutionContext jec)
                   throws JobExecutionException
Throws:
JobExecutionException


Copyright (C) Wolfgang Meier. All rights reserved.