public enum Discovery extends Enum<Discovery>
| Enum Constant and Description |
|---|
ALL
Attempts discovery of plugins even if they are explicitly registered.
|
EMPTY
Only discovers plugins if no plugin was explicitly registered.
|
NONE
Does never discover plugins.
|
UNIQUE
Attempts discovery of plugins but does not discover plugins that are explicitly registered.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
isDiscover(List<ByteBuddyMojo.Transformer> transformers)
Determines if plugins should be discovered from the class path.
|
protected boolean |
isRecordConfiguration()
Returns
true if explicit configurations should be recorded. |
static Discovery |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Discovery[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Discovery ALL
public static final Discovery UNIQUE
public static final Discovery EMPTY
public static final Discovery NONE
public static Discovery[] values()
for (Discovery c : Discovery.values()) System.out.println(c);
public static Discovery 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 nullprotected boolean isRecordConfiguration()
true if explicit configurations should be recorded.true if explicit configurations should be recorded.protected abstract boolean isDiscover(List<ByteBuddyMojo.Transformer> transformers)
transformers - The configured transformers.true if plugins should be discovered from the class path.Copyright © 2014–2021. All rights reserved.