Enum TestFolderBuilder.ScanMode
- java.lang.Object
-
- java.lang.Enum<TestFolderBuilder.ScanMode>
-
- de.tracetronic.jenkins.plugins.ecutest.test.TestFolderBuilder.ScanMode
-
- All Implemented Interfaces:
Serializable
,Comparable<TestFolderBuilder.ScanMode>
- Enclosing class:
- TestFolderBuilder
public static enum TestFolderBuilder.ScanMode extends Enum<TestFolderBuilder.ScanMode>
Defines the modes to scan the test folder.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PACKAGES_AND_PROJECTS
Scan both packages and projects.PACKAGES_ONLY
Scan packages only.PROJECTS_ONLY
Scan projects only.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TestFolderBuilder.ScanMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestFolderBuilder.ScanMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PACKAGES_ONLY
public static final TestFolderBuilder.ScanMode PACKAGES_ONLY
Scan packages only.
-
PROJECTS_ONLY
public static final TestFolderBuilder.ScanMode PROJECTS_ONLY
Scan projects only.
-
PACKAGES_AND_PROJECTS
public static final TestFolderBuilder.ScanMode PACKAGES_AND_PROJECTS
Scan both packages and projects.
-
-
Method Detail
-
values
public static TestFolderBuilder.ScanMode[] 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 (TestFolderBuilder.ScanMode c : TestFolderBuilder.ScanMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestFolderBuilder.ScanMode 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
-
-