public enum NativeLinkStrategy extends Enum<NativeLinkStrategy>
Enum Constant and Description |
---|
MERGED
Statically link all transitive native deps, which don't have an explicit dep from non-C/C++
code (e.g.
|
SEPARATE
Pull transitive native deps in as fully linked standalone shared libraries.
|
Modifier and Type | Method and Description |
---|---|
static NativeLinkStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NativeLinkStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeLinkStrategy SEPARATE
public static final NativeLinkStrategy MERGED
public static NativeLinkStrategy[] values()
for (NativeLinkStrategy c : NativeLinkStrategy.values()) System.out.println(c);
public static NativeLinkStrategy 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