|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 | |
---|---|
protected Action |
cancelAction
|
static String |
Copyright
|
protected RBProject |
project
|
protected Action |
retrieveErrorsAction
|
protected String |
tag
|
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. |
protected IViewPart |
getJobMonitorView()
Helper method for retrieving the Job Monitor View if it is showing, or null if it is not showing. |
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. |
protected RBStatus |
readStreamFile(AS400 system,
String remoteFileName,
String localFileName)
Reads a text stream file from a remote system into the workspace. |
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
protected RBProject project
protected String tag
protected Action retrieveErrorsAction
protected Action cancelAction
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
protected RBStatus readStreamFile(AS400 system, String remoteFileName, String localFileName)
public void cancel(JobTicket ticket)
Used to implement a "cancel" or "endjob" function by the user interface.
protected IViewPart getJobMonitorView()
public IJobTicketSourceFactory getJobTicketSourceFactory()
IJobTicketSource
getJobTicketSourceFactory
in interface IJobTicketSource
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |