org.apache.oozie.client.rest
Interface JsonBean

All Known Implementing Classes:
BulkResponseImpl, BundleActionBean, BundleJobBean, CoordinatorActionBean, CoordinatorJobBean, JsonBundleJob, JsonCoordinatorAction, JsonCoordinatorJob, JsonSLAEvent, JsonWorkflowAction, JsonWorkflowJob, SLAEventBean, WorkflowActionBean, WorkflowJobBean

public interface JsonBean

Inteface for beans that serialize into JSON.


Method Summary
 org.json.simple.JSONObject toJSONObject()
          Return the JSONObject for the bean with GMT time zone.
 org.json.simple.JSONObject toJSONObject(String timeZoneId)
          Return the JSONObject for the bean with the given time zone.
 

Method Detail

toJSONObject

org.json.simple.JSONObject toJSONObject()
Return the JSONObject for the bean with GMT time zone.

Returns:
the JSONObject for the bean with GMT time zone.

toJSONObject

org.json.simple.JSONObject toJSONObject(String timeZoneId)
Return the JSONObject for the bean with the given time zone.

Parameters:
timeZoneId - the time zone to use
Returns:
the JSONObject for the bean with the given time zone.


Copyright © 2013 Apache Software Foundation. All Rights Reserved.