Subversion Repositories DevTools

Rev

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

package com.erggroup.buildtool.ripple;

/**     This class is used to contain a generated build file together 
 * with some meta data about the build file
 */
public class BuildFile {
        
        /**
         * Indicate the state of the buildfile
         */
        
    public enum BuildFileState {
        Empty,                                          // No content. Used to indicate end of a vector of BuildFiles
        Dummy,                                          // No active build
        Generic,                                        // Generic build - done on any machine
        NonGeneric;                                     // Non Generic build - done on all
    }
    
    /** Describes the build file content
     */
    public BuildFileState state = BuildFileState.Empty;
        
        /**     The body of the build file
         */
        public String   content;
        
        /** Daemon Mode only 
         *  pkg_id of the package being built
         */
        public int mPkgId = 0;
        
        /** Daemon Mode Only
         * pv_id of the package being built
         */
        public int mPvId = 0;
        
}