Package io.fabric8.maven.docker.util
Class ImageNameFormatter
- java.lang.Object
-
- io.fabric8.maven.docker.util.ImageNameFormatter
-
- All Implemented Interfaces:
ConfigHelper.NameFormatter
public class ImageNameFormatter extends Object implements ConfigHelper.NameFormatter
Replace placeholders in an image name with certain properties found in the project- Since:
- 07/06/16
- Author:
- roland
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageNameFormatter.AbstractLookup
-
Field Summary
Fields Modifier and Type Field Description static StringTIMESTAMP_FORMAT-
Fields inherited from interface io.fabric8.maven.docker.config.ConfigHelper.NameFormatter
IDENTITY
-
-
Constructor Summary
Constructors Constructor Description ImageNameFormatter(org.apache.maven.project.MavenProject project, Date now)
-
-
-
Field Detail
-
TIMESTAMP_FORMAT
public static final String TIMESTAMP_FORMAT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImageNameFormatter
public ImageNameFormatter(org.apache.maven.project.MavenProject project, Date now)
-
-
Method Detail
-
format
public String format(String name)
- Specified by:
formatin interfaceConfigHelper.NameFormatter
-
-