Package org.eolang.maven.tojos
Enum ForeignTojos.Attribute
- java.lang.Object
-
- java.lang.Enum<ForeignTojos.Attribute>
-
- org.eolang.maven.tojos.ForeignTojos.Attribute
-
- All Implemented Interfaces:
Serializable
,Comparable<ForeignTojos.Attribute>
- Enclosing class:
- ForeignTojos
public static enum ForeignTojos.Attribute extends Enum<ForeignTojos.Attribute>
Foreign tojo attributes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISCOVERED
Discovered.DISCOVERED_AT
Where this object was discovered.EO
Tojo eo file.HASH
Hash.ID
Tojo id.JAR
Absolute location of JAR file.OPTIMIZED
Path to the optimized xmir file.PROBED
Probed.SCOPE
Scope.SODG
Absolute location of SODG file.TRANSPILED
Transpiled.VERSION
Version of eo.XMIR
Tojo xmir file.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
key()
Get the attribute name.static ForeignTojos.Attribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static ForeignTojos.Attribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ID
public static final ForeignTojos.Attribute ID
Tojo id.
-
EO
public static final ForeignTojos.Attribute EO
Tojo eo file.
-
VERSION
public static final ForeignTojos.Attribute VERSION
Version of eo.
-
XMIR
public static final ForeignTojos.Attribute XMIR
Tojo xmir file.
-
OPTIMIZED
public static final ForeignTojos.Attribute OPTIMIZED
Path to the optimized xmir file.
-
SODG
public static final ForeignTojos.Attribute SODG
Absolute location of SODG file.
-
JAR
public static final ForeignTojos.Attribute JAR
Absolute location of JAR file.
-
DISCOVERED
public static final ForeignTojos.Attribute DISCOVERED
Discovered.
-
DISCOVERED_AT
public static final ForeignTojos.Attribute DISCOVERED_AT
Where this object was discovered.
-
PROBED
public static final ForeignTojos.Attribute PROBED
Probed.
-
SCOPE
public static final ForeignTojos.Attribute SCOPE
Scope.
-
TRANSPILED
public static final ForeignTojos.Attribute TRANSPILED
Transpiled.
-
HASH
public static final ForeignTojos.Attribute HASH
Hash.
-
-
Method Detail
-
values
public static ForeignTojos.Attribute[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ForeignTojos.Attribute c : ForeignTojos.Attribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ForeignTojos.Attribute valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
key
public String key()
Get the attribute name.- Returns:
- The attribute name.
-
-