org.glassfish.paas.gfplugin
Class RemoteCommandResult

java.lang.Object
  extended by org.glassfish.paas.gfplugin.RemoteCommandResult
All Implemented Interfaces:
CommandResult

public class RemoteCommandResult
extends Object
implements CommandResult

Author:
bhavanishankar@java.net

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.embeddable.CommandResult
CommandResult.ExitStatus
 
Constructor Summary
RemoteCommandResult(int exitStatus, String output, Throwable t)
           
 
Method Summary
 CommandResult.ExitStatus getExitStatus()
           
 Throwable getFailureCause()
           
 String getOutput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCommandResult

public RemoteCommandResult(int exitStatus,
                           String output,
                           Throwable t)
Method Detail

getExitStatus

public CommandResult.ExitStatus getExitStatus()
Specified by:
getExitStatus in interface CommandResult

getOutput

public String getOutput()
Specified by:
getOutput in interface CommandResult

getFailureCause

public Throwable getFailureCause()
Specified by:
getFailureCause in interface CommandResult


Copyright © 2012. All Rights Reserved.