Class DockerComposeConfigHandler
- java.lang.Object
-
- io.fabric8.maven.docker.config.handler.compose.DockerComposeConfigHandler
-
- All Implemented Interfaces:
ExternalConfigHandler
public class DockerComposeConfigHandler extends Object implements ExternalConfigHandler
Docker Compose handler for allowing a docker-compose file to be used to specify the docker images.
-
-
Constructor Summary
Constructors Constructor Description DockerComposeConfigHandler()
-
Method Summary
All Methods Instance Methods Concrete 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
public String getType()
Description copied from interface:ExternalConfigHandlerGet the unique type of this plugin as referenced with the<type>tag within a<reference>configuration section- Specified by:
getTypein interfaceExternalConfigHandler- Returns:
- plugin type
-
resolve
public List<ImageConfiguration> resolve(ImageConfiguration unresolvedConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session)
Description copied from interface:ExternalConfigHandlerFor the given plugin configuration (which also contains the type) extract one or moreImageConfigurationobjects describing the image to manage- Specified by:
resolvein interfaceExternalConfigHandler- Parameters:
unresolvedConfig- the original, unresolved configproject- maven projectsession- maven session- Returns:
- list of image configuration. Must not be null but can be empty.
-
-