Package com.sun.grid.jgdi.monitoring

Examples of com.sun.grid.jgdi.monitoring.JobSummary


            return jobList.get(rowIndex);
        }
       
        public Object getValueAt(int rowIndex, int columnIndex) {
            synchronized (jobList) {
                JobSummary js = getJob(rowIndex);
                switch (columnIndex) {
                    case 0:
                        return js.getName();
                    case 1:
                        return js.getState();
                    case 2:
                        return js.getUser();
                    default:
                        return "Error";
                }
            }
        }
View Full Code Here


            String tip = null;
            java.awt.Point p = e.getPoint();
            int rowIndex = rowAtPoint(p);
           
           
            JobSummary job = jobTableModel.getJob(rowIndex);
           
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
           
            pw.print("Job ");
            pw.print(job.getId());
            pw.print(" (");
            pw.print(job.getName());
            pw.println(")");
           
            pw.println("job_number:                 " + job.getId() + "<br>");
            pw.println("name:                       " + job.getName() + "<br>");
            pw.println("user:                       " + job.getUser() + "<br>");
            pw.println("CheckpointEnv:              " + job.getCheckpointEnv() + "<br>");
           
            pw.flush();
            String ret = sw.getBuffer().toString();
            System.out.println(ret);
            return ret;
View Full Code Here

TOP

Related Classes of com.sun.grid.jgdi.monitoring.JobSummary

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.