@PublicEvolving public enum FileProcessingMode extends Enum<FileProcessingMode>
ContinuousFileMonitoringFunction
operates. This can be either
PROCESS_ONCE
or PROCESS_CONTINUOUSLY
.Enum Constant and Description |
---|
PROCESS_CONTINUOUSLY
Periodically scans the path for new data.
|
PROCESS_ONCE
Processes the current contents of the path and exits.
|
Modifier and Type | Method and Description |
---|---|
static FileProcessingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileProcessingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileProcessingMode PROCESS_ONCE
public static final FileProcessingMode PROCESS_CONTINUOUSLY
public static FileProcessingMode[] values()
for (FileProcessingMode c : FileProcessingMode.values()) System.out.println(c);
public static FileProcessingMode 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 © 2014–2024 The Apache Software Foundation. All rights reserved.