/**********************************************************************
* Copyright (c) 2012 Ericsson
- *
+ *
* 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:
+ *
+ * Contributors:
* Bernd Hufmann - Initial API and implementation
**********************************************************************/
package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile;
/**
- * <b><u>ImportFileInfo</u></b>
* <p>
* Helper class for storing information about a remote file to import.
* </p>
+ *
+ * @author Bernd Hufmann
*/
public class ImportFileInfo {
// ------------------------------------------------------------------------
// Attributes
// ------------------------------------------------------------------------
+ /**
+ * Remote file reference
+ */
private IRemoteFile fRemoteFile;
+ /**
+ * Local Trace Name
+ */
private String fLocalTraceName;
+ /**
+ * Global overwrite flag
+ */
private boolean fIsOverwrite;
// ------------------------------------------------------------------------
// Constructors
// ------------------------------------------------------------------------
+ /**
+ * Standard constructor
+ * @param file A remote file reference
+ * @param traceName A trace name
+ * @param isOverwrite global overwrite flag
+ */
public ImportFileInfo(IRemoteFile file, String traceName, boolean isOverwrite) {
fRemoteFile = file;
fLocalTraceName = traceName;
}
/**
* Sets the overwrite flag.
- * @param isOverwrite
+ * @param isOverwrite If the Overwrite checkbox is checked or not
*/
public void setOverwrite(boolean isOverwrite) {
this.fIsOverwrite = isOverwrite;
}
/**
* Sets the remote file implementation
- * @param the remote file implementation.
+ * @param remoteFile The remote file implementation.
*/
public void setRemoteFile(IRemoteFile remoteFile) {
fRemoteFile = remoteFile;