public static enum CompilationInfo.CacheClearPolicy extends Enum<CompilationInfo.CacheClearPolicy>
CompilationInfo.putCachedValue(java.lang.Object, java.lang.Object, org.netbeans.api.java.source.CompilationInfo.CacheClearPolicy)
should be evicted from the cache.Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
ON_CHANGE
The cached value will be cleared on any change in the source document.
|
ON_SIGNATURE_CHANGE
The cached value will be cleared when a method/field/class is added, removed or its signature changes.
|
ON_TASK_END
The cached value will be cleared at the end of the current parsing.api's task.
|
Modifier and Type | Method and Description |
---|---|
static CompilationInfo.CacheClearPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompilationInfo.CacheClearPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilationInfo.CacheClearPolicy ON_TASK_END
public static final CompilationInfo.CacheClearPolicy ON_CHANGE
public static final CompilationInfo.CacheClearPolicy ON_SIGNATURE_CHANGE
public static CompilationInfo.CacheClearPolicy[] values()
public static CompilationInfo.CacheClearPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null