Package org.apache.jackrabbit.vault.vlt

Examples of org.apache.jackrabbit.vault.vlt.VltContext.execute()


        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Update u = new Update(localDir, localFiles, cl.hasOption(optNonRecursive));
        u.setForce(cl.hasOption(optForce));
        vCtx.execute(u);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here


        Resolved a = new Resolved(localDir,
                localFiles,
                !cl.hasOption(optRecursive),
                cl.hasOption(optForce));
        vCtx.execute(a);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

        File localDir = app.getPlatformFile("", true);

        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        Diff a = new Diff(localDir, localFiles, cl.hasOption(optNonRecursive));
        vCtx.execute(a);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Commit s = new Commit(localDir,
                localFiles,
                cl.hasOption(optNonRecursive),
                cl.hasOption(optForce));
        vCtx.execute(s);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Info u = new Info(localDir, localFiles, !cl.hasOption(optRecursive));
        vCtx.execute(u);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

            if (cmd.equals("binary")) {
                Debug dbg = new Debug(localDir);
                VltContext vCtx = app.createVaultContext(localDir);
                vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
                vCtx.setQuiet(cl.hasOption(OPT_QUIET));
                vCtx.execute(dbg);
            }
        }
    }

    /**
 
View Full Code Here

        VltContext vCtx = app.createVaultContext(localFile);
        vCtx.setVerbose(cl.hasOption(OPT_VERBOSE));
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Sync sc = new Sync(cmd, addr, localFile);
        sc.setForce(cl.hasOption(optForce));
        vCtx.execute(sc);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        PropList a = new PropList(localDir,
                localFiles,
                !cl.hasOption(optRecursive));
        vCtx.execute(a);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

        PropSet a = new PropSet(localDir,
                localFiles,
                !cl.hasOption(optRecursive),
                (String) cl.getValue(argPropName),
                (String) cl.getValue(argPropValue));
        vCtx.execute(a);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

        List<File> localFiles = app.getPlatformFiles(localPaths, false);
        File localDir = app.getPlatformFile("", true);
        VltContext vCtx = app.createVaultContext(localDir);
        vCtx.setQuiet(cl.hasOption(OPT_QUIET));
        Revert r = new Revert(localDir, localFiles, cl.hasOption(optRecursive));
        vCtx.execute(r);
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.