org.crsh.shell
Class ShellResponse.Ok

java.lang.Object
  extended by org.crsh.shell.ShellResponse
      extended by org.crsh.shell.ShellResponse.Ok
Direct Known Subclasses:
ShellResponse.Display
Enclosing class:
ShellResponse

public static class ShellResponse.Ok
extends ShellResponse

Command execution is terminated.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.crsh.shell.ShellResponse
ShellResponse.Cancelled, ShellResponse.Close, ShellResponse.Display, ShellResponse.Error, ShellResponse.NoCommand, ShellResponse.Ok, ShellResponse.UnknownCommand
 
Field Summary
private  Iterable<?> produced
          .
 
Constructor Summary
private ShellResponse.Ok()
           
private ShellResponse.Ok(Iterable<?> produced)
           
 
Method Summary
 Iterable<?> getProduced()
           
 String getText()
           
 
Methods inherited from class org.crsh.shell.ShellResponse
cancelled, close, display, display, error, error, evalError, evalError, internalError, internalError, noCommand, ok, ok, unknownCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

produced

private final Iterable<?> produced
.

Constructor Detail

ShellResponse.Ok

private ShellResponse.Ok()

ShellResponse.Ok

private ShellResponse.Ok(Iterable<?> produced)
Method Detail

getProduced

public Iterable<?> getProduced()

getText

public String getText()
Specified by:
getText in class ShellResponse


Copyright © 2012 eXo Platform SAS. All Rights Reserved.