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 instancecopyDeep()static BusinessUnitIndexingProgressdeepCopy(BusinessUnitIndexingProgress template) factory method to create a deep copy of BusinessUnitIndexingProgress@NotNull IntegerThe estimated total number of Business Units to be indexed.@NotNull IntegerThe number of Business Units that failed to be indexed.@NotNull IntegerThe number of Business Units successfully indexed.static BusinessUnitIndexingProgressof()factory methodstatic BusinessUnitIndexingProgressof(BusinessUnitIndexingProgress template) factory method to create a shallow copy BusinessUnitIndexingProgressvoidsetEstimatedTotal(Integer estimatedTotal) The estimated total number of Business Units to be indexed.voidThe number of Business Units that failed to be indexed.voidsetIndexed(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> Taccessor 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
-
copyDeep
BusinessUnitIndexingProgress copyDeep() -
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
-