blob: 236a67dfbdf03e6827a62b875ad5d6c127528aca [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012,2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.jsdt.debug.internal.node.launching;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
import org.eclipse.wst.jsdt.debug.core.jsdi.connect.AttachingConnector;
/**
* {@link AttachingConnector} for Node
*/
public class NodeAttachConnector implements AttachingConnector {
public static final String CONNECTOR_ID = "org.eclipse.wst.jsdt.debug.node.attaching.connector"; //$NON-NLS-1$
/**
* Constructor
*/
public NodeAttachConnector() {
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#defaultArguments()
*/
public Map defaultArguments() {
HashMap args = new HashMap();
//TODO add arguments
return args;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#description()
*/
public String description() {
return Messages.NodeAttachConnector_0;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#name()
*/
public String name() {
return Messages.NodeAttachConnector_1;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#id()
*/
public String id() {
return CONNECTOR_ID;
}
/* (non-Javadoc)
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.AttachingConnector#attach(java.util.Map)
*/
public VirtualMachine attach(Map arguments) throws IOException {
return null;
}
}