AR System Java API

com.bmc.arsys.api
Class ProcessResult

java.lang.Object
  extended by com.bmc.arsys.api.ProcessResult
All Implemented Interfaces:
Serializable

public class ProcessResult
extends Object
implements Serializable

The ProcessResult performs the indicated command on the specified server. Depending on the values you specify for the getStatus() and getOutput() parameters, you can execute the command as an independent process or wait for the process to complete and return the result to the client. The system executes the command based on the access privileges of the user who launched the AR System server.

See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 String getOutput()
          Returns string containing the process output.
 int getStatus()
          Returns an integer identifying the status of the operation.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getStatus

public int getStatus()
Returns an integer identifying the status of the operation. A value of 0 generally indicates success. Any other value generally indicates a failure. Specify NULL for this parameter and the getOutput parameter if you want the system to launch an independent process and not wait for it to complete. Otherwise, specify a value for this parameter if you want the system to wait for the process to complete before returning. If the process does not finish within the time-out interval, adjust the filter process time-out interval to prevent server blocking (configurable from 1 to 20 seconds).


getOutput

public String getOutput()
Returns string containing the process output. Depending on the outcome of the operation, this string contains either result data or an error message. Specify NULL for this parameter and the getStatus parameter if you want the system to launch an independent process and not wait for it to complete. Otherwise, specify a value for this parameter if you want the system to wait for the process to complete before returning. If the process does not finish within the time-out interval, adjust the filter process time-out interval to prevent server blocking (configurable from 1 to 20 seconds).


toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

AR System Java API

© Copyright 2006, 2007 BMC Software, Inc.