Commit aff31122 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

added another scene state in the job statistics

parent 5606a6bc
......@@ -30,14 +30,15 @@ public class ProcessingJob {
// public static final int PROGRESS_ANALYSIS_FINISHED_WITH_WARNINGS = 1 << 17;
// public static final int PROGRESS_ANALYSIS_CANCELED = 1 << 18;
public static final int PROC_STAT_IDX_READY_TO_PROCESS = 0;
public static final int PROC_STAT_IDX_L1A = 1;
public static final int PROC_STAT_IDX_L1B = 2;
public static final int PROC_STAT_IDX_L1C = 3;
public static final int PROC_STAT_IDX_L2A = 4;
public static final int PROC_STAT_IDX_L2B = 5;
public static final int PROC_STAT_IDX_L2C = 6;
public static final int PROC_STAT_IDX_FAILED = 7;
public static final int PROC_STAT_IDX_PROC_PENDING = 0;
public static final int PROC_STAT_IDX_PROC_STARTED = 1;
public static final int PROC_STAT_IDX_L1A = 2;
public static final int PROC_STAT_IDX_L1B = 3;
public static final int PROC_STAT_IDX_L1C = 4;
public static final int PROC_STAT_IDX_L2A = 5;
public static final int PROC_STAT_IDX_L2B = 6;
public static final int PROC_STAT_IDX_L2C = 7;
public static final int PROC_STAT_IDX_FAILED = 8;
/**
* in case the corresponding job instance is <code>null</code> for some reason
......@@ -248,7 +249,7 @@ public class ProcessingJob {
procJob.seasonCode = seasonCode;
procJob.status = job_status.pending;
procJob.mode = job_mode.processing_only;
procJob.statistics = new int[] { sceneids.length, 0, 0, 0, 0, 0, 0, 0 };
procJob.statistics = new int[] { sceneids.length, 0, 0, 0, 0, 0, 0, 0, 0 };
// set refjob id, if we have a valid one
if (isValidID(id)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment