public class PropertyConfigHandler extends Object implements ExternalConfigHandler
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PREFIX |
static String |
TYPE_NAME |
Constructor and Description |
---|
PropertyConfigHandler() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canCoexistWithOtherPropertyConfiguredImages(Map<String,String> externalConfig) |
String |
getType()
Get the unique type of this plugin as referenced with the
<type> tag within a
<reference> configuration section |
List<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 more
ImageConfiguration objects describing the image to manage |
public static final String TYPE_NAME
public static final String DEFAULT_PREFIX
public String getType()
ExternalConfigHandler
<type>
tag within a
<reference>
configuration sectiongetType
in interface ExternalConfigHandler
public List<ImageConfiguration> resolve(ImageConfiguration fromConfig, org.apache.maven.project.MavenProject project, org.apache.maven.execution.MavenSession session) throws IllegalArgumentException
ExternalConfigHandler
ImageConfiguration
objects describing the image to manageresolve
in interface ExternalConfigHandler
fromConfig
- the original, unresolved configproject
- maven projectsession
- maven sessionIllegalArgumentException
Copyright © 2019. All rights reserved.