public static final class ReleaseConnector.ReleaseResult extends Object
| Modifier and Type | Method and Description |
|---|---|
static ReleaseConnector.ReleaseResult |
fail(ReleaseException error) |
static ReleaseConnector.ReleaseResult |
fail(Throwable error) |
ReleaseException |
getError() |
ReleaseNote |
getReleaseNote() |
URL |
getReleaseUrl() |
boolean |
isFail() |
boolean |
isSuccess() |
static ReleaseConnector.ReleaseResult |
success(ReleaseNote releaseNote,
URL url) |
void |
throwIfFail() |
String |
toString() |
public ReleaseNote getReleaseNote()
public URL getReleaseUrl()
public ReleaseException getError()
public void throwIfFail()
public boolean isSuccess()
public boolean isFail()
public static ReleaseConnector.ReleaseResult success(ReleaseNote releaseNote, URL url)
public static ReleaseConnector.ReleaseResult fail(ReleaseException error)
public static ReleaseConnector.ReleaseResult fail(Throwable error)
Copyright © 2021. All rights reserved.