JML

net.sf.jml
Enum DisplayPictureListener.ResultStatus

java.lang.Object
  extended by java.lang.Enum<DisplayPictureListener.ResultStatus>
      extended by net.sf.jml.DisplayPictureListener.ResultStatus
All Implemented Interfaces:
Serializable, Comparable<DisplayPictureListener.ResultStatus>
Enclosing interface:
DisplayPictureListener

public static enum DisplayPictureListener.ResultStatus
extends Enum<DisplayPictureListener.ResultStatus>

Types of finalization for the MsnObject request process.


Enum Constant Summary
FILE_ACCESS_ERROR
          There has been a file access error.
GOOD
          MsnObject has been retrieved successfuly.
PROTOCOL_ERROR
          There has been a protocol error.
UNKNOWN
          Thre has been an unknown error.
 
Method Summary
static DisplayPictureListener.ResultStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DisplayPictureListener.ResultStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GOOD

public static final DisplayPictureListener.ResultStatus GOOD
MsnObject has been retrieved successfuly.


FILE_ACCESS_ERROR

public static final DisplayPictureListener.ResultStatus FILE_ACCESS_ERROR
There has been a file access error.


PROTOCOL_ERROR

public static final DisplayPictureListener.ResultStatus PROTOCOL_ERROR
There has been a protocol error.


UNKNOWN

public static final DisplayPictureListener.ResultStatus UNKNOWN
Thre has been an unknown error.

Method Detail

values

public static DisplayPictureListener.ResultStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DisplayPictureListener.ResultStatus c : DisplayPictureListener.ResultStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DisplayPictureListener.ResultStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

JML