Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a4b64764492bf9e0a1c060b843350b1913402ca0 (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*******************************************************************************
 * Copyright (c) 2004, 2010 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 * IBM - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.make.core.scannerconfig;

import java.util.List;

import org.eclipse.core.runtime.CoreException;

/**
 * New interface to replace IScannerConfigBuildInfo
 * Persisted in .cdtproject file
 * 
 * @author vhirsl
 * 
 * @noextend This class is not intended to be subclassed by clients.
 * @noimplement This interface is not intended to be implemented by clients.
 */
public interface IScannerConfigBuilderInfo2 {
	// general SCD options
	boolean isAutoDiscoveryEnabled();
	void setAutoDiscoveryEnabled(boolean enable);

	boolean isProblemReportingEnabled();
	void setProblemReportingEnabled(boolean enable);
	
	String getSelectedProfileId();
	void setSelectedProfileId(String profileId);

    List<String> getProfileIdList();
    
	// SCD profile - buildOutputProvider options 
	boolean isBuildOutputFileActionEnabled();
	void setBuildOutputFileActionEnabled(boolean enable);
	
	String getBuildOutputFilePath();
	void setBuildOutputFilePath(String path);
	
	boolean isBuildOutputParserEnabled();
	void setBuildOutputParserEnabled(boolean enable);
	
	// SCD profile - scanner info provider options
	List<String> getProviderIdList();
//	void addSIProvider(String providerId);
//	void removeSIProvider(String providerId);
	
	boolean isProviderOutputParserEnabled(String providerId);
	void setProviderOutputParserEnabled(String providerId, boolean enable);
	
	boolean isUseDefaultProviderCommand(String providerId);
	void setUseDefaultProviderCommand(String providerId, boolean enable);
	
	String getProviderRunCommand(String providerId);
	void setProviderRunCommand(String providerId, String command);
	
	String getProviderRunArguments(String providerId);
	void setProviderRunArguments(String providerId, String arguments);
	
	String getProviderOpenFilePath(String providerId);
	void setProviderOpenFilePath(String providerId, String filePath);
	
	InfoContext getContext();
	
    /**
     * Persist the buildInfo.
     */
    void save() throws CoreException;
}

Back to the top