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