Package org.gnome.glib
Enum Class TestFileType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<TestFileType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum TestFileType
extends Enum<TestFileType>
implements Enumeration
The type of file to return the filename for, when used with
g_test_build_filename().
These two options correspond rather directly to the 'dist' and
'built' terminology that automake uses and are explicitly used to
distinguish between the 'srcdir' and 'builddir' being separate. All
files in your project should either be dist (in the
EXTRA_DIST
or dist_schema_DATA
sense, in which case they will always be in the srcdir) or built (in
the BUILT_SOURCES
sense, in which case they will
always be in the builddir).
Note: as a general rule of automake, files that are generated only as part of the build-from-git process (but then are distributed with the tarball) always go in srcdir (even if doing a srcdir != builddir build from git) and are considered as distributed files.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic TestFileType
of
(int value) Create a new TestFileType for the provided valuestatic TestFileType
Returns the enum constant of this class with the specified name.static TestFileType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIST
a file that was included in the distribution tarball -
BUILT
a file that was built on the compiling machine
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new TestFileType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-