org.wiperdog.jobmanager.internal
Class ShellJob

java.lang.Object
  extended by org.wiperdog.jobmanager.internal.AbstractGenericJob
      extended by org.wiperdog.jobmanager.internal.ShellJob
All Implemented Interfaces:
org.quartz.InterruptableJob, org.quartz.Job

@DisallowConcurrentExecution
public class ShellJob
extends AbstractGenericJob


Nested Class Summary
 
Nested classes/interfaces inherited from class org.wiperdog.jobmanager.internal.AbstractGenericJob
AbstractGenericJob.SuicideJob
 
Field Summary
static int DEF_MAX_DATA_SIZE
           
 
Fields inherited from class org.wiperdog.jobmanager.internal.AbstractGenericJob
DEF_MAX_HISTORYDEPTH, KEY_MAXRUNTIME, lastMsg, logger, me
 
Constructor Summary
ShellJob()
           
 
Method Summary
protected  Object doJob(org.quartz.JobExecutionContext context)
           
 void setMaxDataSize(Integer size)
           
 void setProgramargs(String[] args)
           
 void setUseErr(Boolean bUse)
          This method is called by Queartz framework, so don't worry about no one in this java project calling this method.
 void setUseOut(Boolean bUse)
          This method is called by Queartz framework, so don't worry about no one in this java project calling this method.
 
Methods inherited from class org.wiperdog.jobmanager.internal.AbstractGenericJob
execute, interrupt, setFailed, setFailed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEF_MAX_DATA_SIZE

public static final int DEF_MAX_DATA_SIZE
See Also:
Constant Field Values
Constructor Detail

ShellJob

public ShellJob()
Method Detail

setProgramargs

public void setProgramargs(String[] args)

setUseOut

public void setUseOut(Boolean bUse)
This method is called by Queartz framework, so don't worry about no one in this java project calling this method.

Parameters:
bUse -

setUseErr

public void setUseErr(Boolean bUse)
This method is called by Queartz framework, so don't worry about no one in this java project calling this method.

Parameters:
bUse -

setMaxDataSize

public void setMaxDataSize(Integer size)

doJob

protected Object doJob(org.quartz.JobExecutionContext context)
                throws Throwable
Specified by:
doJob in class AbstractGenericJob
Throws:
Throwable


Copyright © 2013. All Rights Reserved.