Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.subsystems.qsys.jobs
Interface IJobTicketSource

All Known Implementing Classes:
RBJobTicketSource

public interface IJobTicketSource

This interface allows you to contribute to the popup menu and be notified of state changes for JobTickets that you add to to the Job Status view.


Field Summary
static String Copyright
           
 
Method Summary
 boolean canRemove(JobTicket jobTicket)
          Allows job ticket sources to prevent a job from being removed from the job status view when the user attempts to remove the job or remove all jobs from the view.
 IJobTicketSourceFactory getJobTicketSourceFactory()
          Return the IJobTicketSourceFactory used for persisting and restoring this job ticket source from a memento.
 void jobRemoved(JobTicket jobTicket)
          Notification that the job was removed from the Job status view.
 void populateTaskMenu(MenuManager menu, JobTicket jobTicket)
          Allow ticket source's to populate the "Task Actions" section of the pop-up menu for jobs in the Status view.
 

Field Detail

Copyright

static final String Copyright
See Also:
Constant Field Values
Method Detail

populateTaskMenu

void populateTaskMenu(MenuManager menu,
                      JobTicket jobTicket)
Allow ticket source's to populate the "Task Actions" section of the pop-up menu for jobs in the Status view.


canRemove

boolean canRemove(JobTicket jobTicket)
Allows job ticket sources to prevent a job from being removed from the job status view when the user attempts to remove the job or remove all jobs from the view.


jobRemoved

void jobRemoved(JobTicket jobTicket)
Notification that the job was removed from the Job status view. This allows the job ticket source to perform any cleanup required.


getJobTicketSourceFactory

IJobTicketSourceFactory getJobTicketSourceFactory()
Return the IJobTicketSourceFactory used for persisting and restoring this job ticket source from a memento. Return null if no factory is provided. In this case the job will still be persisted but all task specific properites and actions will be lost.


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.