public enum PGEnvironment extends java.lang.Enum<PGEnvironment>
Enum Constant and Description |
---|
ORG_POSTGRESQL_PGPASSFILE
Specified location of password file.
|
ORG_POSTGRESQL_PGSERVICEFILE
The connection service resource (file, url) allows connection parameters to be associated
with a single service name.
|
PGPASSFILE
Specified location of password file.
|
PGSERVICEFILE
The connection service resource (file, url) allows connection parameters to be associated
with a single service name.
|
PGSYSCONFDIR
sets the directory containing the PGSERVICEFILE file and possibly other system-wide
configuration files.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultValue()
Returns the default value for this parameter.
|
java.lang.String |
getDescription()
Returns the description for this parameter.
|
java.lang.String |
getName()
Returns the name of the parameter.
|
static PGEnvironment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PGEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PGEnvironment ORG_POSTGRESQL_PGPASSFILE
public static final PGEnvironment PGPASSFILE
public static final PGEnvironment ORG_POSTGRESQL_PGSERVICEFILE
public static final PGEnvironment PGSERVICEFILE
public static final PGEnvironment PGSYSCONFDIR
public static PGEnvironment[] values()
for (PGEnvironment c : PGEnvironment.values()) System.out.println(c);
public static PGEnvironment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String getDefaultValue()
public java.lang.String getDescription()
Copyright © 2024 PostgreSQL Global Development Group. All rights reserved.