public final class JobManagerRunnerResult extends Object
JobManagerRunner
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static JobManagerRunnerResult |
forInitializationFailure(ExecutionGraphInfo executionGraphInfo,
Throwable failure) |
static JobManagerRunnerResult |
forSuccess(ExecutionGraphInfo executionGraphInfo) |
ExecutionGraphInfo |
getExecutionGraphInfo() |
Throwable |
getInitializationFailure()
This method returns the initialization failure.
|
int |
hashCode() |
boolean |
isInitializationFailure() |
boolean |
isSuccess() |
public boolean isSuccess()
public boolean isInitializationFailure()
public ExecutionGraphInfo getExecutionGraphInfo()
public Throwable getInitializationFailure()
IllegalStateException
- if the result is not an initialization failurepublic static JobManagerRunnerResult forSuccess(ExecutionGraphInfo executionGraphInfo)
public static JobManagerRunnerResult forInitializationFailure(ExecutionGraphInfo executionGraphInfo, Throwable failure)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.