Examples of FabricDetails


Examples of org.fusesource.ide.fabric8.ui.actions.FabricDetails

              String uris = urisBuilder.toString();
              if(uris.endsWith(",")) {
                uris = uris.substring(0, uris.length() - 1);
              }
              FabricPlugin.getLogger().debug("Creating fabric with uris: " + uris);
              FabricDetails details = FabricDetails.newInstance(fabricName, uris);
              details.setUserName(arguments.getUser());
              details.setPassword(arguments.getPassword());
              details.setZkPassword(arguments.getZookeeperPassword());
              new FabricDetailsAddAction(fabrics).addCloud(details);
            }});
          return Status.OK_STATUS;
        } catch (Throwable e) {
          return new Status(Status.ERROR, FabricPlugin.PLUGIN_ID, "Failed to create Fabric: " + fabricName, e);
View Full Code Here

Examples of org.fusesource.ide.fabric8.ui.actions.FabricDetails

  /**
   * Adds a new fabric
   * @return
   */
  public Fabric addFabric(String fabricName, String uris) {
    FabricDetails details = FabricDetails.newInstance(fabricName, uris);
    FabricPlugin.getLogger().debug("Created fabric details: " + details);
    return addFabric(details);
  }
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.