ValueSource

Enum representing the source of a value for an Argos-managed property.

This allows users to determine whether a value came from user input, default specification, environment variable, or is missing.

Entries

Link copied to clipboard

Value was provided by the user via command line arguments. This is the highest priority source.

Link copied to clipboard

Value was set from a default value specified via .default(). This is used when no user input or environment variable is provided.

Link copied to clipboard

Value was read from an environment variable specified via .fromEnv(). This is used when no user input is provided but an environment variable exists.

Link copied to clipboard

No value was provided from any source. This is used for nullable options that have no user input, environment variable, or default.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.