Skip navigation links
oracle.wsm.common.sdk
Class Result
java.lang.Object
oracle.wsm.common.sdk.Result
- All Implemented Interfaces:
- IResult
-
public class Result
- extends Object
- implements IResult
Result encapulates the result of pipeline and step executions.
Result
public Result()
getStatus
public int getStatus()
-
- Specified by:
getStatus
in interface IResult
-
- Returns:
- the execution status
setStatus
public void setStatus(int status)
- Set the execution status
-
- Specified by:
setStatus
in interface IResult
-
- Parameters:
status
-
getFault
public WSMException getFault()
- Return the fault that caused this request execution to fail. This is normally set by the framework after it has tried with all applicable fault handlers.
-
- Specified by:
getFault
in interface IResult
-
- Returns:
- fault
setFault
public void setFault(WSMException fault)
- Set the fault that caused this request execution to fail. This is normally set by the framework after it has tried with all applicable fault handlers. Step implementations should NOT use this method, instead they should call generateFault().
-
- Specified by:
setFault
in interface IResult
-
- Parameters:
fault
-
toString
public String toString()
-
- Overrides:
toString
in class Object
-
- Returns:
- Result in string form
Skip navigation links
Copyright © 2007, 2009. Oracle. All rights reserved.