Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AnnotHandler - Class in fr.sandro642.github.annotations
-
AnnotHandler is a class that manages the discovery and execution of listeners annotated with @AnnotConnect.
- AnnotHandler() - Constructor for class fr.sandro642.github.annotations.AnnotHandler
- AnnotHandler.AnnotConnect - Annotation Interface in fr.sandro642.github.annotations
-
AnnotConnect is an annotation used to mark methods that should be executed when a connection event occurs.
- AnnotHandler.ConnectListener - Interface in fr.sandro642.github.annotations
-
ConnectListener is an interface that should be implemented by classes that want to listen for connection events.
- ApiClient - Class in fr.sandro642.github.api
-
ApiClient is a class that provides methods to interact with the ConnectLib API.
- ApiClient() - Constructor for class fr.sandro642.github.api.ApiClient
-
Constructor for ApiClient.
- ApiFactory - Class in fr.sandro642.github.api
-
ApiFactory is a class that provides methods to parse raw JSON data and retrieve specific data from it.
- ApiFactory() - Constructor for class fr.sandro642.github.api.ApiFactory
B
- BASE_PATH() - Method in class fr.sandro642.github.hook.HookManager
C
- callAPIDelete(String) - Method in class fr.sandro642.github.api.ApiClient
-
Method to call the API with a DELETE request.
- callAPIGet(String) - Method in class fr.sandro642.github.api.ApiClient
-
Method to call the API with a GET request.
- callAPIPatch(String, Map<String, Object>) - Method in class fr.sandro642.github.api.ApiClient
-
Method to call the API with a PATCH request.
- callAPIPost(String, Map<String, Object>) - Method in class fr.sandro642.github.api.ApiClient
-
Method to call the API with a POST request.
- callAPIPut(String, Map<String, Object>) - Method in class fr.sandro642.github.api.ApiClient
-
Method to call the API with a PUT request.
- ConnectLib - Class in fr.sandro642.github
-
ConnectLib is the main class of the ConnectorAPI library for Standard API.
- ConnectLib() - Constructor for class fr.sandro642.github.ConnectLib
- containsKey(String) - Method in class fr.sandro642.github.misc.StoreAndRetrieve
-
Check if the store contains a specific key.
- convertRouteImport(Class<? extends Enum<?>>) - Static method in class fr.sandro642.github.misc.EnumLoader
-
Converts an enum class that implements RouteImport into a map.
- CRITICAL(String) - Method in class fr.sandro642.github.misc.Logger
-
Method to display a critical message in the console.
D
- DELETE - Enum constant in enum class fr.sandro642.github.enums.MethodType
- display() - Method in class fr.sandro642.github.api.ApiFactory
-
Method to display the raw data stored in the ApiFactory.
E
- EnumLoader - Class in fr.sandro642.github.misc
-
ConvertEnum is a utility class for converting enums that implement the RouteImport interface into a map of routes.
- EnumLoader() - Constructor for class fr.sandro642.github.misc.EnumLoader
- EnumLoader.RouteImport - Interface in fr.sandro642.github.misc
-
RouteImport is an interface that should be implemented by enums that provide a route.
- ERROR(String) - Method in class fr.sandro642.github.misc.Logger
-
Method to display an error message in the console.
- EXAMPLE_ROUTE - Enum constant in enum class fr.sandro642.github.example.ExampleUsages.ExampleRoutes
- exampleJobGetInfos() - Method in class fr.sandro642.github.example.ExampleUsages
- exampleMethodAsync() - Method in class fr.sandro642.github.example.ExampleUsages
- exampleMethodSync() - Method in class fr.sandro642.github.example.ExampleUsages
- ExampleUsages - Class in fr.sandro642.github.example
-
ExampleUsages is a placeholder class that can be used to demonstrate how to use the ConnectLib library.
- ExampleUsages() - Constructor for class fr.sandro642.github.example.ExampleUsages
- ExampleUsages.ExampleRoutes - Enum Class in fr.sandro642.github.example
- execListener() - Method in class fr.sandro642.github.annotations.AnnotHandler
-
execListener is a method that executes all methods annotated with @AnnotConnect in the discovered listeners.
F
- FILE_LOCATION_KEY - Variable in class fr.sandro642.github.misc.StoreAndRetrieve
- FILE_LOCATION_KEY() - Method in class fr.sandro642.github.hook.HookManager
-
Sets the file location key based on the resource type.
- fr.sandro642.github - package fr.sandro642.github
- fr.sandro642.github.annotations - package fr.sandro642.github.annotations
- fr.sandro642.github.api - package fr.sandro642.github.api
- fr.sandro642.github.enums - package fr.sandro642.github.enums
- fr.sandro642.github.example - package fr.sandro642.github.example
- fr.sandro642.github.hook - package fr.sandro642.github.hook
- fr.sandro642.github.jobs - package fr.sandro642.github.jobs
- fr.sandro642.github.misc - package fr.sandro642.github.misc
G
- generateTemplateIfNotExists(Map<Enum<?>, String>) - Method in class fr.sandro642.github.misc.YamlUtils
-
Generates a template `infos.yml` file if it does not already exist.
- get(String) - Method in class fr.sandro642.github.misc.StoreAndRetrieve
-
Retrieve a value associated with the specified key.
- GET - Enum constant in enum class fr.sandro642.github.enums.MethodType
- getData(O) - Method in class fr.sandro642.github.api.ApiFactory
-
Method to retrieve data from the rawData map based on the provided type.
- getInstance() - Static method in class fr.sandro642.github.hook.HookManager
-
Returns the singleton instance of HookManager.
- getInstance() - Static method in class fr.sandro642.github.hook.MCSupport
-
Static method to get the singleton instance of MCSupport.
- getLogs() - Static method in class fr.sandro642.github.misc.Logs
-
Get the instance of Logs.
- getPath() - Method in enum class fr.sandro642.github.enums.ResourceType
-
Obtient le chemin de la ressource.
- getPlugin() - Method in class fr.sandro642.github.hook.MCSupport
-
Method to get the plugin instance.
- getPluginPath() - Method in class fr.sandro642.github.hook.MCSupport
-
Method to get the path of the plugin's data folder.
- getResponse() - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get the response from the API based on the current route and method.
- getRoute(Enum<?>) - Static method in class fr.sandro642.github.ConnectLib
-
Return the route associated with the given Enum route.
- getRoute(String) - Static method in class fr.sandro642.github.ConnectLib
-
Return the route associated with the given route name.
- getRoutes() - Method in class fr.sandro642.github.misc.YamlUtils
-
Retrieves the routes defined in the YAML configuration file.
- getRoutes(MethodType, Enum<?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL with a request body.
- getRoutes(MethodType, Enum<?>, Map<String, ?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL with a request body and parameters.
- getRoutes(MethodType, Enum<?>, Map<String, ?>, Map<String, ?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL with additional parameters.
- getRoutes(MethodType, String) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL.
- getRoutes(VersionType, MethodType, Enum<?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL with parameters.
- getRoutes(VersionType, MethodType, Enum<?>, Map<String, ?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL.
- getRoutes(VersionType, MethodType, String) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Récupère les routes depuis le fichier YAML et construit l'URL complète
- getRoutes(VersionType, MethodType, String, Map<String, ?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL with a request body.
- getRoutes(VersionType, MethodType, R, Map<String, ?>, Map<String, ?>) - Method in class fr.sandro642.github.jobs.JobGetInfos
-
Get routes from the YAML file and builds the full URL with additional parameters.
- getSpecData(O, K) - Method in class fr.sandro642.github.api.ApiFactory
-
Method to retrieve nested data from the rawData map based on the provided type and value.
- getURL() - Method in class fr.sandro642.github.misc.YamlUtils
-
Gets the base URL from the YAML configuration file.
- getVersion() - Method in enum class fr.sandro642.github.enums.VersionType
H
- HookManager - Class in fr.sandro642.github.hook
-
HookManager is a class that manages hooks for different resource types.
- HookManager() - Constructor for class fr.sandro642.github.hook.HookManager
- HookManager() - Static method in class fr.sandro642.github.ConnectLib
-
Return the instance of HookManager.
I
- INFO(String) - Method in class fr.sandro642.github.misc.Logger
-
Method to display an informational message in the console.
- initHook(ResourceType) - Method in class fr.sandro642.github.hook.HookManager
-
Initializes the hook for the specified resource type.
- initialize(ResourceType, Class<? extends Enum<?>>...) - Static method in class fr.sandro642.github.ConnectLib
-
Init the ConnectLib with the specified resource type and routes.
- initializeLib() - Method in class fr.sandro642.github.example.ExampleUsages
- isLogEnabled() - Method in class fr.sandro642.github.misc.YamlUtils
-
Checks if logging is enabled in the YAML configuration file.
- isPluginInitialized() - Method in class fr.sandro642.github.hook.MCSupport
-
Method to check if the plugin has been initialized.
J
- JobGetInfos - Class in fr.sandro642.github.jobs
-
JobGetInfos is a utility class for managing API requests in the ConnectLib library.
- JobGetInfos() - Constructor for class fr.sandro642.github.jobs.JobGetInfos
-
Constructor of JobGetInfos.
- JobGetInfos() - Static method in class fr.sandro642.github.ConnectLib
-
Return an instance of JobGetInfos.
L
- Logger - Class in fr.sandro642.github.misc
-
Logger is a utility class for logging messages in the ConnectLib library.
- Logger() - Constructor for class fr.sandro642.github.misc.Logger
- Logger() - Static method in class fr.sandro642.github.ConnectLib
-
Return the instance of Logger.
- Logs - Class in fr.sandro642.github.misc
-
Logs is a utility class for managing logging in the ConnectLib library.
- Logs() - Constructor for class fr.sandro642.github.misc.Logs
M
- main(String[]) - Static method in class fr.sandro642.github.annotations.AnnotHandler
-
Main method to execute the AnnotHandler and trigger the execution of annotated methods.
- MAIN_RESOURCES - Enum constant in enum class fr.sandro642.github.enums.ResourceType
-
Gradle and Maven Support.
- MakeALog(String, P) - Method in class fr.sandro642.github.misc.Logs
-
* Static block to initialize the Logs instance.
- MC_RESOURCES - Enum constant in enum class fr.sandro642.github.enums.ResourceType
- MCSupport - Class in fr.sandro642.github.hook
-
MCSupport is a utility class for handling Minecraft plugin support in the ConnectLib library.
- MCSupport() - Static method in class fr.sandro642.github.ConnectLib
-
Return the instance of Logs.
- MethodType - Enum Class in fr.sandro642.github.enums
-
MethodType is an enumeration representing different HTTP methods used in API requests.
P
- parseFromRawJson(String) - Method in class fr.sandro642.github.api.ApiFactory
-
Default constructor for ApiFactory.
- PATCH - Enum constant in enum class fr.sandro642.github.enums.MethodType
- POST - Enum constant in enum class fr.sandro642.github.enums.MethodType
- put(String, Object) - Method in class fr.sandro642.github.misc.StoreAndRetrieve
-
Add a key-value pair to the store.
- PUT - Enum constant in enum class fr.sandro642.github.enums.MethodType
R
- remove(String) - Method in class fr.sandro642.github.misc.StoreAndRetrieve
-
Remove a key-value pair from the store.
- ResourceType - Enum Class in fr.sandro642.github.enums
-
ResourceType is an enumeration representing different types of resources in the ConnectLib library.
- route() - Method in enum class fr.sandro642.github.example.ExampleUsages.ExampleRoutes
- route() - Method in interface fr.sandro642.github.misc.EnumLoader.RouteImport
S
- setPathFile() - Method in class fr.sandro642.github.misc.Logs
-
Static block to initialize the Logs instance.
- setPluginVariable(Plugin) - Method in class fr.sandro642.github.hook.MCSupport
-
Method to set the plugin instance.
- store - Variable in class fr.sandro642.github.misc.StoreAndRetrieve
- StoreAndRetrieve - Class in fr.sandro642.github.misc
-
StoreAndRetrieve is a utility class for storing and retrieving key-value pairs.
- StoreAndRetrieve() - Constructor for class fr.sandro642.github.misc.StoreAndRetrieve
- StoreAndRetrieve() - Static method in class fr.sandro642.github.ConnectLib
-
Return the instance of StoreAndRetrieve.
T
- TEST_RESOURCES - Enum constant in enum class fr.sandro642.github.enums.ResourceType
U
- URL_KEY - Variable in class fr.sandro642.github.misc.StoreAndRetrieve
-
URL_KEY is the key used to store the base URL of the API.
V
- V1_BRANCH - Enum constant in enum class fr.sandro642.github.enums.VersionType
- V2_BRANCH - Enum constant in enum class fr.sandro642.github.enums.VersionType
- V3_BRANCH - Enum constant in enum class fr.sandro642.github.enums.VersionType
- V4_BRANCH - Enum constant in enum class fr.sandro642.github.enums.VersionType
- V5_BRANCH - Enum constant in enum class fr.sandro642.github.enums.VersionType
- valueOf(String) - Static method in enum class fr.sandro642.github.enums.MethodType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class fr.sandro642.github.enums.ResourceType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class fr.sandro642.github.enums.VersionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class fr.sandro642.github.example.ExampleUsages.ExampleRoutes
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class fr.sandro642.github.enums.MethodType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class fr.sandro642.github.enums.ResourceType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class fr.sandro642.github.enums.VersionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class fr.sandro642.github.example.ExampleUsages.ExampleRoutes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VersionType - Enum Class in fr.sandro642.github.enums
-
VersionType is an enumeration representing different versions of the ConnectLib library.
W
- WARN(String) - Method in class fr.sandro642.github.misc.Logger
-
Method to display a warning message in the console.
Y
- YamlUtils - Class in fr.sandro642.github.misc
-
YamlUtils is a utility class for handling YAML files in the ConnectLib library.
- YamlUtils() - Constructor for class fr.sandro642.github.misc.YamlUtils
- YamlUtils() - Static method in class fr.sandro642.github.ConnectLib
-
Return the instance of YamlUtils.
All Classes and Interfaces|All Packages|Constant Field Values