public static enum MessageArchiveRepository.Direction extends Enum<MessageArchiveRepository.Direction>
Modifier and Type | Method and Description |
---|---|
static MessageArchiveRepository.Direction |
getDirection(tigase.xmpp.jid.BareJID owner,
tigase.xmpp.jid.BareJID from) |
static MessageArchiveRepository.Direction |
getDirection(short val) |
static MessageArchiveRepository.Direction |
getDirection(String val) |
short |
getValue() |
String |
toElementName() |
static MessageArchiveRepository.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageArchiveRepository.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageArchiveRepository.Direction incoming
public static final MessageArchiveRepository.Direction outgoing
public static MessageArchiveRepository.Direction[] values()
for (MessageArchiveRepository.Direction c : MessageArchiveRepository.Direction.values()) System.out.println(c);
public static MessageArchiveRepository.Direction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MessageArchiveRepository.Direction getDirection(tigase.xmpp.jid.BareJID owner, tigase.xmpp.jid.BareJID from)
public static MessageArchiveRepository.Direction getDirection(short val)
public static MessageArchiveRepository.Direction getDirection(String val)
public short getValue()
public String toElementName()
Copyright © 2012–2019 "Tigase, Inc.". All rights reserved.