Interface ExternalConfigHandler
-
- All Known Implementing Classes:
DockerComposeConfigHandler,PropertyConfigHandler
public interface ExternalConfigHandlerInterface which needs to be implemented to create image configurations from external sources- Since:
- 18/11/14
- Author:
- roland
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetType()Get the unique type of this plugin as referenced with the<type>tag within a<reference>configuration sectionList<ImageConfiguration>resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)For the given plugin configuration (which also contains the type) extract one or moreImageConfigurationobjects describing the image to manage
-
-
-
Method Detail
-
getType
String getType()
Get the unique type of this plugin as referenced with the<type>tag within a<reference>configuration section- Returns:
- plugin type
-
resolve
List<ImageConfiguration> resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) throws ExternalConfigHandlerException
For the given plugin configuration (which also contains the type) extract one or moreImageConfigurationobjects describing the image to manage- Parameters:
unresolvedConfig- the original, unresolved configproject- maven projectsession- maven session- Returns:
- list of image configuration. Must not be null but can be empty.
- Throws:
ExternalConfigHandlerException- if there is a problem resolving the image configuration
-
-