/******************************************************************************* 
 * Copyright (c) 2010 Red Hat, Inc. 
 * Distributed under license by Red Hat, Inc. All rights reserved. 
 * This program is made available under the terms of the 
 * Eclipse Public License v1.0 which accompanies this distribution, 
 * and is available at http://www.eclipse.org/legal/epl-v10.html 
 * 
 * Contributors: 
 * Red Hat, Inc. - initial API and implementation 
 ******************************************************************************/ 
package org.jboss.ide.eclipse.as.rse.core;

import org.eclipse.wst.server.core.IModule;
import org.eclipse.wst.server.core.IServer;
import org.jboss.ide.eclipse.as.core.modules.SingleDeployableFactory;
import org.jboss.ide.eclipse.as.core.publishers.AbstractServerToolsPublisher;

@Deprecated
public class RSESingleFilePublisher extends AbstractServerToolsPublisher {

	public boolean accepts(String method, IServer server, IModule[] module) {
//		if( RSEPublishMethod.RSE_ID.equals(method) 
//				&& module != null && module.length > 0 
//				&& module[module.length-1] != null  
//				&& module[module.length-1].getModuleType().getId().equals(SingleDeployableFactory.MODULE_TYPE))
//			return true;
		return false;
	}
}
