Package fr.gouv.vitam.common.model
Class GraphComputeResponse
- java.lang.Object
-
- fr.gouv.vitam.common.model.GraphComputeResponse
-
public class GraphComputeResponse extends java.lang.Object
Response given when compute graph (Unit/GOT)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphComputeResponse.GraphComputeAction
-
Constructor Summary
Constructors Constructor Description GraphComputeResponse()
Default constructorGraphComputeResponse(java.lang.Integer unitCount, java.lang.Integer gotCount)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getErrorMessage()
java.lang.Integer
getGotCount()
Getterjava.lang.Integer
getUnitCount()
GetterGraphComputeResponse
increment(GraphComputeResponse graphComputeResponse)
Increment unit and got count from given graphComputeResponseGraphComputeResponse
increment(GraphComputeResponse.GraphComputeAction graphComputeAction, int count)
Increment unit of got countvoid
setErrorMessage(java.lang.String errorMessage)
GraphComputeResponse
setGotCount(java.lang.Integer gotCount)
SetterGraphComputeResponse
setUnitCount(java.lang.Integer unitCount)
Setter
-
-
-
Method Detail
-
increment
public GraphComputeResponse increment(GraphComputeResponse.GraphComputeAction graphComputeAction, int count)
Increment unit of got count- Parameters:
graphComputeAction
-count
-- Returns:
- GraphComputeResponse
-
increment
public GraphComputeResponse increment(GraphComputeResponse graphComputeResponse)
Increment unit and got count from given graphComputeResponse- Parameters:
graphComputeResponse
-- Returns:
- GraphComputeResponse
-
getUnitCount
public java.lang.Integer getUnitCount()
Getter- Returns:
- unitCount
-
setUnitCount
public GraphComputeResponse setUnitCount(java.lang.Integer unitCount)
Setter- Parameters:
unitCount
-- Returns:
- GraphComputeResponse
-
getGotCount
public java.lang.Integer getGotCount()
Getter- Returns:
- gotCount
-
setGotCount
public GraphComputeResponse setGotCount(java.lang.Integer gotCount)
Setter- Parameters:
gotCount
-- Returns:
- GraphComputeResponse
-
getErrorMessage
public java.lang.String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
-
-