Package com.artipie.rpm
Enum Class RpmOptions
- All Implemented Interfaces:
Serializable
,Comparable<RpmOptions>
,Constable
Rpm repository configuration options. These options are used in rpm-adapter CLI mode and
on Artipie storage configuration level.
- Since:
- 0.10
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDigest option.FileLists option.Naming policy option.Update option allows to set schedule to update repository in cron format. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.commons.cli.Option
option()
Builds command line option.final String
Option name.static RpmOptions
Returns the enum constant of this class with the specified name.static RpmOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIGEST
Digest option. -
NAMING_POLICY
Naming policy option. -
FILELISTS
FileLists option. -
UPDATE
Update option allows to set schedule to update repository in cron format.
-
-
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
-
optionName
Option name.- Returns:
- String name
-
option
public final org.apache.commons.cli.Option option()Builds command line option.- Returns:
- Instance of
Option
.
-