Class FileLock

java.lang.Object
sonia.scm.repository.api.FileLock
All Implemented Interfaces:
Serializable

public class FileLock extends Object implements Serializable
Detailes of a file lock.
Since:
2.26.0
See Also:
  • Constructor Details

  • Method Details

    • getPath

      public String getPath()
      The path of the locked file.
    • getId

      public String getId()
      The id of the lock.
    • getUserId

      public String getUserId()
      The id of the user that created the lock.
    • getTimestamp

      public Instant getTimestamp()
      The time the lock was created.
    • getMessage

      public Optional<String> getMessage()