com.atlassian.greenhopper.service.lexorank
Class LexoRankOperationOutcome<T>
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.