Support prebuild and postbuild for UserExtension for Platform build. If UserExtension...
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / tools / PackageItem.java
CommitLineData
6ec40aef 1/** @file\r
2\r
3Copyright (c) 2006, Intel Corporation\r
4All rights reserved. This program and the accompanying materials\r
5are licensed and made available under the terms and conditions of the BSD License\r
6which accompanies this distribution. The full text of the license may be found at\r
7http://opensource.org/licenses/bsd-license.php\r
8\r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12**/\r
13package org.tianocore.build.tools;\r
14\r
15import org.apache.tools.ant.BuildException;\r
6ec40aef 16\r
17public class PackageItem {\r
18\r
19 private String packageName;\r
20 \r
21 private String packageGuid;\r
22 \r
23 private String packageVersion;\r
24 \r
25 public PackageItem(){\r
26 \r
27 }\r
28 \r
29 public void execute() throws BuildException {\r
30 \r
31 }\r
32 \r
33 public String toString(){\r
34 return "[" + packageName + packageGuid + "]";\r
35 }\r
36 public String getPackageGuid() {\r
37 return packageGuid;\r
38 }\r
39\r
40 public void setPackageGuid(String packageGuid) {\r
41 this.packageGuid = packageGuid;\r
42 }\r
43\r
44 public String getPackageName() {\r
45 return packageName;\r
46 }\r
47\r
48 public void setPackageName(String packageName) {\r
49 this.packageName = packageName;\r
50 }\r
51\r
52 public String getPackageVersion() {\r
53 return packageVersion;\r
54 }\r
55\r
56 public void setPackageVersion(String packageVersion) {\r
57 this.packageVersion = packageVersion;\r
58 }\r
59}\r