org.wiperdog.rshell.api
Interface RShell


public interface RShell

Restricted Shell Definition interface.

Author:
kurohara

Method Summary
 String getName()
          get name of this Restricted Shell.
 String getProgramArgs()
          get program arguemts.
 long getTimeout()
          get timeout for running.
 long getXferLimit()
          get transfer limit size.
 Process run(String param)
          start process with parameters.
 Process run(String[] parameters)
          start process with parameters.
 

Method Detail

getName

String getName()
get name of this Restricted Shell.

Returns:

getProgramArgs

String getProgramArgs()
get program arguemts.

Returns:

getXferLimit

long getXferLimit()
get transfer limit size.

Returns:

getTimeout

long getTimeout()
get timeout for running.

Returns:

run

Process run(String[] parameters)
            throws IOException
start process with parameters.

Parameters:
parameters -
Returns:
Throws:
IOException

run

Process run(String param)
            throws IOException
start process with parameters.

Parameters:
param -
Returns:
Throws:
IOException


Copyright © 2013. All Rights Reserved.