com.atlassian.greenhopper.service.lexorank
Class LexoRankOperationOutcome<T>

java.lang.Object
  extended by com.atlassian.greenhopper.service.lexorank.LexoRankOperationOutcome<T>

public class LexoRankOperationOutcome<T>
extends java.lang.Object

An outcome object that is returned by LexoRank Operation objects.


Method Summary
static
<T> LexoRankOperationOutcome<T>
duplicateRank()
           
static
<T> LexoRankOperationOutcome<T>
error(ErrorCollection.Reason reason, java.lang.String templateMessage, java.lang.Object... messageArguments)
           
static
<T> LexoRankOperationOutcome<T>
error(ErrorCollection errorCollection)
           
 ErrorCollection getErrors()
           
 java.util.Set<java.lang.Long> getIssueIdsToReIndex()
           
 T getResult()
           
 boolean isValid()
           
static
<T> LexoRankOperationOutcome<T>
ok(T result)
           
static
<T> LexoRankOperationOutcome<T>
ok(T result, java.util.Collection<java.lang.Long> issueIdsToReIndex)
           
static
<T> LexoRankOperationOutcome<T>
ok(T result, java.lang.Long... issueIdsToReIndex)
           
static
<T> LexoRankOperationOutcome<T>
reindexRequired()
           
static
<T> LexoRankOperationOutcome<T>
timeout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

ok

public static <T> LexoRankOperationOutcome<T> ok(T result,
                                                 java.util.Collection<java.lang.Long> issueIdsToReIndex)

ok

public static <T> LexoRankOperationOutcome<T> ok(T result,
                                                 java.lang.Long... issueIdsToReIndex)

ok

public static <T> LexoRankOperationOutcome<T> ok(T result)

timeout

public static <T> LexoRankOperationOutcome<T> timeout()

duplicateRank

public static <T> LexoRankOperationOutcome<T> duplicateRank()

reindexRequired

public static <T> LexoRankOperationOutcome<T> reindexRequired()

error

public static <T> LexoRankOperationOutcome<T> error(ErrorCollection errorCollection)

error

public static <T> LexoRankOperationOutcome<T> error(ErrorCollection.Reason reason,
                                                    java.lang.String templateMessage,
                                                    java.lang.Object... messageArguments)

isValid

public boolean isValid()

getIssueIdsToReIndex

public java.util.Set<java.lang.Long> getIssueIdsToReIndex()

getResult

public T getResult()

getErrors

public ErrorCollection getErrors()


Copyright © 2007-2014 Atlassian. All Rights Reserved.