Examples of mode()


Examples of com.asakusafw.runtime.core.context.RuntimeContext.mode()

        assert script != null;
        RuntimeContext rc = RuntimeContext.get().batchId(script.getId()).buildId(script.getBuildId());

        Ternary dryRunResult = consumeBoolean(copyDefinitions, KEY_VERIFY_DRYRUN);
        if (dryRunResult == Ternary.TRUE) {
            rc = rc.mode(ExecutionMode.SIMULATION);
        } else if (dryRunResult == Ternary.FALSE) {
            rc = rc.mode(ExecutionMode.PRODUCTION);
        }

        Ternary verify = consumeBoolean(copyDefinitions, KEY_VERIFY_APPLICATION);
View Full Code Here

Examples of com.github.kristofa.test.http.MockAndProxyFacade.Builder.mode()

        }
    }

    private MockAndProxyFacade buildFacade(final Mode mode) {
        final Builder builder = new Builder();
        return builder
            .mode(mode)
            .addForwardHttpRequestBuilder(new PassthroughForwardHttpRequestBuilder("localhost", SERVICE_PORT))
            .httpRequestResponseLoggerFactory(new HttpRequestResponseFileLoggerFactory(LOGGING_DIRECTORY, LOGGING_FILE_NAME))
            .port(MOCK_PROXY_PORT).httpResponseProvider(new FileHttpResponseProvider(LOGGING_DIRECTORY, LOGGING_FILE_NAME))
            .build();
View Full Code Here

Examples of com.google.appengine.tools.mapreduce.BigQueryDataField.mode()

      if (field.getType().isPrimitive()) {
        return BigQueryFieldMode.REQUIRED.getValue();
      }
      return null;
    }
    return bq.mode().getValue();
  }

  /**
   * @param parameterizedType
   * @return runtime type of the generic parameter.
View Full Code Here

Examples of com.smartcodeltd.jenkinsci.plugins.buildmonitor_acceptance.pageobjects.jenkins.NewView.mode()

        this.configurationPlan = new ArrayList<Action>() {{
            NewView newView = NewView.screen();

            add(navigateTo(newView));
            add(enter(name, newView.name()));
            add(click(newView.mode("Build Monitor View")));
            add(click(newView.OK()));
        }};
    }
}
View Full Code Here

Examples of de.danet.an.workflow.api.FormalParameter.mode()

                    Element binding
                        = doc.createElementNS(XMLUtil.XMLNS_XFORMS, "bind");
                    binding.setAttribute("id", applicationId + ":" + fp.id());
                    binding.setAttribute
                        ("nodeset", "ActualParameter[@name='" + fp.id() + "']");
                    if (fp.mode() == FormalParameter.Mode.IN) {
                        binding.setAttribute ("readonly", "true()");
                    }
                    if (fp.type().equals(Date.class)) {
                        binding.setAttribute ("type", "date");
                    }
View Full Code Here

Examples of gnu.hylafax.HylaFAXClient.mode()

       
        HylaFAXClient client = JHylaFAX.getInstance().getConnection(monitor);
        monitor.work(1);
       
        monitor.setText(i18n.tr("Setting mode"));
        client.mode(HylaFAXClient.MODE_STREAM);
        client.type(HylaFAXClient.TYPE_IMAGE);
        monitor.work(1);

        monitor.setText(i18n.tr("Downloading file"));
        TransferMonitor transferMonitor = new TransferMonitor(monitor, 10, size);
View Full Code Here

Examples of gnu.hylafax.HylaFAXClient.mode()

        monitor.setTotalSteps(13 + fax.documents.size() * 10);
       
        HylaFAXClient client = JHylaFAX.getInstance().getConnection(monitor);
        monitor.work(1);

        client.mode(HylaFAXClient.MODE_STREAM);
        client.type(HylaFAXClient.TYPE_IMAGE);

        String serverCoverFilename = null;
        if (fax.cover != null && fax.coverIn != null) {
          monitor.setText(i18n.tr("Generating cover"));
View Full Code Here

Examples of javax.jws.WebParam.mode()

            annot.setName(webParam.name());
            annot.setTargetNamespace(webParam.targetNamespace());
            annot.setHeader(webParam.header());
            annot.setPartName(webParam.partName());
           
            if (webParam.mode() == WebParam.Mode.IN)
            {
                annot.setMode(WebParamAnnotation.MODE_IN);
            }
            else if (webParam.mode() == WebParam.Mode.INOUT)
            {
View Full Code Here

Examples of javax.jws.WebParam.mode()

           
            if (webParam.mode() == WebParam.Mode.IN)
            {
                annot.setMode(WebParamAnnotation.MODE_IN);
            }
            else if (webParam.mode() == WebParam.Mode.INOUT)
            {
                annot.setMode(WebParamAnnotation.MODE_INOUT);
            }
            else if (webParam.mode() == WebParam.Mode.OUT)
            {
View Full Code Here

Examples of javax.jws.WebParam.mode()

            }
            else if (webParam.mode() == WebParam.Mode.INOUT)
            {
                annot.setMode(WebParamAnnotation.MODE_INOUT);
            }
            else if (webParam.mode() == WebParam.Mode.OUT)
            {
                annot.setMode(WebParamAnnotation.MODE_OUT);
            }

            return annot;
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.