tigase.server.sreceiver
Enum PropertyConstants.SenderRestrictions
java.lang.Object
java.lang.Enum<PropertyConstants.SenderRestrictions>
tigase.server.sreceiver.PropertyConstants.SenderRestrictions
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PropertyConstants.SenderRestrictions>, DefaultValues
- Enclosing class:
- PropertyConstants
public static enum PropertyConstants.SenderRestrictions
- extends java.lang.Enum<PropertyConstants.SenderRestrictions>
- implements DefaultValues
| 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 |
ALL
public static final PropertyConstants.SenderRestrictions ALL
SUBSCRIBED
public static final PropertyConstants.SenderRestrictions SUBSCRIBED
OWNER
public static final PropertyConstants.SenderRestrictions OWNER
LIST
public static final PropertyConstants.SenderRestrictions LIST
values
public static PropertyConstants.SenderRestrictions[] 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 (PropertyConstants.SenderRestrictions c : PropertyConstants.SenderRestrictions.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PropertyConstants.SenderRestrictions 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 name
java.lang.NullPointerException - if the argument is null
strValues
public java.lang.String[] strValues()
- Specified by:
strValues in interface DefaultValues
Copyright © 2009 Tigase. All Rights Reserved.