org.java.plugin.registry.xml
Class IntegrityChecker.ReportItemImpl

java.lang.Object
  extended by org.java.plugin.registry.xml.IntegrityChecker.ReportItemImpl
All Implemented Interfaces:
IntegrityCheckReport.ReportItem
Enclosing class:
IntegrityChecker

public static class IntegrityChecker.ReportItemImpl
extends java.lang.Object
implements IntegrityCheckReport.ReportItem


Constructor Summary
IntegrityChecker.ReportItemImpl(IntegrityCheckReport.Severity aSeverity, Identity aSource, IntegrityCheckReport.Error aCode, java.lang.String aMsg, java.lang.Object aData)
           
 
Method Summary
 IntegrityCheckReport.Error getCode()
           
 java.lang.String getMessage()
           
 java.lang.String getMessage(java.util.Locale locale)
           
 IntegrityCheckReport.Severity getSeverity()
           
 Identity getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityChecker.ReportItemImpl

public IntegrityChecker.ReportItemImpl(IntegrityCheckReport.Severity aSeverity,
                                       Identity aSource,
                                       IntegrityCheckReport.Error aCode,
                                       java.lang.String aMsg,
                                       java.lang.Object aData)
Method Detail

getCode

public IntegrityCheckReport.Error getCode()
Specified by:
getCode in interface IntegrityCheckReport.ReportItem
Returns:
error code for this report item
See Also:
IntegrityCheckReport.ReportItem.getCode()

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface IntegrityCheckReport.ReportItem
Returns:
message, associated with this report item for the system default locale
See Also:
IntegrityCheckReport.ReportItem.getMessage()

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Specified by:
getMessage in interface IntegrityCheckReport.ReportItem
Parameters:
locale - locale to get message for
Returns:
message, associated with this report item for given locale
See Also:
IntegrityCheckReport.ReportItem.getMessage( java.util.Locale)

getSeverity

public IntegrityCheckReport.Severity getSeverity()
Specified by:
getSeverity in interface IntegrityCheckReport.ReportItem
Returns:
severity code for this report item
See Also:
IntegrityCheckReport.ReportItem.getSeverity()

getSource

public Identity getSource()
Specified by:
getSource in interface IntegrityCheckReport.ReportItem
Returns:
source for this report item, can be null
See Also:
IntegrityCheckReport.ReportItem.getSource()


Copyright © 2010. All Rights Reserved.