public class BuildLogHelper extends Object
| Constructor and Description |
|---|
BuildLogHelper(ProjectFilesystem projectFilesystem) |
| Modifier and Type | Method and Description |
|---|---|
Optional<BuildLogEntry> |
getBuildLogEntryFromId(BuildId buildId)
Given a build id, return the corresponding
BuildLogEntry of that build |
com.google.common.collect.ImmutableList<BuildLogEntry> |
getBuildLogs() |
public BuildLogHelper(ProjectFilesystem projectFilesystem)
public com.google.common.collect.ImmutableList<BuildLogEntry> getBuildLogs() throws IOException
IOExceptionpublic Optional<BuildLogEntry> getBuildLogEntryFromId(BuildId buildId) throws IOException
BuildLogEntry of that buildbuildId - the buildId corresponding to the BuildLogEntry to retrieveIOException - If interacting with the filesystem fails