public enum GraphSharingOption extends java.lang.Enum<GraphSharingOption>
Enum Constant and Description |
---|
ALLOW_DATA_SHARING
Indicates that all graphs can be published
and graph sharing between multiple users is supported using PgxGraph#grantPermission
|
ALLOW_TRACEABLE_DATA_SHARING_WITHIN_SAME_USER
Indicates that graphs without traceable source cannot be published
and graph sharing between multiple users is not supported
|
DISALLOW_DATA_SHARING
Indicates that publish API is not allowed regardless of the graph source
and graph sharing between multiple users is not supported
|
Modifier and Type | Method and Description |
---|---|
static GraphSharingOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GraphSharingOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphSharingOption ALLOW_DATA_SHARING
public static final GraphSharingOption ALLOW_TRACEABLE_DATA_SHARING_WITHIN_SAME_USER
public static final GraphSharingOption DISALLOW_DATA_SHARING
public static GraphSharingOption 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 static GraphSharingOption[] values()
for (GraphSharingOption c : GraphSharingOption.values()) System.out.println(c);