public enum SharingMode extends Enum<SharingMode>
Enum Constant and Description |
---|
COLLABORATIVE |
COMMON |
CONFIDENTIAL |
PRIVATE |
PUBLIC |
Modifier and Type | Method and Description |
---|---|
static SharingMode |
fromString(String uri) |
String |
getUri() |
static SharingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharingMode PRIVATE
public static final SharingMode CONFIDENTIAL
public static final SharingMode COLLABORATIVE
public static final SharingMode PUBLIC
public static final SharingMode COMMON
public static SharingMode[] values()
for (SharingMode c : SharingMode.values()) System.out.println(c);
public static SharingMode 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 getUri()
public static SharingMode fromString(String uri)
Copyright © 2023. All Rights Reserved.