org.gwe.persistence.model.order
Class JobDescriptor

java.lang.Object
  extended by org.gwe.persistence.model.order.JobDescriptor
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PJobDescriptor

public abstract class JobDescriptor
extends java.lang.Object
implements java.io.Serializable

Since:
Aug 18, 2008
Author:
Marco Ruiz
See Also:
Serialized Form

Field Summary
protected  JobLive jobLive
           
 
Constructor Summary
JobDescriptor()
           
 
Method Summary
 void finalizeExecution(JobLive jobLive)
           
abstract  java.util.Map<java.lang.String,java.lang.Object> getPermutationValues()
           
 void initExecution(JobLive jobLive)
           
protected abstract  java.util.Map<JobSideWorkerType,JobSideWorker> initExecutionInternal(JobLive jobLive)
           
 void postProcess()
           
 void preProcess()
           
abstract  void processSystemDependencies(DaemonConfigDesc config, JobInfo job)
           
 java.lang.StringBuffer toCSV(java.util.List<java.lang.String> varNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobLive

protected transient JobLive jobLive
Constructor Detail

JobDescriptor

public JobDescriptor()
Method Detail

initExecution

public void initExecution(JobLive jobLive)
                   throws java.lang.Exception
Throws:
java.lang.Exception

initExecutionInternal

protected abstract java.util.Map<JobSideWorkerType,JobSideWorker> initExecutionInternal(JobLive jobLive)
                                                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getPermutationValues

public abstract java.util.Map<java.lang.String,java.lang.Object> getPermutationValues()

toCSV

public java.lang.StringBuffer toCSV(java.util.List<java.lang.String> varNames)

preProcess

public void preProcess()
                throws java.lang.Throwable
Throws:
java.lang.Throwable

postProcess

public void postProcess()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

finalizeExecution

public void finalizeExecution(JobLive jobLive)

processSystemDependencies

public abstract void processSystemDependencies(DaemonConfigDesc config,
                                               JobInfo job)


Copyright © 2007-2009. All Rights Reserved.