Examples of create()


Examples of hudson.plugins.libvirt.lib.IDomain.create()

            Map<String, IDomain> computers = virtualMachine.getHypervisor().getDomains();
            IDomain domain = computers.get(virtualMachine.getName());
            if (domain != null) {
                if( domain.isNotBlockedAndNotRunning() ) {
                    taskListener.getLogger().println("Starting, waiting for " + WAIT_TIME_MS + "ms to let it fully boot up...");
                    domain.create();
                    Thread.sleep(WAIT_TIME_MS);

                    int attempts = 0;
                    while (true) {
                        attempts++;

Examples of ij.plugin.frame.Editor.create()

                path = "/macros/"+label;
        if (IJ.shiftKeyDown()) {
          String macros = mi.openFromIJJar(path);
                    Editor ed = new Editor();
                    ed.setSize(350, 300);
                    ed.create(label, macros);
                  IJ.setKeyUp(KeyEvent.VK_SHIFT);
        } else
          mi.installFromIJJar(path);
            } else {
                // load from ImageJ/macros/toolsets

Examples of in.partake.model.fixture.impl.EventTestDataProvider.create()

        }.execute();
    }

    private Event createEvent(String eventId, String userId) {
        EventTestDataProvider provider = PartakeTestApp.getTestService().getTestDataProviderSet().getEventProvider();
        Event event = provider.create();

        event.setId(eventId);
        event.setOwnerId(userId);

        return event;

Examples of in.partake.service.IEventSearchService.create()

        if (!event.isSearchable())
            searchService.remove(eventId);
        else if (searchService.hasIndexed(eventId))
            searchService.update(event, tickets);
        else
            searchService.create(event, tickets);

        return renderOK();
    }
}

Examples of info.bliki.pdf.PDFGenerator.create()

    // System.out.println(renderedXHTML);
    File baseDirectory = new File(baseDirectoryName);
    try {
      URL url = baseDirectory.toURI().toURL();
      PDFGenerator gen = new PDFGenerator(url);
      gen.create(baseDirectoryName + '/' + filename, renderedXHTML,
          PDFGenerator.HEADER_TEMPLATE, PDFGenerator.FOOTER,
          "Big Test", cssStyle);
    } catch (Exception e) {
      e.printStackTrace();
    }

Examples of info.bliki.wiki.addon.docbook.DocbookGenerator.create()

  public void testDocbook() {
    WikiModel myWikiModel = new WikiTestModel("file:///c:/temp/${image}", "file:///c:/temp/${title}");
    String renderedXHTML = myWikiModel.render(TEST1);
    DocbookGenerator gen = new DocbookGenerator();
    try {
      String output = gen.create(renderedXHTML, DocbookGenerator.HEADER_TEMPLATE, DocbookGenerator.FOOTER, "Big Docbook Test");
      System.out.println(output);
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

Examples of io.covert.dns.storage.accumulo.mutgen.MutationGeneratorFactory.create()

   
    List<MutationGenerator> generators = new LinkedList<MutationGenerator>();
    for(String factoryClass : conf.get("accumulo.storage.module.mutation.generator.factories").split(","))
    {
      MutationGeneratorFactory mutGenFact = ((Class<MutationGeneratorFactory>)Class.forName(factoryClass)).newInstance();
      generators.add(mutGenFact.create(conf));
    }
   
    String inst = conf.get("accumulo.storage.module.instance.name");
    String zooKeepers = conf.get("accumulo.storage.module.zookeepers");
    String user = conf.get("accumulo.storage.module.user");

Examples of io.fabric8.api.ContainerProvider.create()

                                metadata.setFailure(new IllegalArgumentException("A container with name " + containerName + " already exists."));
                                metadatas.add(metadata);
                                return;
                            }
                            dataStore.get().createContainerConfig(containerOptions);
                            CreateContainerMetadata metadata = provider.create(containerOptions, containerListener);
                            if (metadata.isSuccess()) {
                                Container parent = containerOptions.getParent() != null ? getContainer(containerOptions.getParent()) : null;
                                //An ensemble server can be created without an existing ensemble.
                                //In this case container config will be created by the newly created container.
                                //TODO: We need to make sure that this entries are somehow added even to ensemble servers.

Examples of io.fabric8.api.ZooKeeperClusterBootstrap.create()

        Builder<?> builder = CreateEnsembleOptions.builder().agentEnabled(false).clean(true).zookeeperPassword(ADMIN_PASSWORD).waitForProvision(false);
        CreateEnsembleOptions options = builder.build();

        ZooKeeperClusterBootstrap bootstrap = ServiceLocator.getRequiredService(ZooKeeperClusterBootstrap.class);
        bootstrap.create(options);

        FabricService fabricService = ServiceLocator.getRequiredService(FabricService.class);
        Container[] containers = fabricService.getContainers();
        Assert.assertNotNull("Containers not null", containers);

Examples of io.fabric8.service.jclouds.JcloudsContainerProvider.create()

          CreateJCloudsContainerOptions opts = args.withUser(args.getUser(), args.getPassword(), "admin").build();

          FabricPlugin.getLogger().debug("Compute Service: " + opts.getComputeService());

          // finally create the image
          final CreateJCloudsContainerMetadata metadata = provider.create(opts, new CreationStateListener() {
            @Override
            public void onStateChange(String message) {
              monitor.subTask(message);
            }
          });
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.