Package hudson.plugins.copyartifact
Enum CopyArtifactCompatibilityMode
java.lang.Object
java.lang.Enum<CopyArtifactCompatibilityMode>
hudson.plugins.copyartifact.CopyArtifactCompatibilityMode
- All Implemented Interfaces:
Serializable
,Comparable<CopyArtifactCompatibilityMode>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLegacy behavior where the project we want to copy the artifact from is checked either at configure time or at runtime depending on who is configuring the project and if it's static or dynamic (using parameter) When a copy is done but the permission should not have been correct inPRODUCTION
, an item is added to the monitor list to help the administrator to improve the current situation and allow them to use the better mode in short/mid term.The production-ready mode for the permission check on the projects we want to copy the artifacts from. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the enum constant of this type with the specified name.static CopyArtifactCompatibilityMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRODUCTION
The production-ready mode for the permission check on the projects we want to copy the artifacts from. Once all the jobs are migrated using theMIGRATION
mode, this mode could be activated to ensure better security. -
MIGRATION
Legacy behavior where the project we want to copy the artifact from is checked either at configure time or at runtime depending on who is configuring the project and if it's static or dynamic (using parameter) When a copy is done but the permission should not have been correct inPRODUCTION
, an item is added to the monitor list to help the administrator to improve the current situation and allow them to use the better mode in short/mid term. This mode is NOT meant to be used in long term as it contains security defect.- See Also:
-
-
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
-
getDescription
-
getName
-