public static enum DatabaseCredentials.Role extends Enum<DatabaseCredentials.Role> implements BmcEnum
The role of the database user. Indicates whether the database user is a normal user or sysdba.
Modifier and Type | Method and Description |
---|---|
static DatabaseCredentials.Role |
create(String key) |
String |
getValue() |
static DatabaseCredentials.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseCredentials.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseCredentials.Role Normal
public static final DatabaseCredentials.Role Sysdba
public static DatabaseCredentials.Role[] values()
for (DatabaseCredentials.Role c : DatabaseCredentials.Role.values()) System.out.println(c);
public static DatabaseCredentials.Role 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 static DatabaseCredentials.Role create(String key)
Copyright © 2016–2024. All rights reserved.