Package org.siouan.frontendgradleplugin.core
Provides Gradle-independent core components.
-
Class Summary Class Description DistributionInstaller Component that downloads and installs a distribution.DistributionInstallerSettings Settings for the distribution installer.DownloaderImpl Class providing download utilities with efficient behavior and low impact on memory.ExplodeSettings Settings for an archive exploder.FileHasherImpl This class resolves the hash of a file, using the SHA-256 algorithm, and an internal buffer of 8 KB.NodeDistributionChecksumReaderImpl This reader allows to extract the checksum of a distribution file in a Node's file providing all checksums for a given Node version.NodeDistributionUrlResolver Resolves the name of a distribution supported by the underlying OS and JRE.NodeDistributionValidator Validates a Node distribution by comparing its SHA-256 hash against the one officially published.RunScriptJob This abstract class provides the reusable logic to run a NPM/Yarn script.StringSplitter A splitter of strings.Utils This class provides utilities for the whole plugin.YarnDistributionUrlResolver Resolves the name of a distribution supported by the underlying OS and JRE. -
Enum Summary Enum Description Executor Enumeration of types of execution supported by the plugin. -
Exception Summary Exception Description DistributionInstallerException Exception thrown when a distribution installer fails.DistributionUrlResolverException Exception thrown when the URL to download a distribution can not be resolved.DistributionValidatorException Exception thrown when a downloaded distribution is invalid.ExecutableNotFoundException Exception thrown when an executable cannot be found.FrontendException Base exception class for checked exceptions thrown by the plugin.MissingScriptException Exception thrown when no script was provided.