JPF 0.10

org.java.plugin.registry
Interface IntegrityCheckReport.ReportItem

Enclosing interface:
IntegrityCheckReport

public static interface IntegrityCheckReport.ReportItem

Integrity check report element. Holds all information about particular check event.

Version:
$Id: IntegrityCheckReport.java,v 1.1 2005/07/20 18:43:46 ddimon Exp $

Field Summary
static int ERROR_BAD_LIBRARY
          Item error code.
static int ERROR_CHECKER_FAULT
          Item error code.
static int ERROR_INVALID_EXTENSION
          Item error code.
static int ERROR_INVALID_EXTENSION_POINT
          Item error code.
static int ERROR_MANIFEST_PROCESSING_FAILED
          Item error code.
static int ERROR_NO_ERROR
          Item error code.
static int ERROR_UNSATISFIED_PREREQUISITE
          Item error code.
static byte SEVERITY_ERROR
          Item severity code.
static byte SEVERITY_INFO
          Item severity code.
static byte SEVERITY_WARNING
          Item severity code.
 
Method Summary
 int getCode()
           
 java.lang.String getMessage()
           
 java.lang.String getMessage(java.util.Locale locale)
           
 byte getSeverity()
           
 Identity getSource()
           
 

Field Detail

SEVERITY_ERROR

public static final byte SEVERITY_ERROR
Item severity code.

See Also:
Constant Field Values

SEVERITY_WARNING

public static final byte SEVERITY_WARNING
Item severity code.

See Also:
Constant Field Values

SEVERITY_INFO

public static final byte SEVERITY_INFO
Item severity code.

See Also:
Constant Field Values

ERROR_NO_ERROR

public static final int ERROR_NO_ERROR
Item error code.

See Also:
Constant Field Values

ERROR_CHECKER_FAULT

public static final int ERROR_CHECKER_FAULT
Item error code.

See Also:
Constant Field Values

ERROR_MANIFEST_PROCESSING_FAILED

public static final int ERROR_MANIFEST_PROCESSING_FAILED
Item error code.

See Also:
Constant Field Values

ERROR_UNSATISFIED_PREREQUISITE

public static final int ERROR_UNSATISFIED_PREREQUISITE
Item error code.

See Also:
Constant Field Values

ERROR_BAD_LIBRARY

public static final int ERROR_BAD_LIBRARY
Item error code.

See Also:
Constant Field Values

ERROR_INVALID_EXTENSION_POINT

public static final int ERROR_INVALID_EXTENSION_POINT
Item error code.

See Also:
Constant Field Values

ERROR_INVALID_EXTENSION

public static final int ERROR_INVALID_EXTENSION
Item error code.

See Also:
Constant Field Values
Method Detail

getSeverity

public byte getSeverity()
Returns:
severity code for this report item

getSource

public Identity getSource()
Returns:
source for this report item, can be null

getCode

public int getCode()
Returns:
error code for this report item

getMessage

public java.lang.String getMessage()
Returns:
message, associated with this report item for the system default locale

getMessage

public java.lang.String getMessage(java.util.Locale locale)
Parameters:
locale - locale to get message for
Returns:
message, associated with this report item for given locale

JPF 0.10

Copyright © 2004-2005 Dmitry Olshansky. All Rights Reserved.