Job Interface Reference
Interface that represents a job in a printer queue. More...
Inheritance diagram for Job:
Public Member Functions | |
int | getId () |
Gets printer id. More... | |
Printer | getPrinter () |
Gets printer of the job. More... | |
JobInformation | getJobInformation () throws PrinterLowLevelException, PrinterNotAvailableException |
Gets job information. More... | |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
void | subscribe (T observer) throws CannotSubscribeException |
void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Detailed Description
Interface that represents a job in a printer queue.
Member Function Documentation
int getId | ( | ) |
- Returns
- Printer id
JobInformation getJobInformation | ( | ) | throws PrinterLowLevelException, PrinterNotAvailableException |
- Returns
- job information
- Exceptions
-
PrinterNotAvailableException PrinterLowLevelException
Printer getPrinter | ( | ) |
- Returns
- Printer of the job