public class ErrorTableEntry extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
errorStructCPIndex |
protected int |
ipFrom |
protected int |
ipTarget |
protected int |
ipTo |
protected int |
priority |
Constructor and Description |
---|
ErrorTableEntry(int ipFrom,
int ipTo,
int ipTarget,
int priority,
int errorStructCPIndex) |
Modifier and Type | Method and Description |
---|---|
TypeDefInfo |
getError() |
int |
getErrorStructCPIndex()
returns ErrorStructCPEntryIndex.
|
int |
getIpFrom() |
int |
getIpTarget() |
int |
getIpTo() |
static ErrorTableEntry |
getMatch(PackageInfo packageInfo,
int currentIP,
BMap<String,BValue> error) |
int |
getPriority() |
boolean |
matchRange(int currentIP) |
void |
setError(TypeDefInfo error) |
void |
setPackageInfo(PackageInfo packageInfo) |
String |
toString() |
protected int ipFrom
protected int ipTo
protected int ipTarget
protected int priority
protected int errorStructCPIndex
public ErrorTableEntry(int ipFrom, int ipTo, int ipTarget, int priority, int errorStructCPIndex)
public int getIpFrom()
public int getIpTo()
public int getIpTarget()
public int getPriority()
public int getErrorStructCPIndex()
public void setPackageInfo(PackageInfo packageInfo)
public TypeDefInfo getError()
public void setError(TypeDefInfo error)
public boolean matchRange(int currentIP)
public static ErrorTableEntry getMatch(PackageInfo packageInfo, int currentIP, BMap<String,BValue> error)
Copyright © 2018 WSO2. All rights reserved.