public class FetchAndLockResult extends Object
Modifier and Type | Field and Description |
---|---|
protected ProcessEngineException |
processEngineException |
protected List<LockedExternalTaskDto> |
tasks |
Constructor and Description |
---|
FetchAndLockResult(List<LockedExternalTaskDto> tasks) |
FetchAndLockResult(ProcessEngineException processEngineException) |
Modifier and Type | Method and Description |
---|---|
static FetchAndLockResult |
failed(ProcessEngineException processEngineException) |
ProcessEngineException |
getProcessEngineException() |
List<LockedExternalTaskDto> |
getTasks() |
static FetchAndLockResult |
successful(List<LockedExternalTaskDto> tasks) |
boolean |
wasSuccessful() |
protected List<LockedExternalTaskDto> tasks
protected ProcessEngineException processEngineException
public FetchAndLockResult(List<LockedExternalTaskDto> tasks)
public FetchAndLockResult(ProcessEngineException processEngineException)
public List<LockedExternalTaskDto> getTasks()
public ProcessEngineException getProcessEngineException()
public boolean wasSuccessful()
public static FetchAndLockResult successful(List<LockedExternalTaskDto> tasks)
public static FetchAndLockResult failed(ProcessEngineException processEngineException)
Copyright © 2018. All rights reserved.