com.atlassian.greenhopper.manager.lexorank.balancer
Class BalancerEntry

java.lang.Object
  extended by com.atlassian.greenhopper.model.rapid.AbstractModel
      extended by com.atlassian.greenhopper.manager.lexorank.balancer.BalancerEntry

public class BalancerEntry
extends AbstractModel

Represents a LexoRank balancer entry that will be stored in BalancerEntryAO. The entry contains the Rank fieldId, a time indicating the next requested re-balance, and a flag that requests that rank operations be disabled.


Nested Class Summary
static class BalancerEntry.Builder
          BalancerEntry builder.
 
Field Summary
 
Fields inherited from class com.atlassian.greenhopper.model.rapid.AbstractModel
id
 
Method Summary
 java.lang.Long getFieldId()
          Get the Rank fieldId.
 org.joda.time.DateTime getRebalanceTime()
          Get the re-balance time.
 boolean rankingOperationsDisabled()
          Check to see if rank operations are disabled
 
Methods inherited from class com.atlassian.greenhopper.model.rapid.AbstractModel
equals, getId, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getFieldId

public java.lang.Long getFieldId()
Get the Rank fieldId.

Returns:
the Rank fieldId.

getRebalanceTime

public org.joda.time.DateTime getRebalanceTime()
Get the re-balance time.

Returns:
the time to re-balance this Rank fieldId.

rankingOperationsDisabled

public boolean rankingOperationsDisabled()
Check to see if rank operations are disabled

Returns:
true when rank operations are disabled, false otherwise


Copyright © 2007-2014 Atlassian. All Rights Reserved.