|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.rest.resources.ResultSuppliers
public class ResultSuppliers
Contains static methods to generate Suppliers with common rest results.
Useful for passing into com.atlassian.fugue.Option.getOrElse(Supplier)
Constructor Summary | |
---|---|
ResultSuppliers()
|
Method Summary | |
---|---|
static com.google.common.base.Supplier |
notFoundException(java.lang.String msg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSuppliers()
Method Detail |
---|
public static com.google.common.base.Supplier notFoundException(java.lang.String msg)
msg
-
a
- NotFoundException with the given message when get() is called
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |