Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## org.gradle
Enum CacheUsage

    java.lang.Object
      org.gradle.CacheUsage

    enum CacheUsage

`CacheUsage` specifies how compiled scripts should be cached.

author:
  Hans Dockter

Enum Constant Summary
`OFF`
`ON`
`REBUILD`

Method Summary
`static CacheUsage` | `fromString(java.lang.String usagestr)` {
`CacheUsage` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`CacheUsage[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Enum Constant Detail

### OFF

    CacheUsage OFF

### ON

    CacheUsage ON

### REBUILD

    CacheUsage REBUILD

Method Detail

### fromString

    public static CacheUsage fromString(java.lang.String usagestr)

  `CacheUsage` specifies how compiled scripts should be cached.

  author:
    Hans Dockter

### valueOf

    CacheUsage valueOf(java.lang.String name)

  Returns the enum constant of this type with the specified name.

### values

    CacheUsage[] values()

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

Groovy Documentation