public static enum RepositoryOptions.Visibility extends Enum<RepositoryOptions.Visibility>
Enum Constant and Description |
---|
CERTPROTECTED
A CERTPROTECTED repository can only be accessed with a valid certificate.
|
PRIVATE
A private repository is visible only to the application which created the repository.
|
PROTECTED
A protected repository is secured with an authentication key, that is provided by the
application.
|
PUBLIC
A public repository is not protected and can be accessed from all applications that know the
unique name or id of the repository.
|
Modifier and Type | Method and Description |
---|---|
static RepositoryOptions.Visibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryOptions.Visibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryOptions.Visibility PRIVATE
public static final RepositoryOptions.Visibility PROTECTED
public static final RepositoryOptions.Visibility CERTPROTECTED
public static final RepositoryOptions.Visibility PUBLIC
public static RepositoryOptions.Visibility[] values()
for (RepositoryOptions.Visibility c : RepositoryOptions.Visibility.values()) System.out.println(c);
public static RepositoryOptions.Visibility 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 nullCopyright © 2021 SAP. All rights reserved.