blob: baba206cc4ef715944d9d3a831396c3d64e15534 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation 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:
* 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;
}
}