public static interface RemoteBuilderPlugin.RemoteBuildHandle
| Modifier and Type | Interface and Description |
|---|---|
static class |
RemoteBuilderPlugin.RemoteBuildHandle.RemoteBuildStatus
Possible remote build statuses.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCannotBuildRemotelyReason()
Returns the reason why the build cannot be performed remotely.
|
String |
getLocation() |
void |
getLog(Writer writerLog)
Writes the log of the build in the provided Writer.
|
ModuleVersion |
getModuleVersion() |
RemoteBuilderPlugin.RemoteBuildHandle.RemoteBuildStatus |
getRemoteBuildStatus()
|
boolean |
isSuccess()
Indicates the build was successful, as opposed to a failure.
|
void |
waitCompleted()
Blocks until the remote build is completed.
|
ModuleVersion getModuleVersion()
String getLocation()
RemoteBuilderPlugin.RemoteBuildHandle.RemoteBuildStatus getRemoteBuildStatus()
RemoteBuilderPlugin.RemoteBuildHandle.RemoteBuildStatus.
If the last known status of the build is such that it can change, this method should query the remote build system for the new status.
However, if the last known status of the build is
RemoteBuilderPlugin.RemoteBuildHandle.RemoteBuildStatus.CANNOT_BUILD_REMOTELY or
RemoteBuilderPlugin.RemoteBuildHandle.RemoteBuildStatus.COMPLETED, it is expected to be returned immediately
without wasting time querying the remote build system.
String getCannotBuildRemotelyReason()
Can only be called if getRemoteBuildStatus returned RemoteBuildStatus.CANNOT_BUILD_REMOTELY.
void waitCompleted()
boolean isSuccess()
If the build is not completed, this method blocks until it is.
void getLog(Writer writerLog)
If the build is not completed, this method blocks until it is.
writerLog - Writer.Copyright © 2015–2017 AZYVA INC.. All rights reserved.