Class BaseImportRequest

Object
BaseImportRequest
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FileImportRequest, FileSynchronizationRequest, SynchronizationFinalizationRequest

public class BaseImportRequest extends Object implements Serializable
The base properties for an import or a synchronization call.
See Also:
  • Field Details

    • DEFAULT_BATCH_SIZE

      protected static final int DEFAULT_BATCH_SIZE
      See Also:
    • sendNotification

      @DefaultValue("false") protected boolean sendNotification
      Whether job status notification should be sent. The default value is false.
    • batchSize

      @DefaultValue("1000") protected int batchSize
      The size of the batch. The default value is 1000.
    • simulation

      @DefaultValue("false") protected boolean simulation
      Whether the import should be triggered as a simulation. The default value is false.

      If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.

    • saveResult

      @DefaultValue("false") protected boolean saveResult
      Deprecated.
      This parameter is deprecated and will be removed in the future.
      Whether the result of the import should be persisted.. The default value is false.

      If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.

    • requestSource

      protected String requestSource
  • Constructor Details

    • BaseImportRequest

      protected BaseImportRequest()
  • Method Details

    • isSendNotification

      public boolean isSendNotification()
      Whether job status notification should be sent. The default value is false.
    • getBatchSize

      public int getBatchSize()
      The size of the batch. The default value is 1000.
    • isSimulation

      public boolean isSimulation()
      Whether the import should be triggered as a simulation. The default value is false.

      If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.

    • isSaveResult

      @Deprecated public boolean isSaveResult()
      Deprecated.
      This parameter is deprecated and will be removed in the future.
      Whether the result of the import should be persisted.. The default value is false.

      If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.

    • getRequestSource

      public String getRequestSource()
    • setSendNotification

      public void setSendNotification(boolean sendNotification)
      Whether job status notification should be sent. The default value is false.
    • setBatchSize

      public void setBatchSize(int batchSize)
      The size of the batch. The default value is 1000.
    • setSimulation

      public void setSimulation(boolean simulation)
      Whether the import should be triggered as a simulation. The default value is false.

      If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.

    • setSaveResult

      @Deprecated public void setSaveResult(boolean saveResult)
      Deprecated.
      This parameter is deprecated and will be removed in the future.
      Whether the result of the import should be persisted.. The default value is false.

      If true, the result of the import simulation will be available at the end of the job but no change will be applied to the DGC.

    • setRequestSource

      public void setRequestSource(String requestSource)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object