Rev 4285 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.erggroup.buildtool.abt;import java.util.Vector;import org.apache.tools.ant.Task;public class ABTData extends Task{// static fields// public// protected// private// fields// public// protected// private// Systempublic static Vector<Machine> machineCollection = new Vector<Machine>();public static Vector<Owner> ownerCollection = new Vector<Owner>();/*** Init all data when the task is invoked**/public void init(){machineCollection.removeAllElements();ownerCollection.removeAllElements();}public void execute(){}//---------------------------------------------------------------------------// Extend the <ABTData> task with new elements//// <machine name="auperasbm07" machtype="solits10_x86" machclass="Solaris" buildfilter="" />// <owner email="buildadm@vixtechnology.com"/>//public Machine createMachine(){Machine machine = new Machine();machineCollection.add(machine);return machine;}public Owner createOwner(){Owner owner = new Owner();ownerCollection.add(owner);return owner;}}