Package tigase.archive.unified.db
Enum UnifiedArchiveRepository.Type
- java.lang.Object
-
- java.lang.Enum<UnifiedArchiveRepository.Type>
-
- tigase.archive.unified.db.UnifiedArchiveRepository.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnifiedArchiveRepository.Type>
- Enclosing interface:
- UnifiedArchiveRepository<DS extends tigase.db.DataSource>
public static enum UnifiedArchiveRepository.Type extends java.lang.Enum<UnifiedArchiveRepository.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnifiedArchiveRepository.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnifiedArchiveRepository.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
chat
public static final UnifiedArchiveRepository.Type chat
-
call
public static final UnifiedArchiveRepository.Type call
-
groupchat
public static final UnifiedArchiveRepository.Type groupchat
-
-
Method Detail
-
values
public static UnifiedArchiveRepository.Type[] 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 (UnifiedArchiveRepository.Type c : UnifiedArchiveRepository.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnifiedArchiveRepository.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-