Subversion Repositories DevTools

Rev

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

package com.erggroup.buildtool.abt;

public class BuildInfo
{
    private String mMachType;
    private String mMethod;
    private String mArg;
    
    public BuildInfo()
    {
    }
    
    /**
     * 
     * @param machtype  The machtype for this particular platform entry
     */
    public void setMachtype(String machtype)
    {
        mMachType = machtype;
    }
    public String getMachtype()
    {
        return mMachType; 
    }
    
    /**
     * 
     * @param method    The build method. Will be one of 'jats', 'ant' or 'none'
     */
    public void setMethod(String method)
    {
        mMethod = method;
    }
    public String getMethod()
    {
        if ( mMethod == null)
            return "Unspecified";
        
        return mMethod; 
    }
    
    /**
     * 
     * @param arg   An argument interpreted in the context of the 'method'
     */
    public void setArg(String arg)
    {
        mArg = arg;
    }
    public String getArg()
    {
        if ( mArg == null)
            return "";
        
        return mArg; 
    }
}