org.sonar.api.utils
Class Semaphores.Semaphore

java.lang.Object
  extended by org.sonar.api.utils.Semaphores.Semaphore
Enclosing interface:
Semaphores

public static class Semaphores.Semaphore
extends Object


Constructor Summary
Semaphores.Semaphore()
           
 
Method Summary
 Date getCreatedAt()
           
 Long getDurationSinceLocked()
           
 Date getLockedAt()
           
 String getName()
           
 Date getUpdatedAt()
           
 boolean isLocked()
           
 Semaphores.Semaphore setCreatedAt(Date createdAt)
           
 Semaphores.Semaphore setDurationSinceLocked(Long durationSinceLocked)
           
 Semaphores.Semaphore setLocked(boolean locked)
           
 Semaphores.Semaphore setLockedAt(Date lockedAt)
           
 Semaphores.Semaphore setName(String name)
           
 Semaphores.Semaphore setUpdatedAt(Date updatedAt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Semaphores.Semaphore

public Semaphores.Semaphore()
Method Detail

getName

public String getName()

setName

public Semaphores.Semaphore setName(String name)

isLocked

public boolean isLocked()

setLocked

public Semaphores.Semaphore setLocked(boolean locked)

getLockedAt

public Date getLockedAt()

setLockedAt

public Semaphores.Semaphore setLockedAt(@Nullable
                                        Date lockedAt)

getCreatedAt

public Date getCreatedAt()

setCreatedAt

public Semaphores.Semaphore setCreatedAt(@Nullable
                                         Date createdAt)

getUpdatedAt

public Date getUpdatedAt()

setUpdatedAt

public Semaphores.Semaphore setUpdatedAt(@Nullable
                                         Date updatedAt)

getDurationSinceLocked

public Long getDurationSinceLocked()

setDurationSinceLocked

public Semaphores.Semaphore setDurationSinceLocked(Long durationSinceLocked)


Copyright © 2009–2015 SonarSource. All rights reserved.