java.io.Serializable
, java.lang.Comparable<CompilerConfiguration.CompilerReuseStrategy>
public static enum CompilerConfiguration.CompilerReuseStrategy extends java.lang.Enum<CompilerConfiguration.CompilerReuseStrategy>
Enum Constant | Description |
---|---|
AlwaysNew |
Re-create a new compiler for each use.
|
ReuseCreated |
Re-use already created compiler, create new one if non already exists.
|
ReuseSame |
Always reuse the same.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getStrategy() |
|
java.lang.String |
toString() |
|
static CompilerConfiguration.CompilerReuseStrategy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CompilerConfiguration.CompilerReuseStrategy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerConfiguration.CompilerReuseStrategy ReuseSame
public static final CompilerConfiguration.CompilerReuseStrategy AlwaysNew
public static final CompilerConfiguration.CompilerReuseStrategy ReuseCreated
public static CompilerConfiguration.CompilerReuseStrategy[] values()
for (CompilerConfiguration.CompilerReuseStrategy c : CompilerConfiguration.CompilerReuseStrategy.values()) System.out.println(c);
public static CompilerConfiguration.CompilerReuseStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStrategy()
public java.lang.String toString()
toString
in class java.lang.Enum<CompilerConfiguration.CompilerReuseStrategy>
Copyright © 2018. All rights reserved.