Package me.julb.sdk.github.actions.spi
Class GitHubActionServiceLoader
java.lang.Object
me.julb.sdk.github.actions.spi.GitHubActionServiceLoader
The Service Loader helper used to load a GitHub action.
- Author:
- Julb.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<GitHubActionProvider>
Gets the GitHub action provider implementation using Java SPI.
-
Constructor Details
-
GitHubActionServiceLoader
public GitHubActionServiceLoader()
-
-
Method Details
-
getImplementation
Gets the GitHub action provider implementation using Java SPI.- Returns:
- the first
GitHubActionProvider
found orOptional.empty()
if not defined.
-