Class LiveViolationRecord
- java.lang.Object
-
- net.sourceforge.pmd.util.fxdesigner.model.testing.LiveViolationRecord
-
- All Implemented Interfaces:
Comparable<LiveViolationRecord>
,SettingsOwner
public class LiveViolationRecord extends Object implements SettingsOwner, Comparable<LiveViolationRecord>
-
-
Constructor Summary
Constructors Constructor Description LiveViolationRecord()
LiveViolationRecord(int line, @NonNull net.sourceforge.pmd.lang.document.TextRegion region, String message)
LiveViolationRecord(@NonNull net.sourceforge.pmd.lang.document.TextRegion region, @Nullable String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LiveViolationRecord o)
LiveViolationRecord
deepCopy()
int
getLine()
@Nullable String
getMessage()
@NonNull net.sourceforge.pmd.lang.document.TextRegion
getRegion()
org.reactfx.value.Var<@Nullable String>
messageProperty()
org.reactfx.value.Var<@NonNull net.sourceforge.pmd.lang.document.TextRegion>
regionProperty()
void
setLine(int line)
void
setMessage(@Nullable String message)
void
setRegion(@NonNull net.sourceforge.pmd.lang.document.TextRegion region)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.util.fxdesigner.util.beans.SettingsOwner
getChildrenSettingsNodes
-
-
-
-
Constructor Detail
-
LiveViolationRecord
public LiveViolationRecord()
-
LiveViolationRecord
public LiveViolationRecord(@NonNull net.sourceforge.pmd.lang.document.TextRegion region, @Nullable String message)
-
LiveViolationRecord
public LiveViolationRecord(int line, @NonNull net.sourceforge.pmd.lang.document.TextRegion region, String message)
-
-
Method Detail
-
compareTo
public int compareTo(LiveViolationRecord o)
- Specified by:
compareTo
in interfaceComparable<LiveViolationRecord>
-
getLine
public int getLine()
-
setLine
public void setLine(int line)
-
getRegion
public @NonNull net.sourceforge.pmd.lang.document.TextRegion getRegion()
-
regionProperty
public org.reactfx.value.Var<@NonNull net.sourceforge.pmd.lang.document.TextRegion> regionProperty()
-
setRegion
public void setRegion(@NonNull net.sourceforge.pmd.lang.document.TextRegion region)
-
getMessage
public @Nullable String getMessage()
-
messageProperty
public org.reactfx.value.Var<@Nullable String> messageProperty()
-
setMessage
public void setMessage(@Nullable String message)
-
deepCopy
public LiveViolationRecord deepCopy()
-
-