Package one.microproject.testmeter.dto
Class ScenarioResult<T>
- java.lang.Object
-
- one.microproject.testmeter.dto.ScenarioResult<T>
-
public class ScenarioResult<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScenarioResult(java.lang.Integer id, java.lang.Boolean success, java.lang.String message, java.lang.Long started, java.lang.Long duration, T result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetDuration()java.lang.IntegergetId()java.lang.StringgetMessage()java.util.Optional<T>getResult()java.lang.LonggetStarted()java.lang.BooleangetSuccess()
-
-
-
Constructor Detail
-
ScenarioResult
public ScenarioResult(java.lang.Integer id, java.lang.Boolean success, java.lang.String message, java.lang.Long started, java.lang.Long duration, T result)
-
-
Method Detail
-
getId
public java.lang.Integer getId()
-
getSuccess
public java.lang.Boolean getSuccess()
-
getMessage
public java.lang.String getMessage()
-
getStarted
public java.lang.Long getStarted()
-
getDuration
public java.lang.Long getDuration()
-
getResult
public java.util.Optional<T> getResult()
-
-