Class 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 Detail

      • ServiceVersionParameters

        public ServiceVersionParameters()
        Constructs a ServiceVersionParameters.
        Since:
        100.9.0
    • 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
      • getAccess

        public VersionAccess getAccess()
        Gets the access level of the version. The default value is VersionAccess.PUBLIC.
        Returns:
        a VersionAccess
        Since:
        100.9.0