|
Rational Developer for i 7.5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.remotebuild.RBJobTicketSource
public class RBJobTicketSource
This class is used to when adding JobTickets for Remote builds to the JobTicketManager. It allows the remote build to add popup menus to the build jobs and to notify the remote build when a job completes.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
RBJobTicketSource(RBProject project,
String tag)
Constructor |
Method Summary | |
---|---|
void |
cancel(JobTicket ticket)
Cancels a job represented by the job ticket. |
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. |
RBProject |
getProject()
Returns the project of the job. |
String |
getTag()
Returns the tag for the job. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public RBJobTicketSource(RBProject project, String tag)
project
- The iSeries project for this remote buildtag
- the tag used for this job submissionMethod Detail |
---|
public RBProject getProject()
public String getTag()
public void populateTaskMenu(MenuManager menu, JobTicket jobTicket)
IJobTicketSource
populateTaskMenu
in interface IJobTicketSource
public boolean canRemove(JobTicket jobTicket)
IJobTicketSource
canRemove
in interface IJobTicketSource
public void jobRemoved(JobTicket jobTicket)
IJobTicketSource
jobRemoved
in interface IJobTicketSource
public void cancel(JobTicket ticket)
Used to implement a "cancel" or "endjob" function by the user interface.
public IJobTicketSourceFactory getJobTicketSourceFactory()
IJobTicketSource
getJobTicketSourceFactory
in interface IJobTicketSource
|
Rational Developer for i 7.5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |