Example usage for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteSecret

List of usage examples for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteSecret

Introduction

In this page you can find the example usage for org.springframework.ide.eclipse.boot.launch.devtools BootDevtoolsClientLaunchConfigurationDelegate setRemoteSecret.

Prototype

public static void setRemoteSecret(ILaunchConfigurationWorkingCopy conf, String value) 

Source Link

Usage

From source file:org.springframework.ide.eclipse.boot.dash.cloudfoundry.DevtoolsUtil.java

private static ILaunchConfiguration getOrCreateLaunchConfig(IProject project, String host, String debugSecret,
        CloudDashElement cde) throws CoreException {
    ILaunchConfiguration existing = findConfig(project, host);
    ILaunchConfigurationWorkingCopy wc;//  w  w w .j a v  a 2  s  . c om
    if (existing != null) {
        wc = existing.getWorkingCopy();
    } else {
        wc = createConfiguration(project, host);
    }
    BootDevtoolsClientLaunchConfigurationDelegate.setRemoteSecret(wc, debugSecret);
    setElement(wc, cde);
    return wc.doSave();
}