Subversion Repositories DevTools

Rev

Rev 6914 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6914 dpurdie 1
package com.erggroup.buildtool.abt;
2
 
3
public class BuildInfo
4
{
5
    private String mMachType;
6
    private String mMethod;
7
    private String mArg;
8
 
9
    public BuildInfo()
10
    {
11
    }
12
 
13
    /**
14
     * 
15
     * @param machtype  The machtype for this particular platform entry
16
     */
17
    public void setMachtype(String machtype)
18
    {
19
        mMachType = machtype;
20
    }
21
    public String getMachtype()
22
    {
23
        return mMachType; 
24
    }
25
 
26
    /**
27
     * 
28
     * @param method    The build method. Will be one of 'jats', 'ant' or 'none'
29
     */
30
    public void setMethod(String method)
31
    {
32
        mMethod = method;
33
    }
34
    public String getMethod()
35
    {
36
        if ( mMethod == null)
37
            return "Unspecified";
38
 
39
        return mMethod; 
40
    }
41
 
42
    /**
43
     * 
44
     * @param arg   An argument interpreted in the context of the 'method'
45
     */
46
    public void setArg(String arg)
47
    {
48
        mArg = arg;
49
    }
50
    public String getArg()
51
    {
52
        if ( mArg == null)
53
            return "";
54
 
55
        return mArg; 
56
    }
57
}