Source code: com/yaftp/ftp/mvsjobs/MvsJobRi.java
1 /**
2 *
3 * CopyRights Jean-Yves MENGANT 1999,2000,2001,2002
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19
20 package com.yaftp.ftp.mvsjobs;
21
22 import java.util.* ;
23
24 /**
25
26 this class is the result of a MvsJobParser run.
27 it contains info about an MVS execution job
28
29 the MvsJobRi contains all the resulting JOB semantics
30 number of steps , condition codes , CPU times , elapse times.
31
32 */
33
34 public class MvsJobRi
35 {
36 /** define where the job execution content in url format is */
37 private String _urlJobResult ;
38
39 private Vector _jobSteps = new Vector() ;
40 private String _jobName ;
41 private String _startedTime ;
42 private String _endedTime ;
43
44 public void set_jobName( String jobName )
45 { _jobName = jobName ; }
46 public String get_jobName()
47 { return _jobName ; }
48
49 public void addStep( MvsJobStep step )
50 { _jobSteps.addElement(step); }
51
52 public void set_startedTime( String startedTime )
53 { _startedTime = startedTime ; }
54
55 public void set_endedTime( String endedTime )
56 { _endedTime = endedTime ; }
57
58 public MvsJobRi() {}
59
60 }