blob: 80fab85835f78c4da3c277a2158b646bab229f14 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 University of Illinois All rights reserved. This program
* and the accompanying materials are 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:
* Albert L. Rossi - original API and implementation
******************************************************************************/
package org.eclipse.ptp.rm.pbs.core.templates;
import org.eclipse.ptp.rm.pbs.core.IPBSNonNLSConstants;
import org.eclipse.ptp.rm.pbs.core.rmsystem.PBSResourceManagerConfiguration;
/**
* @since 5.0
*/
public class PBSAttributeToTemplateConverterFactory implements IPBSNonNLSConstants {
public static IPBSAttributeToTemplateConverter getConverter(PBSResourceManagerConfiguration config) {
PBSXMLAttributeToTemplateConverter pbsConverter = new PBSXMLAttributeToTemplateConverter();
pbsConverter.setResourcePath(config.getProxyConfiguration());
return pbsConverter;
}
}