Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7023 dpurdie 1
package com.erggroup.buildtool.ripple;
2
 
3
/**
4
 * Class to conatin information on Daemon Instructions as we iterarte over them
5
 * 
6
 */
7
    public class DaemonInstruction {
8
        // fixed for the duration of the scan
9
        final int rtag_id;
10
        final int opCode;
11
        final boolean expired;
12
 
13
        // Modified for every found instruction
14
        int instruction = 0;
15
        int pvId = -1;
16
        int userId = -1;
17
        String userEmail = "";
18
 
19
        /**
20
         * Create a Daemon Instruction search/result item
21
         * @param rtagId
22
         * @param opCode
23
         * @param bExpired
24
         * 
25
         */
26
        public DaemonInstruction (final int rtagId, final int opCode, boolean bExpired)
27
        {
28
            this.rtag_id = rtagId;
29
            this.opCode = opCode;
30
            this.expired = bExpired;
31
            this.instruction = 0;
32
        }
33
    }
34
 
35
    //public static final DaemonInstruction NULL_INSTRUCTION = new DaemonInstruction(-1,-1,true);
36