Package org.azd.enums
Enum Class PackagesBatchOperation
- All Implemented Interfaces:
Serializable
,Comparable<PackagesBatchOperation>
,Constable
Type of operation that needs to be performed on packages.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDelete package versions.Permanently delete package versions.Promote package versions to a release view.Restore unpublished package versions to the feed. -
Method Summary
Modifier and TypeMethodDescriptionstatic PackagesBatchOperation
Returns the enum constant of this class with the specified name.static PackagesBatchOperation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROMOTE
Promote package versions to a release view. If constructing a MavenPackagesBatchRequest object with this type. -
DELETE
Delete package versions. Not supported in the Recycle Bin. -
PERMANENTDELETE
Permanently delete package versions. Only supported in the Recycle Bin. -
RESTORETOFEED
Restore unpublished package versions to the feed. Only supported in the Recycle Bin.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-