Examples of withHostname()


Examples of com.github.dockerjava.api.command.CommitCmd.withHostname()

       
       
        String hostname = DockerHelper.getProperty(DockerConstants.DOCKER_HOSTNAME, configuration, message, String.class);

        if (hostname != null) {
            commitCmd.withHostname(hostname);
        }
       
        Integer memory = DockerHelper.getProperty(DockerConstants.DOCKER_MEMORY, configuration, message, Integer.class);

        if (memory != null) {
View Full Code Here

Examples of com.github.dockerjava.api.command.CreateContainerCmd.withHostName()

        }
       
        String hostName = DockerHelper.getProperty(DockerConstants.DOCKER_HOSTNAME, configuration, message, String.class);

        if (hostName != null) {
            createContainerCmd.withHostName(hostName);
       
       
        String[] portSpecs = DockerHelper.parseDelimitedStringHeader(DockerConstants.DOCKER_PORT_SPECS, message);

        if (portSpecs != null) {
View Full Code Here

Examples of com.rupertjones.globalcron.server.HostBuilder.withHostname()

    @Test
    public void test_date_in_used_timezones() {

        HostBuilder hostBuilder = new HostBuilder();
        hostBuilder.withHostname("foo");
        Host host = hostBuilder.build();
        hostDAO.upsert(host);

        JobDescriptor job = new JobDescriptor();
        job.setCron("* * * * ?");
 
View Full Code Here

Examples of org.sonatype.nexus.component.source.api.http.HttpProxyConfig.withHostname()

                                           final String prefix)
  {
    HttpProxyConfig httpProxyConfig = null;
    if (configMap.containsKey(prefix + ".hostname")) {
      httpProxyConfig = new HttpProxyConfig();
      httpProxyConfig.withHostname((String) configMap.get(prefix + ".hostname"));
      httpProxyConfig.withPort((Integer) configMap.get(prefix + ".port"));
      httpProxyConfig.withAuthenticationConfig(authenticationFromMap(configMap, prefix));
    }
    return httpProxyConfig;
  }
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.