public enum ExternalSystemSourceType extends java.lang.Enum<ExternalSystemSourceType> implements IExternalSystemSourceType
Enum Constant and Description |
---|
EXCLUDED |
RESOURCE |
RESOURCE_GENERATED |
SOURCE |
SOURCE_GENERATED |
TEST |
TEST_GENERATED |
TEST_RESOURCE |
TEST_RESOURCE_GENERATED |
Modifier and Type | Method and Description |
---|---|
static ExternalSystemSourceType |
from(boolean isTest,
boolean isGenerated,
boolean isResource,
boolean isExcluded) |
static ExternalSystemSourceType |
from(IExternalSystemSourceType sourceType) |
boolean |
isExcluded() |
boolean |
isGenerated() |
boolean |
isResource() |
boolean |
isTest() |
static ExternalSystemSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExternalSystemSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalSystemSourceType SOURCE
public static final ExternalSystemSourceType TEST
public static final ExternalSystemSourceType EXCLUDED
public static final ExternalSystemSourceType SOURCE_GENERATED
public static final ExternalSystemSourceType TEST_GENERATED
public static final ExternalSystemSourceType RESOURCE
public static final ExternalSystemSourceType TEST_RESOURCE
public static final ExternalSystemSourceType RESOURCE_GENERATED
public static final ExternalSystemSourceType TEST_RESOURCE_GENERATED
public static ExternalSystemSourceType[] values()
for (ExternalSystemSourceType c : ExternalSystemSourceType.values()) System.out.println(c);
public static ExternalSystemSourceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isTest()
isTest
in interface IExternalSystemSourceType
public boolean isGenerated()
isGenerated
in interface IExternalSystemSourceType
public boolean isResource()
isResource
in interface IExternalSystemSourceType
public boolean isExcluded()
isExcluded
in interface IExternalSystemSourceType
public static ExternalSystemSourceType from(IExternalSystemSourceType sourceType)
public static ExternalSystemSourceType from(boolean isTest, boolean isGenerated, boolean isResource, boolean isExcluded)