|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CompilerConfiguration.CompilerReuseStrategy>
org.codehaus.plexus.compiler.CompilerConfiguration.CompilerReuseStrategy
public static enum CompilerConfiguration.CompilerReuseStrategy
re use strategy of the compiler (implement for java only)
| Enum Constant Summary | |
|---|---|
AlwaysNew
re create a new compiler for each use |
|
ReuseCreated
re use already created compiler, create new one if non already exists Will mimic a kind of pool to prevent different threads use the same |
|
ReuseSame
always reuse the same default strategy |
|
| Method Summary | |
|---|---|
String |
getStrategy()
|
String |
toString()
|
static CompilerConfiguration.CompilerReuseStrategy |
valueOf(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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CompilerConfiguration.CompilerReuseStrategy ReuseSame
public static final CompilerConfiguration.CompilerReuseStrategy AlwaysNew
public static final CompilerConfiguration.CompilerReuseStrategy ReuseCreated
| Method Detail |
|---|
public static final CompilerConfiguration.CompilerReuseStrategy[] values()
for(CompilerConfiguration.CompilerReuseStrategy c : CompilerConfiguration.CompilerReuseStrategy.values())
System.out.println(c);
public static CompilerConfiguration.CompilerReuseStrategy valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic String getStrategy()
public String toString()
toString in class Enum<CompilerConfiguration.CompilerReuseStrategy>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||