Class Counters
- All Implemented Interfaces:
Serializable
,Cloneable
Represents entity counters.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The number of errored entities.The number of failed entities.The number of passed entities.The number of skipped entities.The number of stopped entities.getTotal()
The total number of entities.The number of warned entities.int
hashCode()
void
setErrored
(Integer errored) The number of errored entities.void
The number of failed entities.void
The number of passed entities.void
setSkipped
(Integer skipped) The number of skipped entities.void
setStopped
(Integer stopped) The number of stopped entities.void
The total number of entities.void
The number of warned entities.toString()
Returns a string representation of this object; useful for testing and debugging.withErrored
(Integer errored) The number of errored entities.withFailed
(Integer failed) The number of failed entities.withPassed
(Integer passed) The number of passed entities.withSkipped
(Integer skipped) The number of skipped entities.withStopped
(Integer stopped) The number of stopped entities.The total number of entities.withWarned
(Integer warned) The number of warned entities.
-
Constructor Details
-
Counters
public Counters()
-
-
Method Details
-
setTotal
The total number of entities.
- Parameters:
total
- The total number of entities.
-
getTotal
The total number of entities.
- Returns:
- The total number of entities.
-
withTotal
The total number of entities.
- Parameters:
total
- The total number of entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassed
The number of passed entities.
- Parameters:
passed
- The number of passed entities.
-
getPassed
The number of passed entities.
- Returns:
- The number of passed entities.
-
withPassed
The number of passed entities.
- Parameters:
passed
- The number of passed entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFailed
The number of failed entities.
- Parameters:
failed
- The number of failed entities.
-
getFailed
The number of failed entities.
- Returns:
- The number of failed entities.
-
withFailed
The number of failed entities.
- Parameters:
failed
- The number of failed entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWarned
The number of warned entities.
- Parameters:
warned
- The number of warned entities.
-
getWarned
The number of warned entities.
- Returns:
- The number of warned entities.
-
withWarned
The number of warned entities.
- Parameters:
warned
- The number of warned entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setErrored
The number of errored entities.
- Parameters:
errored
- The number of errored entities.
-
getErrored
The number of errored entities.
- Returns:
- The number of errored entities.
-
withErrored
The number of errored entities.
- Parameters:
errored
- The number of errored entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStopped
The number of stopped entities.
- Parameters:
stopped
- The number of stopped entities.
-
getStopped
The number of stopped entities.
- Returns:
- The number of stopped entities.
-
withStopped
The number of stopped entities.
- Parameters:
stopped
- The number of stopped entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSkipped
The number of skipped entities.
- Parameters:
skipped
- The number of skipped entities.
-
getSkipped
The number of skipped entities.
- Returns:
- The number of skipped entities.
-
withSkipped
The number of skipped entities.
- Parameters:
skipped
- The number of skipped entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-