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