Interface BusinessUnitIndexingProgress
public interface BusinessUnitIndexingProgress
BusinessUnitIndexingProgress
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitIndexingProgress businessUnitIndexingProgress = BusinessUnitIndexingProgress.builder()
.indexed(0.3)
.failed(0.3)
.estimatedTotal(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for BusinessUnitIndexingProgressbuilder
(BusinessUnitIndexingProgress template) create builder for BusinessUnitIndexingProgress instancestatic BusinessUnitIndexingProgress
deepCopy
(BusinessUnitIndexingProgress template) factory method to create a deep copy of BusinessUnitIndexingProgress@NotNull Integer
The estimated total number of Business Units to be indexed.@NotNull Integer
The number of Business Units that failed to be indexed.@NotNull Integer
The number of Business Units successfully indexed.static BusinessUnitIndexingProgress
of()
factory methodstatic BusinessUnitIndexingProgress
of
(BusinessUnitIndexingProgress template) factory method to create a shallow copy BusinessUnitIndexingProgressvoid
setEstimatedTotal
(Integer estimatedTotal) The estimated total number of Business Units to be indexed.void
The number of Business Units that failed to be indexed.void
setIndexed
(Integer indexed) The number of Business Units successfully indexed.static com.fasterxml.jackson.core.type.TypeReference<BusinessUnitIndexingProgress>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getIndexed
The number of Business Units successfully indexed.
- Returns:
- indexed
-
getFailed
The number of Business Units that failed to be indexed.
- Returns:
- failed
-
getEstimatedTotal
The estimated total number of Business Units to be indexed.
- Returns:
- estimatedTotal
-
setIndexed
The number of Business Units successfully indexed.
- Parameters:
indexed
- value to be set
-
setFailed
The number of Business Units that failed to be indexed.
- Parameters:
failed
- value to be set
-
setEstimatedTotal
The estimated total number of Business Units to be indexed.
- Parameters:
estimatedTotal
- value to be set
-
of
factory method- Returns:
- instance of BusinessUnitIndexingProgress
-
of
factory method to create a shallow copy BusinessUnitIndexingProgress- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static BusinessUnitIndexingProgress deepCopy(@Nullable BusinessUnitIndexingProgress template) factory method to create a deep copy of BusinessUnitIndexingProgress- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for BusinessUnitIndexingProgress- Returns:
- builder
-
builder
create builder for BusinessUnitIndexingProgress instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withBusinessUnitIndexingProgress
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-