public final class Util extends Object
Modifier and Type | Method and Description |
---|---|
static List<org.opendaylight.yangtools.yang.model.api.SchemaPath> |
expandQname(List<org.opendaylight.yangtools.yang.model.api.SchemaPath> list,
Pattern pattern)
Method filters qnames based on wildcard strings.
|
static <T> com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<T>> |
resultRpcSuccessFor(T output) |
static String |
wildcardToRegex(String wildcard)
CREDIT to http://www.rgagnon.com/javadetails/java-0515.html.
|
public static <T> com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<T>> resultRpcSuccessFor(T output)
public static List<org.opendaylight.yangtools.yang.model.api.SchemaPath> expandQname(List<org.opendaylight.yangtools.yang.model.api.SchemaPath> list, Pattern pattern)
list
- list of SchemaPathspattern
- matching patternCopyright © 2019 OpenDaylight. All rights reserved.