Index
All Classes and Interfaces|All Packages
A
- acceptQuote(String) - Method in interface fr.univ_eiffel.legotools.factory.api.LegoFactory
-
Validation et Paiement.
- acceptQuote(String) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
-
Accepte un devis, avec une logique de "Retry" intelligente.
- AccountBalance(String) - Constructor for record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.AccountBalance
-
Creates an instance of a
AccountBalancerecord class. - AccountRefiller - Class in fr.univ_eiffel.legotools.factory.api
-
Gère le système de "minage" pour recharger le solde du compte client.
- AccountRefiller(String, String, String) - Constructor for class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Initialise le rechargeur de compte avec les identifiants API.
- AccountRefiller.AccountBalance - Record Class in fr.univ_eiffel.legotools.factory.api
-
Structure encapsulant la réponse de solde.
- AccountRefiller.Challenge - Record Class in fr.univ_eiffel.legotools.factory.api
-
Structure représentant un défi cryptographique reçu du serveur.
- AccountRefiller.ChallengeAnswer - Record Class in fr.univ_eiffel.legotools.factory.api
-
Structure représentant la réponse à envoyer au serveur.
- addBricks(List<FactoryBrick>) - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Enregistre un lot de nouvelles briques reçues de l'usine.
- answer() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Returns the value of the
answerrecord component. - ApiSender - Interface in fr.univ_eiffel.legotools.factory.api
-
Interface fonctionnelle définissant le contrat d'envoi de requêtes HTTP.
- App - Class in fr.univ_eiffel.legotools
-
Point d'entrée principal de l'application en ligne de commande (CLI).
B
- balance() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.AccountBalance
-
Returns the value of the
balancerecord component. - BicubicStrategy - Class in fr.univ_eiffel.legotools.image
-
Stratégie de redimensionnement utilisant l'interpolation Bicubique.
- BicubicStrategy() - Constructor for class fr.univ_eiffel.legotools.image.BicubicStrategy
-
Constructeur par défaut.
- BilinearStrategy - Class in fr.univ_eiffel.legotools.image
-
Stratégie de redimensionnement utilisant l'interpolation Bilinéaire.
- BilinearStrategy() - Constructor for class fr.univ_eiffel.legotools.image.BilinearStrategy
-
Constructeur par défaut.
C
- certificate() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Returns the value of the
certificaterecord component. - Challenge(String, String) - Constructor for record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.Challenge
-
Creates an instance of a
Challengerecord class. - ChallengeAnswer(String, String, String) - Constructor for record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Creates an instance of a
ChallengeAnswerrecord class. - color() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Extrait le code couleur hexadécimal du nom composite.
- createInventory(String, String) - Static method in class fr.univ_eiffel.legotools.scripts.PavingInventory
-
Génère un fichier d'inventaire.
- createVisualization(File, File) - Method in class fr.univ_eiffel.legotools.paving.PavingService
-
Génère uniquement l'image de visualisation.
D
- data_prefix() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.Challenge
-
Returns the value of the
data_prefixrecord component. - data_prefix() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Returns the value of the
data_prefixrecord component.
E
- equals(Object) - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.AccountBalance
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.Challenge
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.univ_eiffel.legotools.factory.api.LegoFactory.Quote
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Indicates whether some other object is "equal to" this one.
F
- FactoryBrick - Record Class in fr.univ_eiffel.legotools.model
-
Représente un actif numérique "Brique" tel que livré par l'usine.
- FactoryBrick(String, String, String) - Constructor for record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Creates an instance of a
FactoryBrickrecord class. - fetchAccountBalance() - Method in class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Récupère le solde actuel pour confirmer le rechargement.
- fetchChallenge() - Method in class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Récupère un nouveau défi auprès du serveur.
- fr.univ_eiffel.legotools - package fr.univ_eiffel.legotools
- fr.univ_eiffel.legotools.factory - package fr.univ_eiffel.legotools.factory
- fr.univ_eiffel.legotools.factory.api - package fr.univ_eiffel.legotools.factory.api
- fr.univ_eiffel.legotools.factory.impl - package fr.univ_eiffel.legotools.factory.impl
- fr.univ_eiffel.legotools.factory.security - package fr.univ_eiffel.legotools.factory.security
- fr.univ_eiffel.legotools.image - package fr.univ_eiffel.legotools.image
- fr.univ_eiffel.legotools.model - package fr.univ_eiffel.legotools.model
- fr.univ_eiffel.legotools.paving - package fr.univ_eiffel.legotools.paving
- fr.univ_eiffel.legotools.scripts - package fr.univ_eiffel.legotools.scripts
G
- generatePaving(BufferedImage, String, File) - Method in class fr.univ_eiffel.legotools.paving.PavingService
-
Orchestre le pipeline complet de génération d'un pavage.
- GenerationItem - Class in fr.univ_eiffel.legotools.scripts
-
Script d'exportation des données de stock vers le module C.
- GenerationItem() - Constructor for class fr.univ_eiffel.legotools.scripts.GenerationItem
-
Constructeur par défaut.
- getAllBrickTypes() - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Récupère la liste de tous les types de briques référencés.
- getAllItemsRef() - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Récupère le mapping complet ID <-> Référence pour tous les items.
- getBalance() - Method in interface fr.univ_eiffel.legotools.factory.api.LegoFactory
-
Récupère le solde actuel du portefeuille client auprès de l'usine.
- getBalance() - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
- getColor() - Method in class fr.univ_eiffel.legotools.model.LegoBrick
-
Retourne la couleur de la brique
- getHeight() - Method in class fr.univ_eiffel.legotools.model.LegoBrick
-
Retourne la hauteur de la brique
- getLowStockItems() - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Interroge une Vue SQL pour identifier les produits en rupture ou stock critique.
- getManufacturingDateInfo() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Décode la date de fabrication cachée dans le numéro de série.
- getPopularItems(int) - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Analyse les commandes passées pour déterminer les tendances d'achat.
- getRGB(int) - Method in interface fr.univ_eiffel.legotools.image.ResolutionStrategy
-
Méthode utilitaire (Default) pour extraire les canaux de couleur.
- getStockCounts() - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Calcule le stock courant pour chaque référence.
- getWidth() - Method in class fr.univ_eiffel.legotools.model.LegoBrick
-
Retourne la largeur de la brique
- getX() - Method in class fr.univ_eiffel.legotools.model.LegoBrick
-
Retourne la position horizontale
- getY() - Method in class fr.univ_eiffel.legotools.model.LegoBrick
-
Retourne la position verticale
H
- hash_prefix() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.Challenge
-
Returns the value of the
hash_prefixrecord component. - hash_prefix() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Returns the value of the
hash_prefixrecord component. - hashCode() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.AccountBalance
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.Challenge
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.univ_eiffel.legotools.factory.api.LegoFactory.Quote
-
Returns a hash code value for this object.
- hashCode() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Returns a hash code value for this object.
- HttpRestFactory - Class in fr.univ_eiffel.legotools.factory.impl
-
Implémentation concrète de l'interface
LegoFactorycommuniquant via une API REST. - HttpRestFactory(String, String, String) - Constructor for class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
-
Initialise la factory REST.
I
- id() - Method in record class fr.univ_eiffel.legotools.factory.api.LegoFactory.Quote
-
Returns the value of the
idrecord component. - ImageProcessor - Class in fr.univ_eiffel.legotools.image
-
Chef d'orchestre du traitement d'image.
- ImageProcessor() - Constructor for class fr.univ_eiffel.legotools.image.ImageProcessor
-
Par défaut, on utilise la stratégie la plus rapide ("Plus proche voisin") pour éviter un NullPointerException si l'utilisateur oublie de configurer.
- incrementByteArray(byte[]) - Static method in class fr.univ_eiffel.legotools.factory.security.ProofOfWorkSolver
-
Incrémente un tableau d'octets comme s'il s'agissait d'un grand nombre entier.
L
- LanczosStrategy - Class in fr.univ_eiffel.legotools.image
-
Stratégie de redimensionnement utilisant le filtre de Lanczos (Lanczos-3).
- LanczosStrategy() - Constructor for class fr.univ_eiffel.legotools.image.LanczosStrategy
-
Constructeur par défaut.
- LegoBrick - Class in fr.univ_eiffel.legotools.model
-
Représente une brique virtuelle positionnée dans l'image pixelisée (Modèle de Vue).
- LegoBrick() - Constructor for class fr.univ_eiffel.legotools.model.LegoBrick
-
Constructeur par défaut (No-Args).
- LegoBrick(int, int, int, int, String) - Constructor for class fr.univ_eiffel.legotools.model.LegoBrick
-
Constructeur complet.
- LegoFactory - Interface in fr.univ_eiffel.legotools.factory.api
-
Interface principale définissant les interactions possibles avec l'usine de briques.
- LegoFactory.Quote - Record Class in fr.univ_eiffel.legotools.factory.api
-
Objet immuable (Record) représentant la réponse à une demande de prix.
M
- main(String[]) - Static method in class fr.univ_eiffel.legotools.App
-
Méthode principale lancée lors de l'exécution du JAR.
- main(String[]) - Static method in class fr.univ_eiffel.legotools.scripts.GenerationItem
-
Point d'entrée principal du script.
- main(String[]) - Static method in class fr.univ_eiffel.legotools.scripts.PavingInventory
-
Point d'entrée.
N
- name() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Returns the value of the
namerecord component. - NearestNeighborStrategy - Class in fr.univ_eiffel.legotools.image
-
Stratégie de redimensionnement "Plus proche voisin" (Nearest Neighbor).
- NearestNeighborStrategy() - Constructor for class fr.univ_eiffel.legotools.image.NearestNeighborStrategy
-
Constructeur par défaut.
P
- PavingInput - Class in fr.univ_eiffel.legotools.paving
-
Objet de Transfert de Données (DTO) contenant le contexte de pavage.
- PavingInput(int, int, int[][], boolean) - Constructor for class fr.univ_eiffel.legotools.paving.PavingInput
-
Initialise le contexte de pavage avec les paramètres fournis.
- PavingInventory - Class in fr.univ_eiffel.legotools.scripts
-
Script utilitaire générant une "Liste de courses".
- PavingService - Class in fr.univ_eiffel.legotools.paving
-
Service assurant l'interopérabilité avec le module C.
- PavingService(String) - Constructor for class fr.univ_eiffel.legotools.paving.PavingService
-
Initialise le service de pavage.
- pay(long, long, ApiSender) - Method in interface fr.univ_eiffel.legotools.factory.api.PaymentStrategy
-
Méthode appelée lorsqu'un paiement ou une vérification de solde est nécessaire.
- pay(long, long, ApiSender) - Method in class fr.univ_eiffel.legotools.factory.impl.PoWPaymentStrategy
-
Exécute le paiement.
- PaymentStrategy - Interface in fr.univ_eiffel.legotools.factory.api
-
Interface pour le patron de conception Stratégie (Payment Strategy).
- POW_SOLVER - Static variable in class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Solveur de preuve de travail utilisant SHA-256.
- PoWPaymentStrategy - Class in fr.univ_eiffel.legotools.factory.impl
-
Implémentation de la stratégie de paiement par "Minage" (Proof-of-Work).
- PoWPaymentStrategy() - Constructor for class fr.univ_eiffel.legotools.factory.impl.PoWPaymentStrategy
-
Constructeur par défaut.
- price() - Method in record class fr.univ_eiffel.legotools.factory.api.LegoFactory.Quote
-
Returns the value of the
pricerecord component. - PriceUpdater - Class in fr.univ_eiffel.legotools.scripts
-
Script de synchronisation des prix catalogue.
- processImage(String, String, int, int) - Method in class fr.univ_eiffel.legotools.image.ImageProcessor
-
Exécute le pipeline complet de traitement.
- ProofOfWorkSolver - Class in fr.univ_eiffel.legotools.factory.security
-
Moteur de résolution de "Preuve de Travail" (Proof of Work).
- ProofOfWorkSolver(String) - Constructor for class fr.univ_eiffel.legotools.factory.security.ProofOfWorkSolver
-
Initialise le solveur avec l'algorithme spécifié.
Q
- Quote(String, float) - Constructor for record class fr.univ_eiffel.legotools.factory.api.LegoFactory.Quote
-
Creates an instance of a
Quoterecord class.
R
- rechargeAccount(long) - Method in interface fr.univ_eiffel.legotools.factory.api.LegoFactory
-
Lance le processus de rechargement du compte (Proof-of-Work).
- rechargeAccount(long) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
- recordFactoryOrder(String, float, Map<String, Integer>) - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Archive une commande fournisseur (achat usine) en base de données.
- refill() - Method in class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Exécute le processus complet de rechargement (Minage).
- requestQuote(Map<String, Integer>) - Method in interface fr.univ_eiffel.legotools.factory.api.LegoFactory
-
Demande de chiffrage.
- requestQuote(Map<String, Integer>) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
- resize(BufferedImage, int, int) - Method in class fr.univ_eiffel.legotools.image.BicubicStrategy
-
Redimensionne l'image en utilisant l'algorithme Bicubique.
- resize(BufferedImage, int, int) - Method in class fr.univ_eiffel.legotools.image.BilinearStrategy
- resize(BufferedImage, int, int) - Method in class fr.univ_eiffel.legotools.image.LanczosStrategy
-
Redimensionne l'image avec un filtre de convolution Lanczos.
- resize(BufferedImage, int, int) - Method in class fr.univ_eiffel.legotools.image.NearestNeighborStrategy
-
Redimensionne l'image en sélectionnant simplement le pixel source correspondant.
- resize(BufferedImage, int, int) - Method in interface fr.univ_eiffel.legotools.image.ResolutionStrategy
-
Méthode principale que chaque algorithme doit implémenter.
- resize(BufferedImage, int, int) - Method in class fr.univ_eiffel.legotools.image.StepwiseStrategy
-
Exécute le redimensionnement progressif.
- ResolutionStrategy - Interface in fr.univ_eiffel.legotools.image
-
Interface commune à tous les algorithmes de redimensionnement.
- retrieveOrder(String) - Method in interface fr.univ_eiffel.legotools.factory.api.LegoFactory
-
Réception.
- retrieveOrder(String) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
- run(String, String, String) - Static method in class fr.univ_eiffel.legotools.scripts.PriceUpdater
-
Exécute la mise à jour globale des prix.
S
- send(String, String, String) - Method in interface fr.univ_eiffel.legotools.factory.api.ApiSender
-
Envoie une requête brute vers l'API.
- serial() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Returns the value of the
serialrecord component. - setPaymentStrategy(PaymentStrategy) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
-
Permet de changer l'algorithme de paiement à la volée (Pattern Strategy).
- setStrategy(ResolutionStrategy) - Method in class fr.univ_eiffel.legotools.image.ImageProcessor
-
Permet de changer l'algorithme de redimensionnement à la volée (Runtime).
- shapeName() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Extrait l'identifiant de la forme (Shape) du nom composite.
- showStock() - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Affiche l'état actuel du stock dans la console.
- solve(byte[], byte[]) - Method in class fr.univ_eiffel.legotools.factory.security.ProofOfWorkSolver
-
Boucle de recherche par force brute (Minage).
- solveChallenge(AccountRefiller.Challenge) - Method in class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Résout le défi cryptographique localement.
- StepwiseStrategy - Class in fr.univ_eiffel.legotools.image
-
Stratégie de redimensionnement par étapes (Iterative Resizing).
- StepwiseStrategy(List<ResolutionStrategy>, int) - Constructor for class fr.univ_eiffel.legotools.image.StepwiseStrategy
-
Crée une nouvelle stratégie de redimensionnement par étapes.
- StockManager - Class in fr.univ_eiffel.legotools.factory
-
Gestionnaire de persistance (DAO) pour le stock de briques.
- StockManager() - Constructor for class fr.univ_eiffel.legotools.factory.StockManager
-
Initialise la connexion en chargeant les identifiants depuis le fichier .env.
- submitChallengeAnswer(AccountRefiller.ChallengeAnswer) - Method in class fr.univ_eiffel.legotools.factory.api.AccountRefiller
-
Envoie la solution trouvée au serveur pour validation.
T
- toRGB(int, int, int) - Method in interface fr.univ_eiffel.legotools.image.ResolutionStrategy
-
Recompose un pixel entier à partir des composantes R, G, B.
- toString() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.AccountBalance
-
Returns a string representation of this record class.
- toString() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.Challenge
-
Returns a string representation of this record class.
- toString() - Method in record class fr.univ_eiffel.legotools.factory.api.AccountRefiller.ChallengeAnswer
-
Returns a string representation of this record class.
- toString() - Method in record class fr.univ_eiffel.legotools.factory.api.LegoFactory.Quote
-
Returns a string representation of this record class.
- toString() - Method in record class fr.univ_eiffel.legotools.model.FactoryBrick
-
Returns a string representation of this record class.
U
- updateItemPrice(int, double) - Method in class fr.univ_eiffel.legotools.factory.StockManager
-
Met à jour le prix unitaire d'un item.
V
- verifyBrick(FactoryBrick) - Method in interface fr.univ_eiffel.legotools.factory.api.LegoFactory
-
Contrôle Qualité.
- verifyBrick(FactoryBrick) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
-
Vérifie l'authenticité d'une brique.
- verifyBrickOffline(FactoryBrick) - Method in class fr.univ_eiffel.legotools.factory.impl.HttpRestFactory
-
Vérification cryptographique locale (Ed25519).
All Classes and Interfaces|All Packages