Class BaseImportRequest

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int batchSize
      The size of the batch.
      protected static int DEFAULT_BATCH_SIZE  
      protected String requestSource  
      protected boolean saveResult
      Deprecated.
      This parameter is deprecated and will be removed in the future.
      protected boolean sendNotification
      Whether job status notification should be sent.
      protected boolean simulation
      Whether the import should be triggered as a simulation.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BaseImportRequest()  
    • Field Detail

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

      • BaseImportRequest

        protected BaseImportRequest()
    • Method Detail

      • 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