]> git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/GenBuild/org/tianocore/build/toolchain/ToolChainAttribute.java
7fa0bb3f7c3d4c11994caf2b4f1e42ee906dcbca
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / toolchain / ToolChainAttribute.java
1 package org.tianocore.build.toolchain;
2 /**
3 * TODO: Add class description
4 *
5 * @author jwang36
6 */
7 public class ToolChainAttribute {
8 private static int nextValue = 0;
9
10 //"NAME", "PATH", "DPATH", "SPATH", "EXT", "FAMILY", "FLAGS"
11 public final static ToolChainAttribute NAME = new ToolChainAttribute("NAME");
12 public final static ToolChainAttribute PATH = new ToolChainAttribute("PATH");
13 public final static ToolChainAttribute DPATH = new ToolChainAttribute("DPATH");
14 public final static ToolChainAttribute SPATH = new ToolChainAttribute("SPATH");
15 public final static ToolChainAttribute EXT = new ToolChainAttribute("EXT");
16 public final static ToolChainAttribute FAMILY = new ToolChainAttribute("FAMILY");
17 public final static ToolChainAttribute FLAGS = new ToolChainAttribute("FLAGS");
18
19 private final String name;
20 public final int value = nextValue++;
21
22 /**
23 * Default constructor
24 */
25 private ToolChainAttribute(String name) {
26 this.name = name;
27 }
28
29 public String toString() {
30 return name;
31 }
32 }
33
34
35
36
37