Class SynchronizationFinalizationRequest
- Object
-
- BaseImportRequest
-
- SynchronizationFinalizationRequest
-
- All Implemented Interfaces:
Serializable
public class SynchronizationFinalizationRequest extends BaseImportRequest
The request defining synchronization finalization call properties.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SynchronizationFinalizationRequest.SynchronizationFinalizationRequestBuilder
-
Field Summary
-
Fields inherited from class BaseImportRequest
batchSize, DEFAULT_BATCH_SIZE, requestSource, saveResult, sendNotification, simulation
-
-
Constructor Summary
Constructors Constructor Description SynchronizationFinalizationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SynchronizationFinalizationRequest.SynchronizationFinalizationRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<SynchronizationFinalizationRequest.SynchronizationFinalizationRequestBuilder.CustomFinalizationParameter,String>
getFinalizationParameters()
Deprecated.This parameter is deprecated and will be removed in the future.String
getFinalizationStrategy()
The synchronization finalization strategy used in the clean up action.UUID
getMissingAssetStatusId()
If finalizationStrategy is set to `CHANGE_STATUS` then this parameter determines the new status ID for assets that no longer exist in the external system.@NotNull String
getSynchronizationId()
The synchronization ID used to distinguish different synchronizations.int
hashCode()
String
toString()
-
Methods inherited from class BaseImportRequest
getBatchSize, getRequestSource, isSaveResult, isSendNotification, isSimulation, setBatchSize, setRequestSource, setSaveResult, setSendNotification, setSimulation
-
-
-
-
Method Detail
-
builder
public static SynchronizationFinalizationRequest.SynchronizationFinalizationRequestBuilder builder()
-
getSynchronizationId
@NotNull public @NotNull String getSynchronizationId()
The synchronization ID used to distinguish different synchronizations.
-
getFinalizationStrategy
public String getFinalizationStrategy()
The synchronization finalization strategy used in the clean up action. This determines whether to remove, ignore or change the status of assets that no longer exist in the external system. Possible values are `REMOVE_RESOURCES`, `CHANGE_STATUS` and `IGNORE`. When you select `CHANGE_STATUS` you must also provide a value for `missingAssetStatusId`.
-
getMissingAssetStatusId
public UUID getMissingAssetStatusId()
If finalizationStrategy is set to `CHANGE_STATUS` then this parameter determines the new status ID for assets that no longer exist in the external system.
-
getFinalizationParameters
@Deprecated public Map<SynchronizationFinalizationRequest.SynchronizationFinalizationRequestBuilder.CustomFinalizationParameter,String> getFinalizationParameters()
Deprecated.This parameter is deprecated and will be removed in the future. Please, use missingAssetStatusId.
-
toString
public String toString()
- Overrides:
toString
in classBaseImportRequest
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBaseImportRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classBaseImportRequest
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseImportRequest
-
-