public enum ScheduleMode extends Enum<ScheduleMode>
Enum Constant and Description |
---|
EAGER
Schedules all tasks immediately.
|
LAZY_FROM_SOURCES
Schedule tasks lazily from the sources.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowLazyDeployment()
Returns whether we are allowed to deploy consumers lazily.
|
static ScheduleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleMode LAZY_FROM_SOURCES
public static final ScheduleMode EAGER
public static ScheduleMode[] values()
for (ScheduleMode c : ScheduleMode.values()) System.out.println(c);
public static ScheduleMode 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 nullpublic boolean allowLazyDeployment()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.