|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.util.overview.Fix
public class Fix
Holds information about a suggested fix to a failure.
Failure.getFixes()
Field Summary | |
---|---|
private AnnotationType |
annotationType
|
private DataFileType |
fileType
|
private boolean |
fromInherited
|
private BasicItem |
item
|
private FileSetMember |
member
|
private String |
message
|
Constructor Summary | |
---|---|
Fix(String message,
BasicItem item)
Create a new suggested fix for an item. |
|
Fix(String message,
BasicItem item,
AnnotationType annotationType,
boolean fromInherited)
Create a new suggested fix for the annotation of an item. |
|
Fix(String message,
BasicItem item,
DataFileType fileType)
|
|
Fix(String message,
BasicItem item,
FileSetMember member)
|
Method Summary | |
---|---|
AnnotationType |
getAnnotationType()
Get the annotation type of the annotation that needs to be edited for this fix. |
DataFileType |
getDataFileType()
|
FileSetMember |
getFileSetMember()
|
BasicItem |
getItem()
Get the item that needs to be edited for this fix. |
String |
getMessage()
Get a message explaining what needs to be fixed. |
boolean |
isAnnotationFix()
If this fix involves editing an annotation or not. |
boolean |
isDataFileFix()
|
boolean |
isFromInherited()
If this fix involves editing an inherited annotation or a primary annotation. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private String message
private BasicItem item
private AnnotationType annotationType
private boolean fromInherited
private FileSetMember member
private DataFileType fileType
Constructor Detail |
---|
public Fix(String message, BasicItem item)
message
- A message explaining what needs to be fixeditem
- The item that needs to be edited by this fixpublic Fix(String message, BasicItem item, AnnotationType annotationType, boolean fromInherited)
message
- A message explaining what needs to be fixeditem
- The item that needs to be edited by this fixannotationType
- The annotation that needs to be edited by this fix or null if
the fix doesn't include annotationsfromInherited
- TRUE if the annotation is an inherited annotation or
FALSE if it is a primary annotationpublic Fix(String message, BasicItem item, FileSetMember member)
public Fix(String message, BasicItem item, DataFileType fileType)
Method Detail |
---|
public String getMessage()
public BasicItem getItem()
public AnnotationType getAnnotationType()
public boolean isAnnotationFix()
isFromInherited()
public boolean isFromInherited()
isAnnotationFix()
public FileSetMember getFileSetMember()
public DataFileType getDataFileType()
public boolean isDataFileFix()
public String toString()
toString
in class Object
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |