Package fr.gouv.vitam.common.client
Enum VitamClientFactoryInterface.VitamClientType
- java.lang.Object
-
- java.lang.Enum<VitamClientFactoryInterface.VitamClientType>
-
- fr.gouv.vitam.common.client.VitamClientFactoryInterface.VitamClientType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VitamClientFactoryInterface.VitamClientType>
- Enclosing interface:
- VitamClientFactoryInterface<T extends MockOrRestClient>
public static enum VitamClientFactoryInterface.VitamClientType extends java.lang.Enum<VitamClientFactoryInterface.VitamClientType>
enum to define client type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MOCK
To use only in MOCK ACCESSPRODUCTION
Use real service (need server to be set)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VitamClientFactoryInterface.VitamClientType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VitamClientFactoryInterface.VitamClientType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOCK
public static final VitamClientFactoryInterface.VitamClientType MOCK
To use only in MOCK ACCESS
-
PRODUCTION
public static final VitamClientFactoryInterface.VitamClientType PRODUCTION
Use real service (need server to be set)
-
-
Method Detail
-
values
public static VitamClientFactoryInterface.VitamClientType[] 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 (VitamClientFactoryInterface.VitamClientType c : VitamClientFactoryInterface.VitamClientType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VitamClientFactoryInterface.VitamClientType 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
-
-