Examples of TunnelBehaviour


Examples of org.cloudfoundry.ide.eclipse.server.core.internal.client.TunnelBehaviour

    handler.stopAndDeleteCaldecottTunnel(serviceName, new NullProgressMonitor());

  }

  protected void assertNoTunnel(String serviceName) throws Exception {
    TunnelBehaviour handler = new TunnelBehaviour(cloudServer);
    assertFalse(handler.hasCaldecottTunnel(serviceName));
  }
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.client.TunnelBehaviour

    TunnelBehaviour handler = new TunnelBehaviour(cloudServer);
    assertFalse(handler.hasCaldecottTunnel(serviceName));
  }

  protected void assertTunnel(String serviceName) throws Exception {
    TunnelBehaviour handler = new TunnelBehaviour(cloudServer);
    assertTrue(handler.hasCaldecottTunnel(serviceName));
  }
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.client.TunnelBehaviour

    }
    return service;
  }

  protected CaldecottTunnelDescriptor createCaldecottTunnel(String serviceName) throws CoreException {
    TunnelBehaviour handler = new TunnelBehaviour(cloudServer);
    return handler.startCaldecottTunnel(serviceName, new NullProgressMonitor(), false);
  }
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.client.TunnelBehaviour

   */
  public List<IAction> getTunnelActions(IStructuredSelection selection,
      final CloudFoundryApplicationsEditorPage editorPage) {
    Collection<String> selectedServices = ModifyServicesForApplicationAction.getServiceNames(selection);
    List<IAction> actions = new ArrayList<IAction>();
    final TunnelBehaviour handler = new TunnelBehaviour(cloudServer);
    if (selectedServices != null && !selectedServices.isEmpty()) {
      final List<String> servicesWithTunnels = new ArrayList<String>();
      final CaldecottUIHelper uiHelper = new CaldecottUIHelper(cloudServer);
      final List<String> servicesToAdd = uiHelper.getServicesWithNoTunnel(selectedServices, handler,
          servicesWithTunnels);
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.