Class SingleNodeAgentCommandResult
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.agent.SingleNodeAgentCommandResult
-
public class SingleNodeAgentCommandResult extends Object
-
-
Constructor Summary
Constructors Constructor Description SingleNodeAgentCommandResult(String type, Supplier<Long> timeSupplier, String agentName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddone(String result)voiderror(Error error)voidinProgress()booleanisFinished()StringwaitForResult()
-
-
-
Method Detail
-
waitForResult
@NotNull public String waitForResult() throws AgentTimeoutException, AgentCommandExecutionException, InterruptedException
-
error
public void error(@NotNull Error error)
-
done
public void done(String result)
-
inProgress
public void inProgress()
-
isFinished
public boolean isFinished()
-
-