org.gcube.messaging.common.messages.records
Enum WarRecord.WarSubType

java.lang.Object
  extended by java.lang.Enum<WarRecord.WarSubType>
      extended by org.gcube.messaging.common.messages.records.WarRecord.WarSubType
All Implemented Interfaces:
Serializable, Comparable<WarRecord.WarSubType>
Enclosing class:
WarRecord

public static enum WarRecord.WarSubType
extends Enum<WarRecord.WarSubType>


Enum Constant Summary
WAR_REMOVED
           
WAR_UPDATED
           
WAR_UPLOADED
           
 
Method Summary
 String toString()
           
static WarRecord.WarSubType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WarRecord.WarSubType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WAR_REMOVED

public static final WarRecord.WarSubType WAR_REMOVED

WAR_UPDATED

public static final WarRecord.WarSubType WAR_UPDATED

WAR_UPLOADED

public static final WarRecord.WarSubType WAR_UPLOADED
Method Detail

values

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

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

valueOf

public static WarRecord.WarSubType 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

toString

public String toString()
Overrides:
toString in class Enum<WarRecord.WarSubType>


Copyright © 2013. All Rights Reserved.