Examples of param()


Examples of com.google.appengine.api.taskqueue.TaskOptions.param()

    for (String kind : kindsToExport) {
      t.param("kind", kind);
    }
    t.param("filesystem", "gs");
    t.param("gs_bucket_name", bucketName);
    t.param("run_as_a_service", Boolean.TRUE.toString());
   
    t.param("queue", queueName);
   
    t.method(Method.GET);
    t.header("Host", BackendServiceFactory.getBackendService().getBackendAddress(AH_BUILTIN_PYTHON_BUNDLE));
View Full Code Here

Examples of com.google.appengine.api.taskqueue.TaskOptions.param()

    }
    t.param("filesystem", "gs");
    t.param("gs_bucket_name", bucketName);
    t.param("run_as_a_service", Boolean.TRUE.toString());
   
    t.param("queue", queueName);
   
    t.method(Method.GET);
    t.header("Host", BackendServiceFactory.getBackendService().getBackendAddress(AH_BUILTIN_PYTHON_BUNDLE));
   
    return t;
View Full Code Here

Examples of com.google.appengine.api.taskqueue.TaskOptions.param()

      else {
        queue = QueueFactory.getQueue(config.getQueueName());
      }
      TaskOptions t = TaskOptions.Builder.withUrl(TASK_URL);
     
      t.param(AnalysisConstants.LOGS_EXPORTER_CONFIGURATION_PARAM, logsExporterConfigurationClassName);
      t.param(AnalysisConstants.LOG_RANGE_START_MS, Long.toString(logRangeStartMs));
      t.param(AnalysisConstants.LOG_RANGE_END_MS, Long.toString(logRangeEndMs));
      t.etaMillis(logRangeEndMs + AnalysisConstants.MILLIS_TO_DELAY_TASKS_BEFORE_RUNNING);
      t.method(Method.GET);
     
View Full Code Here

Examples of com.google.appengine.api.taskqueue.TaskOptions.param()

        queue = QueueFactory.getQueue(config.getQueueName());
      }
      TaskOptions t = TaskOptions.Builder.withUrl(TASK_URL);
     
      t.param(AnalysisConstants.LOGS_EXPORTER_CONFIGURATION_PARAM, logsExporterConfigurationClassName);
      t.param(AnalysisConstants.LOG_RANGE_START_MS, Long.toString(logRangeStartMs));
      t.param(AnalysisConstants.LOG_RANGE_END_MS, Long.toString(logRangeEndMs));
      t.etaMillis(logRangeEndMs + AnalysisConstants.MILLIS_TO_DELAY_TASKS_BEFORE_RUNNING);
      t.method(Method.GET);
     
      String name = LogExportDirectToBigqueryTask.class.getSimpleName() + "_" + Long.toString(logRangeStartMs) + "_" + Long.toString(logRangeEndMs);
View Full Code Here

Examples of com.google.appengine.api.taskqueue.TaskOptions.param()

      }
      TaskOptions t = TaskOptions.Builder.withUrl(TASK_URL);
     
      t.param(AnalysisConstants.LOGS_EXPORTER_CONFIGURATION_PARAM, logsExporterConfigurationClassName);
      t.param(AnalysisConstants.LOG_RANGE_START_MS, Long.toString(logRangeStartMs));
      t.param(AnalysisConstants.LOG_RANGE_END_MS, Long.toString(logRangeEndMs));
      t.etaMillis(logRangeEndMs + AnalysisConstants.MILLIS_TO_DELAY_TASKS_BEFORE_RUNNING);
      t.method(Method.GET);
     
      String name = LogExportDirectToBigqueryTask.class.getSimpleName() + "_" + Long.toString(logRangeStartMs) + "_" + Long.toString(logRangeEndMs);
      log.warning("exportTaskName: " + name);
View Full Code Here

Examples of com.google.appengine.api.taskqueue.TaskOptions.param()

   
    for(String id: ids) {
      if(taskNameDAO.getTaskName(id) == null) {
        String name = id+"-"+date.getTime();
        TaskOptions taskOpt = TaskOptions.Builder.withUrl("/automatedupdate");
        taskOpt.param("mensa", id);
        taskOpt.method(Method.GET);
        taskOpt.taskName(name);
        queue.add(taskOpt);
        TaskName taskName = new TaskName();
        taskName.setIdentifier(id);
View Full Code Here

Examples of com.helger.jcodemodel.JAnnotationArrayMember.param()

        JDefinedClass factory = buildFactoryClass(constructorMethods);

        JFieldVar factoryField = valueClass.field(JMod.PRIVATE | JMod.STATIC | JMod.FINAL, factory, "FACTORY");
        JAnnotationUse fieldAnnotationUse = factoryField.annotate(SuppressWarnings.class);
        JAnnotationArrayMember paramArray = fieldAnnotationUse.paramArray("value");
        paramArray.param("unchecked");
        paramArray.param("rawtypes");

        factoryField.init(JExpr._new(factory));
        JMethod factoryMethod = valueClass.method(JMod.PUBLIC | JMod.STATIC, types._void, "factory");
        factoryMethod.annotate(Nonnull.class);
View Full Code Here

Examples of com.helger.jcodemodel.JAnnotationUse.param()

                JAnnotationUse annotationUse = annotatable.annotate((AbstractJClass)toJType(annotation.getAnnotationType(), typeEnvironment));
                for (Map.Entry<? extends ExecutableElement, ? extends AnnotationValue> annotationValueAssignment: annotation.getElementValues().entrySet()) {
                    String name = annotationValueAssignment.getKey().getSimpleName().toString();
                    Object value = annotationValueAssignment.getValue().getValue();
                    if (value instanceof String)
                        annotationUse.param(name, (String)value);
                    else if (value instanceof Integer)
                        annotationUse.param(name, (Integer)value);
                    else if (value instanceof Long)
                        annotationUse.param(name, (Long)value);
                    else if (value instanceof Short)
View Full Code Here

Examples of com.helger.jcodemodel.JMethod.param()

        return valueClass.field(JMod.PRIVATE | JMod.FINAL, usedAcceptingInterfaceType, "acceptor");
    }

    void buildPrivateConstructor(JFieldVar acceptorField) {
        JMethod constructor = valueClass.constructor(JMod.PRIVATE);
        constructor.param(acceptorField.type(), acceptorField.name());
        constructor.body().assign(JExpr.refthis(acceptorField.name()), JExpr.ref(acceptorField.name()));
    }

    void buildProtectedConstructor(JFieldVar acceptorField, Serialization serialization) throws JClassAlreadyExistsException {
        JMethod constructor = valueClass.constructor(JMod.PROTECTED);
View Full Code Here

Examples of com.mongodb.hadoop.testutils.MapReduceJob.param()

        job.execute(isRunTestInVm());

        compareResults(collection, getReference());
        collection.drop();

        job.param(INPUT_QUERY, "{\"_id\":{\"$gt\":{\"$date\":1182470400000}}}").execute(isRunTestInVm());
        // Make sure that this fails when rangequery is used with a query that conflicts
        assertFalse("This collection shouldn't exist because of the failure",
                    getMongos().getDB("mongo_hadoop").getCollectionNames().contains("yield_historical.out"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.