summaryrefslogtreecommitdiffstats
blob: d1f67b3486088b6cc57e1cd720e1a3c127f97399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*******************************************************************************
 * Copyright (c) 2007, 2012 Intel Corporation and others.
 * 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:
 * Intel Corporation - Initial API and implementation
 * Baltasar Belyavsky (Texas Instruments) - bug 340219: Project metadata files are saved unnecessarily
 *******************************************************************************/
package org.eclipse.cdt.core.settings.model.extension;

import org.eclipse.cdt.core.envvar.IEnvironmentContributor;
import org.eclipse.cdt.core.settings.model.ICOutputEntry;
import org.eclipse.cdt.core.settings.model.ICSettingBase;
import org.eclipse.core.resources.ICommand;
import org.eclipse.core.runtime.IPath;

public abstract class CBuildData extends CDataObject {
	@Override
	public final int getType() {
		return ICSettingBase.SETTING_BUILD;
	}

	public abstract IPath getBuilderCWD();

	public abstract void setBuilderCWD(IPath path);

	public abstract ICOutputEntry[] getOutputDirectories();

	public abstract void setOutputDirectories(ICOutputEntry[] entries);

	public abstract String[] getErrorParserIDs();

	public abstract void setErrorParserIDs(String[] ids);

	public abstract IEnvironmentContributor getBuildEnvironmentContributor();

	/**
	 * Override to return the build-command overlayed with data (eg. builder-arguments) managed by the build-system.
	 *
	 * @since 5.4
	 */
	public ICommand getBuildSpecCommand() {
		return null;
	}

}