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 getLocketAt()
           
 String getName()
           
 Date getUpdatedAt()
           
 boolean isLocked()
           
 Semaphores.Semaphore setCreatedAt(Date createdAt)
           
 Semaphores.Semaphore setDurationSinceLocked(Long durationSinceLocked)
           
 Semaphores.Semaphore setLocked(boolean locked)
           
 Semaphores.Semaphore setLocketAt(Date locketAt)
           
 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)

getLocketAt

public Date getLocketAt()

setLocketAt

public Semaphores.Semaphore setLocketAt(Date locketAt)

getCreatedAt

public Date getCreatedAt()

setCreatedAt

public Semaphores.Semaphore setCreatedAt(Date createdAt)

getUpdatedAt

public Date getUpdatedAt()

setUpdatedAt

public Semaphores.Semaphore setUpdatedAt(Date updatedAt)

getDurationSinceLocked

public Long getDurationSinceLocked()

setDurationSinceLocked

public Semaphores.Semaphore setDurationSinceLocked(Long durationSinceLocked)


Copyright © 2009-2012 SonarSource. All Rights Reserved.