public abstract class AlgorithmResult extends Object
| Constructor and Description |
|---|
AlgorithmResult() |
| Modifier and Type | Method and Description |
|---|---|
static AlgorithmResult |
createFailure(Exception e,
Entity sourceEntity) |
static AlgorithmResult |
createSuccess(Object object,
Entity sourceEntity) |
abstract Exception |
getException() |
abstract Entity |
getSourceEntity() |
abstract Object |
getValue() |
boolean |
isSuccess() |
public abstract Entity getSourceEntity()
public boolean isSuccess()
public static AlgorithmResult createSuccess(Object object, Entity sourceEntity)
public static AlgorithmResult createFailure(Exception e, Entity sourceEntity)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.