info.aduna.gee.publication.net
Class Job

java.lang.Object
  extended by info.aduna.gee.publication.net.Job

public class Job
extends Object

Represents a store request.


Field Summary
 boolean active
          Is this job active?
 ByteArrayOutputStream bytes
          an internally stored job
 boolean delay
          Save this job immediately or at an explicit sync?
 String filename
          the name of the file to store to.
 boolean force
          Force this job to save, disregarding all changes made to the physical file since the time is was loaded.
 WURL upload
          The upload location for the job
 
Constructor Summary
Job(String filename, OutputHandler outputHandler)
          Creates a new Job.
 
Method Summary
 boolean equals(Object other)
          Is this job equal to another job.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

upload

public WURL upload
The upload location for the job


active

public boolean active
Is this job active?


delay

public boolean delay
Save this job immediately or at an explicit sync?


force

public boolean force
Force this job to save, disregarding all changes made to the physical file since the time is was loaded.


filename

public String filename
the name of the file to store to.


bytes

public ByteArrayOutputStream bytes
an internally stored job

Constructor Detail

Job

public Job(String filename,
           OutputHandler outputHandler)
Creates a new Job.

Parameters:
filename - the name of the file to store to.
output - The output handler that created the job.
Method Detail

equals

public boolean equals(Object other)
Is this job equal to another job.

Overrides:
equals in class Object
Parameters:
other - another job.
Returns:
true if equal, false otherwise.


Copyright © 1997-2008 Aduna. All Rights Reserved.