Package fr.gouv.vitam.common.model
Class GraphComputeResponse
java.lang.Object
fr.gouv.vitam.common.model.GraphComputeResponse
Response given when compute graph (Unit/GOT)
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDefault constructorGraphComputeResponse
(Integer unitCount, Integer gotCount) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGetterGetterincrement
(GraphComputeResponse graphComputeResponse) Increment unit and got count from given graphComputeResponseincrement
(GraphComputeResponse.GraphComputeAction graphComputeAction, int count) Increment unit of got countvoid
setErrorMessage
(String errorMessage) setGotCount
(Integer gotCount) SettersetUnitCount
(Integer unitCount) Setter
-
Constructor Details
-
GraphComputeResponse
public GraphComputeResponse()Default constructor -
GraphComputeResponse
Constructor- Parameters:
unitCount
-gotCount
-
-
-
Method Details
-
increment
public GraphComputeResponse increment(GraphComputeResponse.GraphComputeAction graphComputeAction, int count) Increment unit of got count- Parameters:
graphComputeAction
-count
-- Returns:
- GraphComputeResponse
-
increment
Increment unit and got count from given graphComputeResponse- Parameters:
graphComputeResponse
-- Returns:
- GraphComputeResponse
-
getUnitCount
Getter- Returns:
- unitCount
-
setUnitCount
Setter- Parameters:
unitCount
-- Returns:
- GraphComputeResponse
-
getGotCount
Getter- Returns:
- gotCount
-
setGotCount
Setter- Parameters:
gotCount
-- Returns:
- GraphComputeResponse
-
getErrorMessage
-
setErrorMessage
-