|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.softlayer.predicates.ProductItemPredicates
public class ProductItemPredicates
| Constructor Summary | |
|---|---|
ProductItemPredicates()
|
|
| Method Summary | |
|---|---|
static com.google.common.base.Predicate<ProductItem> |
capacity(Float capacity)
Tests if the ProductItem has the required capacity. |
static com.google.common.base.Predicate<ProductItem> |
categoryCode(String category)
Tests if the ProductItem contains the required category. |
static com.google.common.base.Predicate<ProductItem> |
categoryCodeMatches(Pattern category)
Tests if the ProductItem contains a category that matches the supplied Pattern |
static com.google.common.base.Predicate<ProductItem> |
matches(Pattern regex)
Tests if the ProductItem's description matches the supplied regular expression. |
static com.google.common.base.Predicate<ProductItem> |
units(String units)
Tests if the ProductItem has the required units. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProductItemPredicates()
| Method Detail |
|---|
public static com.google.common.base.Predicate<ProductItem> categoryCode(String category)
category -
public static com.google.common.base.Predicate<ProductItem> categoryCodeMatches(Pattern category)
category -
public static com.google.common.base.Predicate<ProductItem> capacity(Float capacity)
capacity -
public static com.google.common.base.Predicate<ProductItem> units(String units)
units -
public static com.google.common.base.Predicate<ProductItem> matches(Pattern regex)
regex - a regular expression to match against.
PatternSyntaxException - if the regex is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||