public enum WatchFolderStatus extends Enum<WatchFolderStatus>
Enum Constant and Description |
---|
ERROR
The watch folder is inactive due to an error
|
STARTED
The watch folder is currently active and monitors the storage for new files to be encoded
|
STOPPED
The watch folder is currently inactive
|
Modifier and Type | Method and Description |
---|---|
static WatchFolderStatus |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static WatchFolderStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WatchFolderStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WatchFolderStatus STOPPED
public static final WatchFolderStatus STARTED
public static final WatchFolderStatus ERROR
public static WatchFolderStatus[] values()
for (WatchFolderStatus c : WatchFolderStatus.values()) System.out.println(c);
public static WatchFolderStatus 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 String getValue()
public String toString()
toString
in class Enum<WatchFolderStatus>
public static WatchFolderStatus fromValue(String text)
Copyright © 2022. All rights reserved.