Class PropertyConfigHandler
- java.lang.Object
-
- io.fabric8.maven.docker.config.handler.property.PropertyConfigHandler
-
- All Implemented Interfaces:
ExternalConfigHandler
public class PropertyConfigHandler extends Object implements ExternalConfigHandler
- Since:
- 18/11/14
- Author:
- roland
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PREFIXstatic StringTYPE_NAME
-
Constructor Summary
Constructors Constructor Description PropertyConfigHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleancanCoexistWithOtherPropertyConfiguredImages(Map<String,String> externalConfig)StringgetType()Get the unique type of this plugin as referenced with the<type>tag within a<reference>configuration sectionList<ImageConfiguration>resolve(ImageConfiguration fromConfig, 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
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_PREFIX
public static final String DEFAULT_PREFIX
- See Also:
- Constant Field Values
-
-
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 fromConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) throws IllegalArgumentException
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:
fromConfig- the original, unresolved configproject- maven projectsession- maven session- Returns:
- list of image configuration. Must not be null but can be empty.
- Throws:
IllegalArgumentException
-
-