class ParseCloud {

  public static <T> Task<T> callFunctionInBackground(final String name,
      final Map<String, ?> params) {
    return ParseUser.getCurrentSessionTokenAsync().onSuccessTask(new Continuation<String, Task<T>>() {
      @Override
      public Task<T> then(Task<String> task) throws Exception {
        String sessionToken = task.getResult();
        return getCloudCodeController().callFunctionInBackground(name, params, sessionToken);
      }
    });
  }

  private  ParseCloud();

}