@PublicApi public enum SharedEntityType extends Enum<SharedEntityType>
Enum Constant and Description |
---|
NONE |
PORTAL_PAGE |
SEARCH_REQUEST |
Modifier and Type | Method and Description |
---|---|
static SharedEntityType |
fromTypeDescriptor(SharedEntity.TypeDescriptor typeDescriptor) |
SharedEntity.TypeDescriptor |
getTypeDescriptor() |
static SharedEntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharedEntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharedEntityType SEARCH_REQUEST
public static final SharedEntityType PORTAL_PAGE
public static final SharedEntityType NONE
public static SharedEntityType[] values()
for (SharedEntityType c : SharedEntityType.values()) System.out.println(c);
public static SharedEntityType 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 SharedEntity.TypeDescriptor getTypeDescriptor()
public static SharedEntityType fromTypeDescriptor(SharedEntity.TypeDescriptor typeDescriptor)
Copyright © 2002-2021 Atlassian. All Rights Reserved.