Class GraphComputeResponse

java.lang.Object
fr.gouv.vitam.common.model.GraphComputeResponse

public class GraphComputeResponse extends Object
Response given when compute graph (Unit/GOT)
  • Constructor Details

    • GraphComputeResponse

      public GraphComputeResponse()
      Default constructor
    • GraphComputeResponse

      public GraphComputeResponse(Integer unitCount, Integer gotCount)
      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

      public GraphComputeResponse increment(GraphComputeResponse graphComputeResponse)
      Increment unit and got count from given graphComputeResponse
      Parameters:
      graphComputeResponse -
      Returns:
      GraphComputeResponse
    • getUnitCount

      public Integer getUnitCount()
      Getter
      Returns:
      unitCount
    • setUnitCount

      public GraphComputeResponse setUnitCount(Integer unitCount)
      Setter
      Parameters:
      unitCount -
      Returns:
      GraphComputeResponse
    • getGotCount

      public Integer getGotCount()
      Getter
      Returns:
      gotCount
    • setGotCount

      public GraphComputeResponse setGotCount(Integer gotCount)
      Setter
      Parameters:
      gotCount -
      Returns:
      GraphComputeResponse
    • getErrorMessage

      public String getErrorMessage()
    • setErrorMessage

      public void setErrorMessage(String errorMessage)