This project has retired. For details please refer to its Attic page.
APIResult (Lens 2.0.1-beta-incubating API)

org.apache.lens.api
Class APIResult

java.lang.Object
  extended by org.apache.lens.api.APIResult

public class APIResult
extends Object

APIResult is the output returned by all the APIs; status-SUCCEEDED or FAILED message- detailed message.


Nested Class Summary
static class APIResult.Status
          API Result status.
 
Constructor Summary
APIResult(APIResult.Status status, String message)
          Instantiates a new API result.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

APIResult

public APIResult(APIResult.Status status,
                 String message)
Instantiates a new API result.

Parameters:
status - the status
message - the message
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.