Package org.uberfire.backend.vfs.impl
Class LockResult
- java.lang.Object
-
- org.uberfire.backend.vfs.impl.LockResult
-
-
Constructor Summary
Constructors Constructor Description LockResult(boolean success, LockInfo lockInfo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LockResultacquired(Path path, String lockedBy)static LockResulterror()static LockResultfailed(LockInfo lockInfo)LockInfogetLockInfo()booleanisSuccess()static LockResultreleased(Path path)
-
-
-
Constructor Detail
-
LockResult
public LockResult(boolean success, LockInfo lockInfo)
-
-
Method Detail
-
acquired
public static LockResult acquired(Path path, String lockedBy)
-
released
public static LockResult released(Path path)
-
failed
public static LockResult failed(LockInfo lockInfo)
-
error
public static LockResult error()
-
isSuccess
public boolean isSuccess()
-
getLockInfo
public LockInfo getLockInfo()
-
-