public enum SourceScope extends Enum<SourceScope>
| Enum Constant and Description |
|---|
FILE |
MODULE |
PROJECT |
RESOURCE |
SOURCE |
TEST_RESOURCE |
TEST_SOURCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFile() |
boolean |
isProject() |
boolean |
isSource() |
boolean |
isTest() |
static SourceScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceScope PROJECT
public static final SourceScope MODULE
public static final SourceScope SOURCE
public static final SourceScope TEST_SOURCE
public static final SourceScope RESOURCE
public static final SourceScope TEST_RESOURCE
public static final SourceScope FILE
public static SourceScope[] values()
for (SourceScope c : SourceScope.values()) System.out.println(c);
public static SourceScope valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isFile()
public boolean isProject()
public boolean isSource()
public boolean isTest()
Copyright © 2022 Unidal Organization. All rights reserved.