diff options
Diffstat (limited to 'debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/NewExecutableInfo.java')
-rw-r--r-- | debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/NewExecutableInfo.java | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/NewExecutableInfo.java b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/NewExecutableInfo.java new file mode 100644 index 00000000000..68457ff2288 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.application/src/org/eclipse/cdt/debug/application/NewExecutableInfo.java @@ -0,0 +1,94 @@ +/******************************************************************************* + * Copyright (c) 2013, 2014 Mentor Graphics 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: + * Mentor Graphics - Initial API and implementation + * Red Hat Inc. - modified for use in Standalone Debugger + *******************************************************************************/ + +package org.eclipse.cdt.debug.application; + +/** + * This class provides information required to start + * debugging an executable. + */ +public class NewExecutableInfo { + private String fHostPath; + private String fTargetPath; + private String fBuildLog; + private String fArguments; + + public NewExecutableInfo(String hostPath, String targetPath, String buildLog, String args) { + super(); + fHostPath = hostPath; + fTargetPath = targetPath; + fBuildLog = buildLog; + fArguments = args; + } + + /** + * Returns the path of the executable on the host + */ + public String getHostPath() { + return fHostPath; + } + + /** + * Sets the path of the executable on the host + */ + public void setHostPath(String path) { + fHostPath = path; + } + + /** + * For remote sessions returns the path of the executable + * on the target. Otherwise returns null. + */ + public String getTargetPath() { + return fTargetPath; + } + + /** + * Sets the path of the executable on the target for remote executables + */ + public void setTargetPath(String path) { + fTargetPath = path; + } + + /** + * Get the build log path. + * + * @return the build log path or null + */ + public String getBuildLog() { + return fBuildLog; + } + + /** + * Sets the build log path. + * + * @param path + */ + public void setBuildLog(String path) { + fBuildLog = path; + } + + /** + * Returns the arguments to pass to the executable, or null + */ + public String getArguments() { + return fArguments; + } + + /** + * Sets the arguments to pass to the executable + */ + public void setArguments(String args) { + fArguments = args; + } + +}
\ No newline at end of file |