Class ImportSummaryImpl

java.lang.Object
com.commercetools.importapi.models.importsummaries.ImportSummaryImpl
All Implemented Interfaces:
ImportSummary, io.vrap.rmf.base.client.ModelBase

public class ImportSummaryImpl extends Object implements ImportSummary, io.vrap.rmf.base.client.ModelBase

Describes the status of an ImportContainer by the number of resources in each Processing State. Can be used to monitor the import progress per Import Container.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The import status of an ImportContainer given by the number of resources in each Processing State.
    The total number of ImportOperations received for this Import Summary.
    int
     
    void
    The import status of an ImportContainer given by the number of resources in each Processing State.
    void
    setTotal(Long total)
    The total number of ImportOperations received for this Import Summary.
     

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.commercetools.importapi.models.importsummaries.ImportSummary

    withImportSummary

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString
  • Constructor Details

    • ImportSummaryImpl

      public ImportSummaryImpl()
      create empty instance
  • Method Details

    • getStates

      public OperationStates getStates()

      The import status of an ImportContainer given by the number of resources in each Processing State.

      Specified by:
      getStates in interface ImportSummary
      Returns:
      states
    • getTotal

      public Long getTotal()

      The total number of ImportOperations received for this Import Summary.

      Specified by:
      getTotal in interface ImportSummary
      Returns:
      total
    • setStates

      public void setStates(OperationStates states)
      Description copied from interface: ImportSummary

      The import status of an ImportContainer given by the number of resources in each Processing State.

      Specified by:
      setStates in interface ImportSummary
      Parameters:
      states - value to be set
    • setTotal

      public void setTotal(Long total)
      Description copied from interface: ImportSummary

      The total number of ImportOperations received for this Import Summary.

      Specified by:
      setTotal in interface ImportSummary
      Parameters:
      total - value to be set
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object