Package hudson.plugins.copyartifact
Enum TriggeredBuildSelector.UpstreamFilterStrategy
java.lang.Object
java.lang.Enum<TriggeredBuildSelector.UpstreamFilterStrategy>
hudson.plugins.copyartifact.TriggeredBuildSelector.UpstreamFilterStrategy
- All Implemented Interfaces:
Serializable
,Comparable<TriggeredBuildSelector.UpstreamFilterStrategy>
- Enclosing class:
- TriggeredBuildSelector
public static enum TriggeredBuildSelector.UpstreamFilterStrategy
extends Enum<TriggeredBuildSelector.UpstreamFilterStrategy>
Which build should be used if triggered by multiple upstream builds.
Specified in buildstep configurations and the global configuration.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse global configuration.Use the newest build.Use the oldest build. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UseGlobalSetting
Use global configuration. The default value for buildstep configurations. Should not be specified in the global configuration. -
UseOldest
Use the oldest build. The default value for the global configuration. -
UseNewest
Use the newest build.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getDisplayName
-
isForGlobalSetting
public boolean isForGlobalSetting()
-