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
      java.lang.Enum
          org.gradle.CacheUsage

    enum CacheUsage
    extends java.lang.Enum

`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.
`org.gradle.CacheUsage[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
hashCode, compareTo, compareTo, equals, toString, name, valueOf, getDeclaringClass, ordinal, getClass, wait, wait, wait, notify, notifyAll

Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, 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

    org.gradle.CacheUsage[] values()

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

Groovy Documentation