7.0 Action Request System Java API

com.remedy.arsys.api
Class ProcessResult

java.lang.Object
  extended bycom.remedy.arsys.api.ProcessResult

public class ProcessResult
extends java.lang.Object

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.


Method Summary
 java.lang.String getOutput()
          Returns string containing the process output.
 int getStatus()
          Returns an integer identifying the status of the operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 java.lang.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).


7.0 Action Request System Java API