Package groovyx.gaelyk.search

Examples of groovyx.gaelyk.search.DocumentDefinitions


    }
   
    private static DocumentDefinitions applyDefinitionsClosure(@DelegatesTo(value=DocumentDefinitions.class, strategy=Closure.DELEGATE_FIRST) Closure<?> closure) {
        Closure<?> docDefClosure = (Closure<?>)closure.clone();
        docDefClosure.setResolveStrategy(Closure.DELEGATE_FIRST);
        DocumentDefinitions definitions = new DocumentDefinitions();
        docDefClosure.setDelegate(definitions);
        docDefClosure.call();
        return definitions;
    }
View Full Code Here

TOP

Related Classes of groovyx.gaelyk.search.DocumentDefinitions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.