Package org.orekit.gnss.metric.ntrip
Enum Authentication
- java.lang.Object
-
- java.lang.Enum<Authentication>
-
- org.orekit.gnss.metric.ntrip.Authentication
-
- All Implemented Interfaces:
Serializable
,Comparable<Authentication>
public enum Authentication extends Enum<Authentication>
Enumerate for authentication method inDataStreamRecord
.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Authentication
getAuthentication(String keyword)
Get the authentication type corresponding to a keyword.static Authentication
valueOf(String name)
Returns the enum constant of this type with the specified name.static Authentication[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Authentication NONE
None.
-
BASIC
public static final Authentication BASIC
Basic.
-
DIGEST
public static final Authentication DIGEST
Digest.
-
-
Method Detail
-
values
public static Authentication[] 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 (Authentication c : Authentication.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Authentication 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
-
getAuthentication
public static Authentication getAuthentication(String keyword)
Get the authentication type corresponding to a keyword.- Parameters:
keyword
- authentication keyword- Returns:
- the authentication type corresponding to the keyword
-
-