Package com.esri.arcgisruntime.portal
Enum PortalItemContentParameters.PortalItemContentType
- java.lang.Object
-
- java.lang.Enum<PortalItemContentParameters.PortalItemContentType>
-
- com.esri.arcgisruntime.portal.PortalItemContentParameters.PortalItemContentType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PortalItemContentParameters.PortalItemContentType>
- Enclosing class:
- PortalItemContentParameters
public static enum PortalItemContentParameters.PortalItemContentType extends java.lang.Enum<PortalItemContentParameters.PortalItemContentType>
Specifies the type of content represented by a PortalItemContentParameters instance.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE
The content is a data file.JSON
The content is JSON text.SERVICE_URL
Deprecated.As of 100.3.0, replaced byURL
.URL
The content is a URL.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortalItemContentParameters.PortalItemContentType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PortalItemContentParameters.PortalItemContentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE
public static final PortalItemContentParameters.PortalItemContentType FILE
The content is a data file.
-
JSON
public static final PortalItemContentParameters.PortalItemContentType JSON
The content is JSON text.
-
SERVICE_URL
@Deprecated public static final PortalItemContentParameters.PortalItemContentType SERVICE_URL
Deprecated.As of 100.3.0, replaced byURL
.The content is a service, represented by the service URL.
-
URL
public static final PortalItemContentParameters.PortalItemContentType URL
The content is a URL.- Since:
- 100.3.0
-
-
Method Detail
-
values
public static PortalItemContentParameters.PortalItemContentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PortalItemContentParameters.PortalItemContentType c : PortalItemContentParameters.PortalItemContentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PortalItemContentParameters.PortalItemContentType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-