blob: c90d4e726ab7a3146af9422f9825aa9649f10479 (
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
/*******************************************************************************
* Copyright (c) 2004, 2011 Intel 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:
* Intel Corporation - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.internal.core;
import org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo;
public class ManagedCommandLineInfo implements IManagedCommandLineInfo {
private String commandLine;
private String commandLinePattern;
private String commandName;
private String flags;
private String outputFlag;
private String outputPrefix;
private String outputName;
private String inputResources;
public ManagedCommandLineInfo(String commandLine, String commandLinePattern, String commandName, String flags,
String outputFlag, String outputPrefix, String outputName, String inputResources) {
this.commandLine = commandLine;
this.commandLinePattern = commandLinePattern;
this.commandName = commandName;
this.flags = flags;
this.outputFlag = outputFlag;
this.outputPrefix = outputPrefix;
this.outputName = outputName;
this.inputResources = inputResources;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandLine()
*/
@Override
public String getCommandLine() {
return this.commandLine;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandLinePattern()
*/
@Override
public String getCommandLinePattern() {
return this.commandLinePattern;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getCommandName()
*/
@Override
public String getCommandName() {
return this.commandName;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getFlags()
*/
@Override
public String getFlags() {
return this.flags;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputFlag()
*/
@Override
public String getOutputFlag() {
return this.outputFlag;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputPrefix()
*/
@Override
public String getOutputPrefix() {
return this.outputPrefix;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getOutputName()
*/
@Override
public String getOutput() {
return this.outputName;
}
/* (non-Javadoc)
* @see org.eclipse.cdt.managedbuilder.core.IManagedCommandLineInfo#getInputResources()
*/
@Override
public String getInputs() {
return this.inputResources;
}
}
|