Interface ArtifactsDeployer
- All Known Implementing Classes:
LocalMavenRepositoryArtifactsDeployer
public interface ArtifactsDeployer
SPI to deploy artifacts
-
Method Summary
Modifier and TypeMethodDescription@NotNull Stringdeploy(@NotNull ArtifactWriter artifactWriter, @Nullable String runmode, @NotNull org.apache.sling.feature.ArtifactId id) Deploy the artifact and return information about its location
-
Method Details
-
deploy
@NotNull @NotNull String deploy(@NotNull @NotNull ArtifactWriter artifactWriter, @Nullable @Nullable String runmode, @NotNull @NotNull org.apache.sling.feature.ArtifactId id) throws IOException Deploy the artifact and return information about its location- Parameters:
artifactWriter- The artifact writer to userunmode- Optional runmodeid- The artifact id- Returns:
- Information about the location, this is deployer specific
- Throws:
IOException- If deploying fails
-