Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.javahispano.canyamo.services.scheduler
Class Task  view Task download Task.java

java.lang.Object
  extended byorg.javahispano.canyamo.services.scheduler.Task

public class Task
extends java.lang.Object

Decorator containig information for a job (class, name, etc.)
Scheduling is made upon Quartz (http://www.part.net/quartz.html)

Version:

Field Summary
private  org.quartz.JobDetail jobDetail
          Quartz's job details
 
Constructor Summary
Task(java.lang.String name, java.lang.Class jobClass)
          Constructor for the Task object
 
Method Summary
 void addProperty(java.lang.String key, java.lang.String value)
          Adds a property to the context of this proccess
protected  org.quartz.JobDetail getJob()
          Gets the Quartz's job representing this Task
 java.lang.String getName()
          Gets the name of this task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobDetail

private org.quartz.JobDetail jobDetail
Quartz's job details

Constructor Detail

Task

public Task(java.lang.String name,
            java.lang.Class jobClass)
Constructor for the Task object

Method Detail

getName

public java.lang.String getName()
Gets the name of this task


addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
Adds a property to the context of this proccess


getJob

protected org.quartz.JobDetail getJob()
Gets the Quartz's job representing this Task