]> git.proxmox.com Git - mirror_edk2.git/blame - Tools/Java/Source/GenBuild/org/tianocore/build/toolchain/ToolChainAttribute.java
1. Update to just keep several line JAVA related msg; 2. Remove file PropertyManager...
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / toolchain / ToolChainAttribute.java
CommitLineData
5f42a4ba 1/** @file\r
d2059d05 2ToolChainAttribute class\r
3\r
4This file is to define enumeration value for tool chain attribute names.\r
5f42a4ba 5\r
6Copyright (c) 2006, Intel Corporation\r
7All rights reserved. This program and the accompanying materials\r
8are licensed and made available under the terms and conditions of the BSD License\r
9which accompanies this distribution. The full text of the license may be found at\r
10http://opensource.org/licenses/bsd-license.php\r
11\r
12THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14**/\r
15\r
a29c47e0 16package org.tianocore.build.toolchain;\r
5f42a4ba 17\r
a29c47e0 18/**\r
5f42a4ba 19\r
20 ToolChainAttribute is used to define the enumeration value for the attributes\r
21 used in tool chain definition file. \r
22\r
23 **/\r
a29c47e0 24public class ToolChainAttribute {\r
25 private static int nextValue = 0;\r
26\r
d2059d05 27 ///\r
28 /// "NAME", "PATH", "DPATH", "SPATH", "EXT", "FAMILY", "FLAGS"\r
29 /// \r
a29c47e0 30 public final static ToolChainAttribute NAME = new ToolChainAttribute("NAME");\r
31 public final static ToolChainAttribute PATH = new ToolChainAttribute("PATH");\r
32 public final static ToolChainAttribute DPATH = new ToolChainAttribute("DPATH");\r
33 public final static ToolChainAttribute SPATH = new ToolChainAttribute("SPATH");\r
34 public final static ToolChainAttribute EXT = new ToolChainAttribute("EXT");\r
35 public final static ToolChainAttribute FAMILY = new ToolChainAttribute("FAMILY");\r
36 public final static ToolChainAttribute FLAGS = new ToolChainAttribute("FLAGS");\r
37\r
38 private final String name;\r
39 public final int value = nextValue++;\r
40\r
41 /**\r
42 * Default constructor\r
43 */\r
44 private ToolChainAttribute(String name) {\r
45 this.name = name;\r
46 }\r
47\r
48 public String toString() {\r
49 return name;\r
50 }\r
51}\r
52\r