~ubuntu-branches/ubuntu/natty/electric/natty

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/EJob.java

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2010-01-09 16:26:04 UTC
  • mfrom: (1.1.4 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100109162604-1ypvmy8ijmlc6oq7
Tags: 8.10-1
* New upstream version.
* debian/control
  - Add libjava3d-java and quilt build dependencies.
  - Update standards version to 3.8.3.
  - Add libjava3d-java as recommends to binary package.
* debian/rules
  - Use quilt patch system instead of simple patchsys.
  - Add java3d related jar files to DEB_JARS.
* debian/patches/*
  - Update as per current upstream source. Convert to quilt.
* debian/ant.properties
  - Do not disable 3D plugin anymore.
  - Use new property to disable compilation of OS X related classes.
* debian/wrappers/electric
  - Add java3d related jar files to runtime classpath.
* debian/README.source
  - Change text to the appropriate one for quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    /*private*/ final static String ABORTING = "aborting";
57
57
 
58
58
    /** Client which is owner of the Job. */    Client client;
59
 
    /** True if this Job was started by server */public boolean startedByServer;
 
59
//    /** True if this Job was started by server */public boolean startedByServer;
60
60
    /** job key */                              Job.Key jobKey;
61
61
    /** type of job (change or examine) */      public final Type jobType;
62
62
    /** name of job */                          public final String jobName;
67
67
 
68
68
    /** progress */                             /*private*/ String progress = null;
69
69
    byte[] serializedJob;
70
 
    byte[] serializedResult;
 
70
    public byte[] serializedResult;
71
71
    boolean doItOk;
72
72
    Job serverJob;
73
73
    public Job clientJob;
76
76
    /** Fields changed on server side. */       ArrayList<Field> changedFields;
77
77
 
78
78
    /** Creates a new instance of EJob */
79
 
    EJob(Client connection, int jobId, Job.Type jobType, String jobName, byte[] bytes) {
 
79
    public EJob(Client connection, int jobId, Job.Type jobType, String jobName, byte[] bytes) {
80
80
        this.client = connection;
81
81
        jobKey = new Job.Key(connection, jobId, jobType != Job.Type.CLIENT_EXAMINE);
82
82
        this.jobType = jobType;
105
105
    }
106
106
 
107
107
    public boolean isExamine() {
108
 
        return jobType == Job.Type.CLIENT_EXAMINE || jobType == Job.Type.SERVER_EXAMINE;
 
108
        return jobType.isExamine();
 
109
    }
 
110
 
 
111
    public boolean startedByServer() {
 
112
        return jobKey.startedByServer();
109
113
    }
110
114
 
111
115
    Throwable serialize(EDatabase database) {