org.crsh.jcr
Class SinkCommand

java.lang.Object
  extended by org.crsh.ssh.term.AbstractCommand
      extended by org.crsh.jcr.SCPCommand
          extended by org.crsh.jcr.SinkCommand
All Implemented Interfaces:
Runnable, org.apache.sshd.server.Command, org.apache.sshd.server.SessionAware

public class SinkCommand
extends SCPCommand
implements Runnable


Field Summary
private  boolean recursive
          .
 
Fields inherited from class org.crsh.jcr.SCPCommand
ERROR, log, OK
 
Fields inherited from class org.crsh.ssh.term.AbstractCommand
callback, err, in, out, session
 
Constructor Summary
SinkCommand(String target, boolean recursive)
           
 
Method Summary
protected  void execute(javax.jcr.Session session, String path)
           
 
Methods inherited from class org.crsh.jcr.SCPCommand
ack, destroy, read, readAck, readLine, run, start
 
Methods inherited from class org.crsh.ssh.term.AbstractCommand
setErrorStream, setExitCallback, setInputStream, setOutputStream, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

recursive

private boolean recursive
.

Constructor Detail

SinkCommand

public SinkCommand(String target,
                   boolean recursive)
Method Detail

execute

protected void execute(javax.jcr.Session session,
                       String path)
                throws Exception
Specified by:
execute in class SCPCommand
Throws:
Exception


Copyright © 2014 eXo Platform SAS. All Rights Reserved.