# ConfigurationCacheOutcome

@Incubating
@NullMarked
enum ConfigurationCacheOutcome(source)

The outcome of configuration caching for a build, exposed via getConfigurationCacheOutcome.

#### Since

9.8.0

#### See also

BuildResult

## Entries

NOT_ENABLED
Link copied to clipboard
@Incubating
@NullMarked
NOT_ENABLED

The configuration cache was not enabled for the build.

STORED
Link copied to clipboard
@Incubating
@NullMarked
STORED

No reusable configuration cache entry was found and a new entry was stored.

REUSED
Link copied to clipboard
@Incubating
@NullMarked
REUSED

A configuration cache entry was found and fully reused.

UPDATED
Link copied to clipboard
@Incubating
@NullMarked
UPDATED

A configuration cache entry was found and partially reused; the invalidated projects were re-configured and the entry was updated.

DISCARDED
Link copied to clipboard
@Incubating
@NullMarked
DISCARDED

A configuration cache entry was written but discarded at the end of the build, e.g. because of problems, a serialization error or incompatible tasks.

NOT_STORED
Link copied to clipboard
@Incubating
@NullMarked
NOT_STORED

No configuration cache entry was stored on purpose: no reusable entry was found while the cache is in read-only mode, or configuration caching was degraded gracefully because incompatible tasks were scheduled.

UNDETERMINED
Link copied to clipboard
@Incubating
@NullMarked
UNDETERMINED

The configuration cache was enabled, but the outcome could not be determined, e.g. because the build failed early.

## Functions

valueOf
Link copied to clipboard
open fun valueOf(name: String): ConfigurationCacheOutcome

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

values
Link copied to clipboard
open fun values(): Array<ConfigurationCacheOutcome>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.