net.fortytwo.linkeddata
Enum CacheEntry.Status

java.lang.Object
  extended by java.lang.Enum<CacheEntry.Status>
      extended by net.fortytwo.linkeddata.CacheEntry.Status
All Implemented Interfaces:
Serializable, Comparable<CacheEntry.Status>
Enclosing class:
CacheEntry

public static enum CacheEntry.Status
extends Enum<CacheEntry.Status>


Enum Constant Summary
BadMediaType
           
BadUriScheme
           
ClientError
           
DereferencerError
           
Failure
           
Ignored
           
InvalidUri
           
ParseError
           
RdfizerError
           
ServerError
           
Success
           
Timeout
           
Undetermined
           
 
Method Summary
static CacheEntry.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CacheEntry.Status[] 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

Undetermined

public static final CacheEntry.Status Undetermined

Success

public static final CacheEntry.Status Success

Timeout

public static final CacheEntry.Status Timeout

InvalidUri

public static final CacheEntry.Status InvalidUri

ParseError

public static final CacheEntry.Status ParseError

ClientError

public static final CacheEntry.Status ClientError

ServerError

public static final CacheEntry.Status ServerError

BadUriScheme

public static final CacheEntry.Status BadUriScheme

BadMediaType

public static final CacheEntry.Status BadMediaType

DereferencerError

public static final CacheEntry.Status DereferencerError

RdfizerError

public static final CacheEntry.Status RdfizerError

Ignored

public static final CacheEntry.Status Ignored

Failure

public static final CacheEntry.Status Failure
Method Detail

values

public static CacheEntry.Status[] 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 (CacheEntry.Status c : CacheEntry.Status.values())
    System.out.println(c);

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

valueOf

public static CacheEntry.Status 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


Copyright © 2007-2013. All Rights Reserved.