Package com.restfb
Enum Version
- All Implemented Interfaces:
Serializable
,Comparable<Version>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionconvenience enum to provide simple access to the latest supported Graph API Version.unversiond apiGraph API 10.0, available until June 8th, 2023Graph API 11.0, available at least until September 14, 2023Graph API 12.0, available at least until September 2023Deprecated.Deprecated.useVERSION_4_0
or newerDeprecated.useVERSION_4_0
or newerGraph API 4.0, available until October 29, 2021Graph API 5.0, available until February 3rd, 2022Graph API 6.0, available until May 5th, 2022Graph API 7.0, available until August 4th, 2022Graph API 8.0, available until November 10th, 2022Graph API 9.0, available until February 23, 2023 -
Method Summary
Modifier and TypeMethodDescriptionstatic Version
getVersionFromString(String urlElementStr)
converts a String (for example the url parameter) into a Version objectboolean
static Version
Returns the enum constant of this type with the specified name.static Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNVERSIONED
unversiond api -
VERSION_3_1
Deprecated.useVERSION_4_0
or newerGraph API 3.1, available until October 23, 2020- Since:
- July 26, 2018
-
VERSION_3_2
Deprecated.useVERSION_4_0
or newerGraph API 3.2, available until April 30, 2021- Since:
- October 23, 2018
-
VERSION_3_3
Deprecated.useVERSION_4_0
or newerGraph API 3.3, available until July 29, 2021- Since:
- April 30, 2019
-
VERSION_4_0
Graph API 4.0, available until October 29, 2021- Since:
- July 29, 2019
-
VERSION_5_0
Graph API 5.0, available until February 3rd, 2022- Since:
- October 29, 2019
-
VERSION_6_0
Graph API 6.0, available until May 5th, 2022- Since:
- February 3rd, 2020
-
VERSION_7_0
Graph API 7.0, available until August 4th, 2022- Since:
- May 5th, 2020
-
VERSION_8_0
Graph API 8.0, available until November 10th, 2022- Since:
- August 4th, 2020
-
VERSION_9_0
Graph API 9.0, available until February 23, 2023- Since:
- November 10th, 2020
-
VERSION_10_0
Graph API 10.0, available until June 8th, 2023- Since:
- February 23th, 2021
-
VERSION_11_0
Graph API 11.0, available at least until September 14, 2023- Since:
- June 8th, 2021
-
VERSION_12_0
Graph API 12.0, available at least until September 2023- Since:
- September 14th, 2021
-
LATEST
convenience enum to provide simple access to the latest supported Graph API Version.the current version is Graph API 12.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getUrlElement
-
isUrlElementRequired
-
getVersionFromString
converts a String (for example the url parameter) into a Version object- Parameters:
urlElementStr
- String that should- Returns:
- the generated version
-
VERSION_4_0
or newer