Enum GenerateGeodatabaseParameters.AttachmentSyncDirection
- java.lang.Object
-
- java.lang.Enum<GenerateGeodatabaseParameters.AttachmentSyncDirection>
-
- com.esri.arcgisruntime.tasks.geodatabase.GenerateGeodatabaseParameters.AttachmentSyncDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<GenerateGeodatabaseParameters.AttachmentSyncDirection>
- Enclosing class:
- GenerateGeodatabaseParameters
public static enum GenerateGeodatabaseParameters.AttachmentSyncDirection extends Enum<GenerateGeodatabaseParameters.AttachmentSyncDirection>
Specifies the direction to synchronize attachments when a geodatabase is synchronized against its originating service.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIDIRECTIONAL
Attachment edits can be both uploaded from the client and downloaded from the service when syncing.NONE
Attachment edits are never synced from either the client or the server.UPLOAD
Attachment edits can only be uploaded from the client when syncing.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenerateGeodatabaseParameters.AttachmentSyncDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static GenerateGeodatabaseParameters.AttachmentSyncDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIDIRECTIONAL
public static final GenerateGeodatabaseParameters.AttachmentSyncDirection BIDIRECTIONAL
Attachment edits can be both uploaded from the client and downloaded from the service when syncing.- Since:
- 100.0.0
-
UPLOAD
public static final GenerateGeodatabaseParameters.AttachmentSyncDirection UPLOAD
Attachment edits can only be uploaded from the client when syncing. This is useful in cases where the data collector does not want to consume space with attachments from the service, but does need to collect new attachments.- Since:
- 100.0.0
-
NONE
public static final GenerateGeodatabaseParameters.AttachmentSyncDirection NONE
Attachment edits are never synced from either the client or the server.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static GenerateGeodatabaseParameters.AttachmentSyncDirection[] 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 (GenerateGeodatabaseParameters.AttachmentSyncDirection c : GenerateGeodatabaseParameters.AttachmentSyncDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenerateGeodatabaseParameters.AttachmentSyncDirection valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-