blob: 223410a8acd3425a0bf1ae1adf3dd5cf55e3295d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 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 Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ant.internal.launching;
/**
* Stores detailed data of Link. Used to create linked messages.
*/
public class LinkDescriptor {
String line;
String fileName;
int lineNumber;
int offset;
int length;
public LinkDescriptor(String line, String fileName, int lineNumber, int offset, int length) {
super();
this.line = line;
this.fileName = fileName;
this.lineNumber = lineNumber;
this.offset = offset;
this.length = length;
}
public String getLine() {
return line;
}
public void setLine(String line) {
this.line = line;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public int getLineNumber() {
return lineNumber;
}
public void setLineNumber(int lineNumber) {
this.lineNumber = lineNumber;
}
public int getOffset() {
return offset;
}
public void setOffset(int offset) {
this.offset = offset;
}
public int getLength() {
return length;
}
public void setLength(int length) {
this.length = length;
}
}