Module com.esri.arcgisruntime
Class ServiceVersionParameters
java.lang.Object
com.esri.arcgisruntime.arcgisservices.ServiceVersionParameters
The parameters used to create a new version in a branch-versioned feature service.
- Since:
- 100.9.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the access level of the version.Gets the description of the version.getName()
Gets the name of the version.void
setAccess
(VersionAccess versionAccess) Sets the access level of the version.void
setDescription
(String description) Sets the description of the version.void
Sets the name of the version.
-
Constructor Details
-
ServiceVersionParameters
public ServiceVersionParameters()Constructs a ServiceVersionParameters.- Since:
- 100.9.0
-
-
Method Details
-
setName
Sets the name of the version.The name should be short (less than 64 characters) and not contain any special characters.
- Parameters:
name
- the name of the version- Throws:
IllegalArgumentException
- if name is null- Since:
- 100.9.0
-
getName
Gets the name of the version.The name should be short (less than 64 characters) and not contain any special characters.
- Returns:
- the name of the version
- Since:
- 100.9.0
-
setDescription
Sets the description of the version.- Parameters:
description
- the description of the version- Throws:
IllegalArgumentException
- if description is null- Since:
- 100.9.0
-
getDescription
Gets the description of the version.- Returns:
- the description of the version
- Since:
- 100.9.0
-
setAccess
Sets the access level of the version. The default value isVersionAccess.PUBLIC
.- Parameters:
versionAccess
- the VersionAccess- Throws:
IllegalArgumentException
- if versionAccess is null- Since:
- 100.9.0
-
getAccess
Gets the access level of the version. The default value isVersionAccess.PUBLIC
.- Returns:
- a VersionAccess
- Since:
- 100.9.0
-