public enum RelationType extends java.lang.Enum<RelationType>
Enum Constant and Description |
---|
OVERRIDDEN_ROOT
Change comes from overridden VCS root
|
REGULAR
A regular change detected in build configuration
|
SETTINGS_AFFECT_BUILDS
VCS root is used to store project' settings.
|
SETTINGS_DO_NOT_AFFECT_BUILDS
VCS root is used to store project settings, project settings are applied to the build configuration but did not affect build settings there.
|
SETTINGS_NOT_APPLIED
VCS root is used to store project settings, but project settings associated with a change are not applied to the build configuration yet and it is not clear whether they affect it or not.
|
SUBREPO
Change from subrepo found in VCS root attached to build configuration
|
Modifier and Type | Field and Description |
---|---|
static java.util.Set<RelationType> |
ALL_EXCEPT_SETTINGS
Contains all relation types except for project settings relations
|
static java.util.Set<RelationType> |
ALL_RELATIONS
Contains all relation types
|
static java.util.Set<RelationType> |
ALL_SETTINGS |
static java.util.Set<RelationType> |
ALL_WITH_SETTINGS_AFFECTING_BUILDS |
Modifier and Type | Method and Description |
---|---|
static RelationType |
create(java.lang.Integer id) |
java.lang.Integer |
id() |
static RelationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType REGULAR
public static final RelationType OVERRIDDEN_ROOT
public static final RelationType SUBREPO
public static final RelationType SETTINGS_AFFECT_BUILDS
REGULAR
should be used.
If VCS root is not attached to build type then this relation should be used when we're sure the commit affected build configuration settings.public static final RelationType SETTINGS_NOT_APPLIED
public static final RelationType SETTINGS_DO_NOT_AFFECT_BUILDS
public static final java.util.Set<RelationType> ALL_RELATIONS
public static final java.util.Set<RelationType> ALL_EXCEPT_SETTINGS
public static final java.util.Set<RelationType> ALL_WITH_SETTINGS_AFFECTING_BUILDS
public static final java.util.Set<RelationType> ALL_SETTINGS
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType 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 null@NotNull public static RelationType create(@Nullable java.lang.Integer id)
@Nullable public java.lang.Integer id()