public interface CommonIntegrator
Modifier and Type | Method and Description |
---|---|
void |
downloadVersionContent(VersionInfo versionInfo,
File processingDirectoryLocation)
This method extracts the information from VersionInfo and starts processing artifacts.
|
default Collection<String> |
getAlerts(Locale locale)
This method is responsible for showing any alerts or warning messages before running the integration for version creation.
|
Collection<VersionInfo> |
getNextVersionInfo(Properties properties)
This method returns the VersionInfo composition object that is required for downloading
and processing the artifact.
|
Collection<VersionInfo> getNextVersionInfo(Properties properties) throws Exception
properties
- Individual properties from which each versionParam is extracted and used for downloading or processing.Exception
- If something goes wrongvoid downloadVersionContent(VersionInfo versionInfo, File processingDirectoryLocation) throws Exception
versionInfo
- VersionInfo object that has the required information for creating a version.processingDirectoryLocation
- The processingDirectoryLocation is the location where all the artifact processing is done.
You can use the Java temp directory for this.Exception
- If something goes wrongdefault Collection<String> getAlerts(Locale locale) throws Exception
locale
- This is important when you need to strings to be displayed in the language for a specific locale.Exception
- If the composition of alerts failsCopyright © 2018. All rights reserved.