Package org.camunda.bpm.engine.rest.impl
Class FetchAndLockResult
- java.lang.Object
-
- org.camunda.bpm.engine.rest.impl.FetchAndLockResult
-
public class FetchAndLockResult extends Object
- Author:
- Tassilo Weidner
-
-
Field Summary
Fields Modifier and Type Field Description protected List<LockedExternalTaskDto>
tasks
protected Throwable
throwable
-
Constructor Summary
Constructors Constructor Description FetchAndLockResult(Throwable throwable)
FetchAndLockResult(List<LockedExternalTaskDto> tasks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FetchAndLockResult
failed(Throwable throwable)
List<LockedExternalTaskDto>
getTasks()
Throwable
getThrowable()
static FetchAndLockResult
successful(List<LockedExternalTaskDto> tasks)
String
toString()
boolean
wasSuccessful()
-
-
-
Field Detail
-
tasks
protected List<LockedExternalTaskDto> tasks
-
throwable
protected Throwable throwable
-
-
Constructor Detail
-
FetchAndLockResult
public FetchAndLockResult(List<LockedExternalTaskDto> tasks)
-
FetchAndLockResult
public FetchAndLockResult(Throwable throwable)
-
-
Method Detail
-
getTasks
public List<LockedExternalTaskDto> getTasks()
-
getThrowable
public Throwable getThrowable()
-
wasSuccessful
public boolean wasSuccessful()
-
successful
public static FetchAndLockResult successful(List<LockedExternalTaskDto> tasks)
-
failed
public static FetchAndLockResult failed(Throwable throwable)
-
-