Class SynchronizationJsonInJobRequest
- Object
-
- BaseImportRequest
-
- FileSynchronizationRequest
-
- SynchronizationJsonInJobRequest
-
- All Implemented Interfaces:
Serializable
public class SynchronizationJsonInJobRequest extends FileSynchronizationRequest
The request defining synchronization call properties from a JSON file.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SynchronizationJsonInJobRequest.SynchronizationJsonInJobRequestBuilder
-
Field Summary
-
Fields inherited from class FileSynchronizationRequest
continueOnError, deleteFile, file, fileId, fileName, synchronizationId
-
Fields inherited from class BaseImportRequest
batchSize, DEFAULT_BATCH_SIZE, requestSource, saveResult, sendNotification, simulation
-
-
Constructor Summary
Constructors Constructor Description SynchronizationJsonInJobRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynchronizationJsonInJobRequest.SynchronizationJsonInJobRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<SynchronizationJsonInJobRequest.SynchronizationJsonInJobRequestBuilder.CustomFinalizationParameter,String>
getFinalizationParameters()
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.String
getRelationsAction()
To replace and add/update existing relation during refresh.int
hashCode()
String
toString()
-
Methods inherited from class FileSynchronizationRequest
getFile, getFileId, getFileName, getSynchronizationId, isContinueOnError, isDeleteFile, setContinueOnError, setDeleteFile, setFile, setFileId, setFileName, setSynchronizationId
-
Methods inherited from class BaseImportRequest
getBatchSize, getRequestSource, isSaveResult, isSendNotification, isSimulation, setBatchSize, setRequestSource, setSaveResult, setSendNotification, setSimulation
-
-
-
-
Method Detail
-
builder
public static SynchronizationJsonInJobRequest.SynchronizationJsonInJobRequestBuilder builder()
-
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`.
-
getFinalizationParameters
public Map<SynchronizationJsonInJobRequest.SynchronizationJsonInJobRequestBuilder.CustomFinalizationParameter,String> getFinalizationParameters()
-
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.
-
getRelationsAction
public String getRelationsAction()
To replace and add/update existing relation during refresh. Possible values are: 'ADD_OR_IGNORE' and 'REPLACE'.
-
toString
public String toString()
- Overrides:
toString
in classFileSynchronizationRequest
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classFileSynchronizationRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classFileSynchronizationRequest
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFileSynchronizationRequest
-
-