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>tasksprotected Throwablethrowable
-
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 FetchAndLockResultfailed(Throwable throwable)List<LockedExternalTaskDto>getTasks()ThrowablegetThrowable()static FetchAndLockResultsuccessful(List<LockedExternalTaskDto> tasks)StringtoString()booleanwasSuccessful()
-
-
-
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)
-
-