com.atlassian.bamboo.utils
Class BambooFunctions
java.lang.Object
com.atlassian.bamboo.utils.BambooFunctions
public class BambooFunctions
- extends java.lang.Object
Method Summary |
static com.atlassian.fage.Function2<java.lang.Long,java.lang.Long,java.lang.Long> |
addLong()
|
static com.google.common.base.Function<BambooIdProvider,java.lang.Long> |
getBambooObjectId()
|
static com.google.common.base.Function<java.lang.Enum,java.lang.String> |
getEnumName()
|
static com.google.common.base.Function<Label,java.lang.String> |
getLabelName()
|
static com.google.common.base.Function<Label,java.lang.String> |
getLabelNamespace()
|
static
<E extends java.lang.Exception,T>
com.google.common.base.Function<Result<E,T>,T> |
|
getResultOrNull()
|
static
<T> com.google.common.base.Function<java.lang.Integer,T> |
|
itemFromList(java.util.List<T> items)
|
static com.google.common.base.Function<java.lang.String,java.lang.Integer> |
parseInt()
|
static com.google.common.base.Function<java.lang.String,java.lang.Long> |
parseLong()
|
static
<E extends java.lang.Exception,T>
com.google.common.base.Predicate<Result<E,T>> |
|
resultIsException()
|
static
<E extends java.lang.Exception,T>
com.google.common.base.Predicate<Result<E,T>> |
|
resultIsResult()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parseInt
public static com.google.common.base.Function<java.lang.String,java.lang.Integer> parseInt()
parseLong
public static com.google.common.base.Function<java.lang.String,java.lang.Long> parseLong()
itemFromList
public static <T> com.google.common.base.Function<java.lang.Integer,T> itemFromList(java.util.List<T> items)
getBambooObjectId
public static com.google.common.base.Function<BambooIdProvider,java.lang.Long> getBambooObjectId()
addLong
public static com.atlassian.fage.Function2<java.lang.Long,java.lang.Long,java.lang.Long> addLong()
getResultOrNull
public static <E extends java.lang.Exception,T> com.google.common.base.Function<Result<E,T>,T> getResultOrNull()
resultIsException
public static <E extends java.lang.Exception,T> com.google.common.base.Predicate<Result<E,T>> resultIsException()
resultIsResult
public static <E extends java.lang.Exception,T> com.google.common.base.Predicate<Result<E,T>> resultIsResult()
getLabelName
public static com.google.common.base.Function<Label,java.lang.String> getLabelName()
getLabelNamespace
public static com.google.common.base.Function<Label,java.lang.String> getLabelNamespace()
getEnumName
public static com.google.common.base.Function<java.lang.Enum,java.lang.String> getEnumName()
Copyright © 2012 Atlassian. All Rights Reserved.