Class Util


  • @Deprecated(forRemoval=true)
    public final class Util
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static List<org.opendaylight.yangtools.yang.model.api.SchemaPath> expandQname​(List<org.opendaylight.yangtools.yang.model.api.SchemaPath> list, Pattern pattern)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static String wildcardToRegex​(String wildcard)
      Deprecated, for removal: This API element is subject to removal in a future version.
      CREDIT to http://www.rgagnon.com/javadetails/java-0515.html.
    • Method Detail

      • resultRpcSuccessFor

        public static <T> com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<T>> resultRpcSuccessFor​(T output)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • expandQname

        public static List<org.opendaylight.yangtools.yang.model.api.SchemaPath> expandQname​(List<org.opendaylight.yangtools.yang.model.api.SchemaPath> list,
                                                                                             Pattern pattern)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Method filters qnames based on wildcard strings.
        Parameters:
        list - list of SchemaPaths
        pattern - matching pattern
        Returns:
        list of filtered qnames
      • wildcardToRegex

        public static String wildcardToRegex​(String wildcard)
        Deprecated, for removal: This API element is subject to removal in a future version.
        CREDIT to http://www.rgagnon.com/javadetails/java-0515.html.