Package org.apache.felix.sigil.common.repository

Examples of org.apache.felix.sigil.common.repository.IRepositoryVisitor


    private static boolean isBundlePath(final String bp, IBundleRepository r)
    {
        final AtomicBoolean flag = new AtomicBoolean();

        IRepositoryVisitor visitor = new IRepositoryVisitor()
        {
            public boolean visit(ISigilBundle b)
            {
                File path = b.getLocation();
                if (path != null && path.getAbsolutePath().equals(bp))
View Full Code Here


    }

    private static void index(final Index index, final IBundleRepository rep)
    {
        index.delete(rep);
        rep.accept(new IRepositoryVisitor()
        {
            public boolean visit(ISigilBundle bundle)
            {
                ISigilProjectModel p = bundle.getAncestor(ISigilProjectModel.class);
                if (p == null)
View Full Code Here

    }

    private Object[] getBundles(IBundleRepository repository)
    {
        final LinkedList<ISigilBundle> bundles = new LinkedList<ISigilBundle>();
        repository.accept(new IRepositoryVisitor()
        {
            public boolean visit(ISigilBundle bundle)
            {
                bundles.add(bundle);
                return true;
View Full Code Here

TOP

Related Classes of org.apache.felix.sigil.common.repository.IRepositoryVisitor

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.