Enum DbNewsFeed.AuthMethod
- java.lang.Object
-
- java.lang.Enum<DbNewsFeed.AuthMethod>
-
- com.openindex.openestate.tool.news.db.DbNewsFeed.AuthMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<DbNewsFeed.AuthMethod>
- Enclosing class:
- DbNewsFeed
public static enum DbNewsFeed.AuthMethod extends Enum<DbNewsFeed.AuthMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS
HTTP_BASIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DbNewsFeed.AuthMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static DbNewsFeed.AuthMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANONYMOUS
public static final DbNewsFeed.AuthMethod ANONYMOUS
-
HTTP_BASIC
public static final DbNewsFeed.AuthMethod HTTP_BASIC
-
-
Method Detail
-
values
public static DbNewsFeed.AuthMethod[] 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 (DbNewsFeed.AuthMethod c : DbNewsFeed.AuthMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbNewsFeed.AuthMethod 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 nameNullPointerException
- if the argument is null
-
-