-public class Result implements java.io.Serializable {
- private boolean broken;
- private boolean failed;
- private boolean finished;
- private boolean invalid;
- private boolean jobFailed;
- private boolean queued;
- private boolean running;
- private boolean serverError;
- private int state;
- private java.lang.String status;
- private boolean suspended;
-
- public Result() {
- }
-
- public Result(
- boolean broken,
- boolean failed,
- boolean finished,
- boolean invalid,
- boolean jobFailed,
- boolean queued,
- boolean running,
- boolean serverError,
- int state,
- java.lang.String status,
- boolean suspended) {
- this.broken = broken;
- this.failed = failed;
- this.finished = finished;
- this.invalid = invalid;
- this.jobFailed = jobFailed;
- this.queued = queued;
- this.running = running;
- this.serverError = serverError;
- this.state = state;
- this.status = status;
- this.suspended = suspended;
- }
-
-
- /**
- * Gets the broken value for this Result.
- *
- * @return broken
- */
- public boolean isBroken() {
- return broken;
- }
-
-
- /**
- * Sets the broken value for this Result.
- *
- * @param broken
- */
- public void setBroken(boolean broken) {
- this.broken = broken;
- }
-
-
- /**
- * Gets the failed value for this Result.
- *
- * @return failed
- */
- public boolean isFailed() {
- return failed;
- }
-
-
- /**
- * Sets the failed value for this Result.
- *
- * @param failed
- */
- public void setFailed(boolean failed) {
- this.failed = failed;
- }
-
-
- /**
- * Gets the finished value for this Result.
- *
- * @return finished
- */
- public boolean isFinished() {
- return finished;
+public class Result implements java.io.Serializable
+{
+ private boolean broken;
+
+ private boolean failed;
+
+ private boolean finished;
+
+ private boolean invalid;
+
+ private boolean jobFailed;
+
+ private boolean queued;
+
+ private boolean running;
+
+ private boolean serverError;
+
+ private int state;
+
+ private java.lang.String status;
+
+ private boolean suspended;
+
+ public Result()
+ {
+ }
+
+ public Result(boolean broken, boolean failed, boolean finished,
+ boolean invalid, boolean jobFailed, boolean queued,
+ boolean running, boolean serverError, int state,
+ java.lang.String status, boolean suspended)
+ {
+ this.broken = broken;
+ this.failed = failed;
+ this.finished = finished;
+ this.invalid = invalid;
+ this.jobFailed = jobFailed;
+ this.queued = queued;
+ this.running = running;
+ this.serverError = serverError;
+ this.state = state;
+ this.status = status;
+ this.suspended = suspended;
+ }
+
+ /**
+ * Gets the broken value for this Result.
+ *
+ * @return broken
+ */
+ public boolean isBroken()
+ {
+ return broken;
+ }
+
+ /**
+ * Sets the broken value for this Result.
+ *
+ * @param broken
+ */
+ public void setBroken(boolean broken)
+ {
+ this.broken = broken;
+ }
+
+ /**
+ * Gets the failed value for this Result.
+ *
+ * @return failed
+ */
+ public boolean isFailed()
+ {
+ return failed;
+ }
+
+ /**
+ * Sets the failed value for this Result.
+ *
+ * @param failed
+ */
+ public void setFailed(boolean failed)
+ {
+ this.failed = failed;
+ }
+
+ /**
+ * Gets the finished value for this Result.
+ *
+ * @return finished
+ */
+ public boolean isFinished()
+ {
+ return finished;
+ }
+
+ /**
+ * Sets the finished value for this Result.
+ *
+ * @param finished
+ */
+ public void setFinished(boolean finished)
+ {
+ this.finished = finished;
+ }
+
+ /**
+ * Gets the invalid value for this Result.
+ *
+ * @return invalid
+ */
+ public boolean isInvalid()
+ {
+ return invalid;
+ }
+
+ /**
+ * Sets the invalid value for this Result.
+ *
+ * @param invalid
+ */
+ public void setInvalid(boolean invalid)
+ {
+ this.invalid = invalid;
+ }
+
+ /**
+ * Gets the jobFailed value for this Result.
+ *
+ * @return jobFailed
+ */
+ public boolean isJobFailed()
+ {
+ return jobFailed;
+ }
+
+ /**
+ * Sets the jobFailed value for this Result.
+ *
+ * @param jobFailed
+ */
+ public void setJobFailed(boolean jobFailed)
+ {
+ this.jobFailed = jobFailed;
+ }
+
+ /**
+ * Gets the queued value for this Result.
+ *
+ * @return queued
+ */
+ public boolean isQueued()
+ {
+ return queued;
+ }
+
+ /**
+ * Sets the queued value for this Result.
+ *
+ * @param queued
+ */
+ public void setQueued(boolean queued)
+ {
+ this.queued = queued;
+ }
+
+ /**
+ * Gets the running value for this Result.
+ *
+ * @return running
+ */
+ public boolean isRunning()
+ {
+ return running;
+ }
+
+ /**
+ * Sets the running value for this Result.
+ *
+ * @param running
+ */
+ public void setRunning(boolean running)
+ {
+ this.running = running;
+ }
+
+ /**
+ * Gets the serverError value for this Result.
+ *
+ * @return serverError
+ */
+ public boolean isServerError()
+ {
+ return serverError;
+ }
+
+ /**
+ * Sets the serverError value for this Result.
+ *
+ * @param serverError
+ */
+ public void setServerError(boolean serverError)
+ {
+ this.serverError = serverError;
+ }
+
+ /**
+ * Gets the state value for this Result.
+ *
+ * @return state
+ */
+ public int getState()
+ {
+ return state;
+ }
+
+ /**
+ * Sets the state value for this Result.
+ *
+ * @param state
+ */
+ public void setState(int state)
+ {
+ this.state = state;
+ }
+
+ /**
+ * Gets the status value for this Result.
+ *
+ * @return status
+ */
+ public java.lang.String getStatus()
+ {
+ return status;
+ }
+
+ /**
+ * Sets the status value for this Result.
+ *
+ * @param status
+ */
+ public void setStatus(java.lang.String status)
+ {
+ this.status = status;
+ }
+
+ /**
+ * Gets the suspended value for this Result.
+ *
+ * @return suspended
+ */
+ public boolean isSuspended()
+ {
+ return suspended;
+ }
+
+ /**
+ * Sets the suspended value for this Result.
+ *
+ * @param suspended
+ */
+ public void setSuspended(boolean suspended)
+ {
+ this.suspended = suspended;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+
+ public synchronized boolean equals(java.lang.Object obj)
+ {
+ if (!(obj instanceof Result))
+ return false;
+ Result other = (Result) obj;
+ if (obj == null)
+ return false;
+ if (this == obj)
+ return true;
+ if (__equalsCalc != null)
+ {
+ return (__equalsCalc == obj);