de.phleisch.app.itsucks.job
Interface JobList

All Superinterfaces:
DirectEventSource
All Known Implementing Classes:
SimpleJobListImpl

public interface JobList
extends DirectEventSource

This is a generic interface for 'JobList'. A job list manages and order the jobs to be process by the Dispatcher. It also offers an interface to listen changes in the list structure. These message are from the type JobListNotification.

Author:
olli

Field Summary
static Event EVENT_JOB_ADDED
           
static Event EVENT_JOB_CHANGED
           
static Event EVENT_JOB_REMOVED
           
static int NOTIFICATION_JOB_ADDED
           
static int NOTIFICATION_JOB_CHANGED
           
static int NOTIFICATION_JOB_REMOVED
           
 
Method Summary
 void addJob(Job pJob)
           
 void clear()
           
 java.util.Collection<Job> getContent()
           
 Job getNextOpenJob()
           
 boolean removeJob(Job pJob)
           
 int size()
           
 
Methods inherited from interface de.phleisch.app.itsucks.event.DirectEventSource
registerObserver, unregisterObserver
 

Field Detail

NOTIFICATION_JOB_ADDED

static final int NOTIFICATION_JOB_ADDED
See Also:
Constant Field Values

NOTIFICATION_JOB_REMOVED

static final int NOTIFICATION_JOB_REMOVED
See Also:
Constant Field Values

NOTIFICATION_JOB_CHANGED

static final int NOTIFICATION_JOB_CHANGED
See Also:
Constant Field Values

EVENT_JOB_ADDED

static final Event EVENT_JOB_ADDED

EVENT_JOB_REMOVED

static final Event EVENT_JOB_REMOVED

EVENT_JOB_CHANGED

static final Event EVENT_JOB_CHANGED
Method Detail

addJob

void addJob(Job pJob)

removeJob

boolean removeJob(Job pJob)

clear

void clear()

getNextOpenJob

Job getNextOpenJob()

size

int size()

getContent

java.util.Collection<Job> getContent()


Copyright © 2010. All Rights Reserved.