|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gnu.hylafax.job.Job
This class is a light, unsynchronized implementation of gnu.hylafax.Job.
ClientProtocol,
Client,
Job| Field Summary | |
static java.lang.String |
CHOP_DEFAULT
|
protected Client |
client
|
static java.lang.String |
NOTIFY_ALL
|
static java.lang.String |
NOTIFY_DONE
|
static java.lang.String |
NOTIFY_NONE
|
static java.lang.String |
NOTIFY_REQUEUE
|
static int |
PRIORITY_BULK
|
static int |
PRIORITY_HIGH
|
static int |
PRIORITY_NORMAL
|
static int |
RESOLUTION_LOW
|
static int |
RESOLUTION_MEDIUM
|
| Constructor Summary | |
Job(Client c)
|
|
Job(Client c,
long id)
|
|
| Method Summary | |
void |
addDocument(java.lang.String value)
|
int |
getChopThreshold()
|
java.lang.String |
getDialstring()
|
java.lang.String |
getDocumentName()
|
java.lang.String |
getFromUser()
|
long |
getId()
get the job-id of this Job instance. |
java.lang.String |
getJobInfo()
Get JobInfo attribute. |
java.lang.String |
getKilltime()
|
int |
getMaximumDials()
|
int |
getMaximumTries()
|
java.lang.String |
getNotifyAddress()
|
java.lang.String |
getNotifyType()
|
java.lang.String |
getPageChop()
|
java.awt.Dimension |
getPageDimension()
|
int |
getPageLength()
|
int |
getPageWidth()
|
int |
getPriority()
|
java.lang.String |
getProperty(java.lang.String key)
Get the value for an arbitrary property for this job. |
java.lang.String |
getRetrytime()
|
java.lang.String |
getTagline()
Get TagLine format attribute. |
boolean |
getUseTagline()
Get the UseTagLine attribute. |
int |
getVerticalResolution()
|
void |
setChopThreshold(int value)
|
void |
setDialstring(java.lang.String value)
|
void |
setFromUser(java.lang.String value)
|
void |
setJobInfo(java.lang.String value)
Set the JobInfo attribute. |
void |
setKilltime(java.lang.String value)
|
void |
setMaximumDials(int value)
|
void |
setMaximumTries(int value)
|
void |
setNotifyAddress(java.lang.String value)
|
void |
setNotifyType(java.lang.String value)
set the notification type. |
void |
setPageChop(java.lang.String value)
|
void |
setPageDimension(java.awt.Dimension value)
Set the job's pagesize. |
void |
setPageLength(int length)
|
void |
setPageWidth(int width)
|
void |
setPriority(int value)
|
void |
setProperty(java.lang.String property,
int value)
Set any arbitrary property on this job to an integer value. |
void |
setProperty(java.lang.String parameter,
java.lang.String value)
Set any arbitrary property on this job. |
void |
setRetrytime(java.lang.String value)
|
void |
setSendTime(java.util.Date sendTime)
Set the SENDTIME attribute. |
void |
setSendTime(java.lang.String sendTime)
Set the SENDTIME attribute. |
void |
setTagline(java.lang.String value)
Set the TagLine format attribute. |
void |
setUseTagline(boolean value)
Set the UseTagLine format attribute. |
void |
setVerticalResolution(int value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Client client
public static int PRIORITY_NORMAL
public static int PRIORITY_BULK
public static int PRIORITY_HIGH
public static int RESOLUTION_LOW
public static int RESOLUTION_MEDIUM
public static java.lang.String NOTIFY_NONE
public static java.lang.String NOTIFY_DONE
public static java.lang.String NOTIFY_REQUEUE
public static java.lang.String NOTIFY_ALL
public static java.lang.String CHOP_DEFAULT
| Constructor Detail |
public Job(Client c)
throws ServerResponseException,
java.io.IOException
public Job(Client c,
long id)
throws ServerResponseException,
java.io.IOException
| Method Detail |
public java.lang.String getFromUser()
throws ServerResponseException,
java.io.IOException
getFromUser in interface Job
public java.lang.String getKilltime()
throws ServerResponseException,
java.io.IOException
getKilltime in interface Job
public int getMaximumDials()
throws ServerResponseException,
java.io.IOException
getMaximumDials in interface Job
public int getMaximumTries()
throws ServerResponseException,
java.io.IOException
getMaximumTries in interface Job
public int getPriority()
throws ServerResponseException,
java.io.IOException
getPriority in interface Job
public java.lang.String getDialstring()
throws ServerResponseException,
java.io.IOException
getDialstring in interface Job
public java.lang.String getNotifyAddress()
throws ServerResponseException,
java.io.IOException
getNotifyAddress in interface Job
public int getVerticalResolution()
throws ServerResponseException,
java.io.IOException
getVerticalResolution in interface Job
public java.awt.Dimension getPageDimension()
throws ServerResponseException,
java.io.IOException
getPageDimension in interface Job
public int getPageWidth()
throws ServerResponseException,
java.io.IOException
getPageWidth in interface Job
public int getPageLength()
throws ServerResponseException,
java.io.IOException
getPageLength in interface Job
public java.lang.String getNotifyType()
throws ServerResponseException,
java.io.IOException
getNotifyType in interface Job
public java.lang.String getPageChop()
throws ServerResponseException,
java.io.IOException
getPageChop in interface Job
public int getChopThreshold()
throws ServerResponseException,
java.io.IOException
getChopThreshold in interface Job
public java.lang.String getDocumentName()
throws ServerResponseException,
java.io.IOException
getDocumentName in interface Job
public java.lang.String getRetrytime()
throws ServerResponseException,
java.io.IOException
getRetrytime in interface Job
public java.lang.String getProperty(java.lang.String key)
throws ServerResponseException,
java.io.IOException
getProperty in interface JobServerResponseException - the server responded with an error. This is likely due to a protocol error.java.io.IOException - an i/o error occuredpublic long getId()
getId in interface Job
public void setFromUser(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setFromUser in interface Job
public void setKilltime(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setKilltime in interface Job
public void setMaximumDials(int value)
throws ServerResponseException,
java.io.IOException
setMaximumDials in interface Job
public void setMaximumTries(int value)
throws ServerResponseException,
java.io.IOException
setMaximumTries in interface Job
public void setPriority(int value)
throws ServerResponseException,
java.io.IOException
setPriority in interface Job
public void setDialstring(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setDialstring in interface Job
public void setNotifyAddress(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setNotifyAddress in interface Job
public void setVerticalResolution(int value)
throws ServerResponseException,
java.io.IOException
setVerticalResolution in interface Job
public void setPageDimension(java.awt.Dimension value)
throws ServerResponseException,
java.io.IOException
JobsetPageDimension in interface Jobgnu.hylafax.Jobfor common pagesizes
public void setPageWidth(int width)
throws ServerResponseException,
java.io.IOException
setPageWidth in interface Job
public void setPageLength(int length)
throws ServerResponseException,
java.io.IOException
setPageLength in interface Job
public java.lang.String getJobInfo()
throws ServerResponseException,
java.io.IOException
getJobInfo in interface Job
public java.lang.String getTagline()
throws ServerResponseException,
java.io.IOException
getTagline in interface Job
public boolean getUseTagline()
throws ServerResponseException,
java.io.IOException
getUseTagline in interface Job
public void setNotifyType(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setNotifyType in interface Jobvalue - the new notification typeServerResponseException - the server responded with an error. This is likely a protocol violation.java.io.IOException - an IO error occurred while communicating with the server
public void setPageChop(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setPageChop in interface Job
public void setChopThreshold(int value)
throws ServerResponseException,
java.io.IOException
setChopThreshold in interface Job
public void addDocument(java.lang.String value)
throws ServerResponseException,
java.io.IOException
addDocument in interface Job
public void setUseTagline(boolean value)
throws ServerResponseException,
java.io.IOException
JobsetUseTagline in interface Job
public void setRetrytime(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setRetrytime in interface Job
public void setJobInfo(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setJobInfo in interface Job
public void setTagline(java.lang.String value)
throws ServerResponseException,
java.io.IOException
setTagline in interface Job
public void setProperty(java.lang.String parameter,
java.lang.String value)
throws ServerResponseException,
java.io.IOException
setProperty in interface JobServerResponseException - the server responded with an error code. This is likely a protocol violation.java.io.IOException - an i/o error occured
public void setProperty(java.lang.String property,
int value)
throws ServerResponseException,
java.io.IOException
setProperty in interface JobServerResponseException - the server responded with an error code. This is likely a protocol violation.java.io.IOException - an i/o error occured
public void setSendTime(java.util.Date sendTime)
throws ServerResponseException,
java.io.IOException
JobsetSendTime in interface Jobgnu.hylafax.JobsendTime - ServerResponseException - the server responded with an error code. This is likely a protocol violation.java.io.IOException - an i/o error occured
public void setSendTime(java.lang.String sendTime)
throws ServerResponseException,
java.io.IOException
JobsetSendTime in interface Jobgnu.hylafax.JobsendTime - ServerResponseException - the server responded with an error code. This is likely a protocol violation.java.io.IOException - an i/o error occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||