]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/Identification/SourceFiles/SourceFilesIdentification.java
Added "/FI", "-include" and/or "/nologo" options to PP (CC) command option to fpd...
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / Identification / SourceFiles / SourceFilesIdentification.java
CommitLineData
a13899c5 1/** @file\r
2\r
3 The file is used to define Source Files Identification\r
4\r
5 Copyright (c) 2006, Intel Corporation\r
6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14 **/\r
15package org.tianocore.frameworkwizard.module.Identification.SourceFiles;\r
16\r
17import java.util.Vector;\r
18\r
19public class SourceFilesIdentification {\r
20\r
21 private String filename = null;\r
22\r
23 private String tagName = null;\r
24 \r
25 private String toolCode = null;\r
26 \r
27 private String toolChainFamily = null;\r
28 \r
29 private Vector<String> supArchList = null;\r
30\r
31 private String featureFlag = null;\r
32\r
33 public SourceFilesIdentification(String strFilename, String strTagName, String strToolCode, String strToolChainFamily,\r
34 String strFeatureFlag, Vector<String> arch) {\r
35 this.filename = (strFilename == null ? "" : strFilename);\r
36 this.tagName = (strTagName == null ? "" : strTagName);\r
37 this.toolCode = (strToolCode == null ? "" : strToolCode);\r
38 this.toolChainFamily = (strToolChainFamily == null ? "" : strToolChainFamily);\r
39 this.featureFlag = (strFeatureFlag == null ? "" : strFeatureFlag);\r
40 this.supArchList = arch;\r
41 }\r
42\r
43 public String getFeatureFlag() {\r
44 return featureFlag;\r
45 }\r
46\r
47 public void setFeatureFlag(String featureFlag) {\r
48 this.featureFlag = featureFlag;\r
49 }\r
50\r
51 public String getFilename() {\r
52 return filename;\r
53 }\r
54\r
55 public void setFilename(String filename) {\r
56 this.filename = filename;\r
57 }\r
58\r
59 public Vector<String> getSupArchList() {\r
60 return supArchList;\r
61 }\r
62\r
63 public void setSupArchList(Vector<String> supArchList) {\r
64 this.supArchList = supArchList;\r
65 }\r
66\r
67 public String getTagName() {\r
68 return tagName;\r
69 }\r
70\r
71 public void setTagName(String tagName) {\r
72 this.tagName = tagName;\r
73 }\r
74\r
75 public String getToolChainFamily() {\r
76 return toolChainFamily;\r
77 }\r
78\r
79 public void setToolChainFamily(String toolChainFamily) {\r
80 this.toolChainFamily = toolChainFamily;\r
81 }\r
82\r
83 public String getToolCode() {\r
84 return toolCode;\r
85 }\r
86\r
87 public void setToolCode(String toolCode) {\r
88 this.toolCode = toolCode;\r
89 }\r
90 \r
91 public boolean equals(SourceFilesIdentification sfid) {\r
92 if (this.filename.equals(sfid.filename)) {\r
93 return true;\r
94 }\r
95 return false;\r
96 }\r
97}\r