xsmeral.semnet.manager
Class ProcessingJob

java.lang.Object
  extended by xsmeral.semnet.manager.ProcessingJob

public class ProcessingJob
extends Object

Contains a chain of processors with their configurations.

See Also:
JobRunner

Field Summary
static String DEFAULT_FILENAME
          Default file name of a processing job file.
 
Constructor Summary
ProcessingJob()
           
ProcessingJob(String name, String description, List<Configuration> processorChain, List<Configuration> attached)
          Initializes all fields.
 
Method Summary
 boolean equals(Object obj)
           
 List<Configuration> getAttached()
          Returns collection of attached processors.
 String getDescription()
          Returns description of the job.
 String getName()
          Returns name of the job.
 List<Configuration> getProcessorChain()
          Returns list of object processors.
 int hashCode()
           
 void setAttached(List<Configuration> attached)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setProcessorChain(List<Configuration> processorChain)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FILENAME

public static final String DEFAULT_FILENAME
Default file name of a processing job file. Used if no name is specified.

See Also:
Constant Field Values
Constructor Detail

ProcessingJob

public ProcessingJob()

ProcessingJob

public ProcessingJob(String name,
                     String description,
                     List<Configuration> processorChain,
                     List<Configuration> attached)
Initializes all fields.

Parameters:
name - Arbitrary user-assigned name
description - Arbitrary description
processorChain - Chain of processors and their configurations
Method Detail

getDescription

public String getDescription()
Returns description of the job.


setDescription

public void setDescription(String description)

getName

public String getName()
Returns name of the job.


setName

public void setName(String name)

getProcessorChain

public List<Configuration> getProcessorChain()
Returns list of object processors.


setProcessorChain

public void setProcessorChain(List<Configuration> processorChain)

getAttached

public List<Configuration> getAttached()
Returns collection of attached processors.


setAttached

public void setAttached(List<Configuration> attached)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object