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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The import status of an ImportContainer given by the number of resources in each Processing State.getTotal()
The total number of ImportOperations received for this Import Summary.int
hashCode()
void
setStates
(OperationStates states) The import status of an ImportContainer given by the number of resources in each Processing State.void
The total number of ImportOperations received for this Import Summary.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, 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
The import status of an ImportContainer given by the number of resources in each Processing State.
- Specified by:
getStates
in interfaceImportSummary
- Returns:
- states
-
getTotal
The total number of ImportOperations received for this Import Summary.
- Specified by:
getTotal
in interfaceImportSummary
- Returns:
- total
-
setStates
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 interfaceImportSummary
- Parameters:
states
- value to be set
-
setTotal
Description copied from interface:ImportSummary
The total number of ImportOperations received for this Import Summary.
- Specified by:
setTotal
in interfaceImportSummary
- Parameters:
total
- value to be set
-
equals
-
hashCode
public int hashCode()
-