public enum FileTransfers extends Enum<FileTransfers>
Files are added here when ChatApiCommands.send(File)
is called or on agent attachment request. Used by LivechatChatLogPath
to inject File
in the relevant chat log containing the file name.
This enables observers of ChatLogObserver
to receive actual file rather then just file name from chat log event.
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
File |
findFile(String uniqueName)
Finds file based on file name provided.
|
static FileTransfers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileTransfers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileTransfers INSTANCE
public static FileTransfers[] values()
for (FileTransfers c : FileTransfers.values()) System.out.println(c);
public static FileTransfers 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