public enum CopyArtifactCompatibilityMode extends Enum<CopyArtifactCompatibilityMode>
Enum Constant and Description |
---|
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 in
PRODUCTION , 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. |
PRODUCTION
The production-ready mode for the permission check on the projects we want to copy the artifacts from.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getName() |
static CopyArtifactCompatibilityMode |
valueOf(String name)
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.
|
public static final CopyArtifactCompatibilityMode PRODUCTION
MIGRATION
mode, this mode could be activated to ensure better security.public static final CopyArtifactCompatibilityMode MIGRATION
PRODUCTION
, 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.MigrationModeDisabledMonitor
public static CopyArtifactCompatibilityMode[] values()
for (CopyArtifactCompatibilityMode c : CopyArtifactCompatibilityMode.values()) System.out.println(c);
public static CopyArtifactCompatibilityMode 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 String getDescription()
public String getName()
Copyright © 2016–2022. All rights reserved.