public static enum StubRunnerProperties.StubsMode extends Enum<StubRunnerProperties.StubsMode>
Enum Constant and Description |
---|
CLASSPATH
Pick the stubs from classpath.
|
LOCAL
Fetch the stubs from local .m2.
|
REMOTE
Fetch the stubs from a remote location.
|
Modifier and Type | Method and Description |
---|---|
static StubRunnerProperties.StubsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StubRunnerProperties.StubsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StubRunnerProperties.StubsMode CLASSPATH
public static final StubRunnerProperties.StubsMode LOCAL
public static final StubRunnerProperties.StubsMode REMOTE
public static StubRunnerProperties.StubsMode[] values()
for (StubRunnerProperties.StubsMode c : StubRunnerProperties.StubsMode.values()) System.out.println(c);
public static StubRunnerProperties.StubsMode 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 nullCopyright © 2016–2022 Spring. All rights reserved.