public class GsonPreviousOutcomeConverter extends Object
| Constructor and Description |
|---|
GsonPreviousOutcomeConverter(EnvironmentVariables environmentVariables) |
| Modifier and Type | Method and Description |
|---|---|
Optional<PreviousTestOutcome> |
fromJson(InputStream inputStream) |
Optional<PreviousTestOutcome> |
fromJson(Reader jsonReader) |
protected com.google.gson.Gson |
getGson() |
void |
toJson(PreviousTestOutcome testOutcome,
OutputStream outputStream) |
@Inject public GsonPreviousOutcomeConverter(EnvironmentVariables environmentVariables)
protected com.google.gson.Gson getGson()
public Optional<PreviousTestOutcome> fromJson(InputStream inputStream) throws IOException
IOExceptionpublic Optional<PreviousTestOutcome> fromJson(Reader jsonReader)
public void toJson(PreviousTestOutcome testOutcome, OutputStream outputStream) throws IOException
IOExceptionCopyright © 2022. All rights reserved.