Class ServiceVersionParameters
- java.lang.Object
-
- com.esri.arcgisruntime.arcgisservices.ServiceVersionParameters
-
public final class ServiceVersionParameters extends Object
The parameters used to create a new version in a branch-versioned feature service.- Since:
- 100.9.0
- See Also:
ServiceGeodatabase
-
-
Constructor Summary
Constructors Constructor Description ServiceVersionParameters()
Constructs a ServiceVersionParameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionAccess
getAccess()
Gets the access level of the version.String
getDescription()
Gets the description of the version.String
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
setName(String name)
Sets the name of the version.
-
-
-
Method Detail
-
setName
public void setName(String name)
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
public String 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
public void setDescription(String description)
Sets the description of the version.- Parameters:
description
- the description of the version- Throws:
IllegalArgumentException
- if description is null- Since:
- 100.9.0
-
getDescription
public String getDescription()
Gets the description of the version.- Returns:
- the description of the version
- Since:
- 100.9.0
-
setAccess
public void setAccess(VersionAccess versionAccess)
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
public VersionAccess getAccess()
Gets the access level of the version. The default value isVersionAccess.PUBLIC
.- Returns:
- a VersionAccess
- Since:
- 100.9.0
-
-