com.shephertz.app42.paas.sdk.jme.customcode
Class CustomCodeService

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.customcode.CustomCodeService

public class CustomCodeService
extends java.lang.Object

Service to Deploy and call Custom code

See Also:
Email

Constructor Summary
CustomCodeService(java.lang.String apiKey, java.lang.String secretKey)
          this is a constructor that takes
 
Method Summary
 org.json.jme.JSONObject runJavaCode(java.lang.String name, org.json.jme.JSONObject jsonBody)
          Runs custom code deployed in the App42 Cloud
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomCodeService

public CustomCodeService(java.lang.String apiKey,
                         java.lang.String secretKey)
this is a constructor that takes

Parameters:
apiKey -
secretKey -
baseURL -
Method Detail

runJavaCode

public org.json.jme.JSONObject runJavaCode(java.lang.String name,
                                           org.json.jme.JSONObject jsonBody)
Runs custom code deployed in the App42 Cloud

Parameters:
name - - Name of deployed CustomCode Service
jsonBody - - Request Body in JSON format
Returns:
JSONObject