public enum LogURLParameterType extends Enum<LogURLParameterType>
LogURLParameterType
defines the type of data contained in a LogURLParameter
.LogURLParameter
Enum Constant and Description |
---|
BOOLEAN
Denotes any Boolean parameter
|
ENUM
Denotes an enumeration of possible values
|
FILEPATH
Denotes a file path, which can be any value of
String |
HOST
Denotes a host name, which can be any value of
String Since LogMX v4.0.1, if an IPv6 address is detected (character ":" used in host), this host is protected with surrounding "[" and "]" for String conversion, to avoid conflict with patterns like "host:port" (RFC 5952) |
INTEGER
Denotes any Integer parameter, which can be any value of
Integer |
LOCAL_DIRECTORY
Denotes a local directory path
|
LOGIN
Denotes a user login, which can be any value of
String |
PASSWORD
Denotes a user password, which can be any value of
String . |
STRING
Denotes any String parameter
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the name of this Type
|
static LogURLParameterType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogURLParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogURLParameterType STRING
public static final LogURLParameterType INTEGER
Integer
public static final LogURLParameterType BOOLEAN
public static final LogURLParameterType HOST
String
public static final LogURLParameterType LOGIN
String
public static final LogURLParameterType PASSWORD
String
.
Use this parameter type if you don't want to use LogMX password repository. The user will
then have to re-type their password each time the Manager wants to access a resource.LogFileManager.getOrAskUserPassword(String, String)
public static final LogURLParameterType FILEPATH
String
public static final LogURLParameterType LOCAL_DIRECTORY
public static final LogURLParameterType ENUM
public static LogURLParameterType[] values()
for (LogURLParameterType c : LogURLParameterType.values()) System.out.println(c);
public static LogURLParameterType 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 toString()
toString
in class Enum<LogURLParameterType>
Enum.toString()
Copyright © 2025 LightySoft. All rights reserved. [LogMX v8.4.0 (Jan 3, 2025)]