@Test public void tagWithProperty() throws Exception { new Expectations() {{ Properties props = new Properties(); props.put("docker.image.tag","1.2.3"); project.getProperties(); result = props; }}; assertThat(formatter.format("%t"),equalTo("1.2.3")); new FullVerifications() {{ }}; }
@Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } ImageNameFormatter(MavenProject project, Date now); }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } ImageNameFormatter(MavenProject project, Date now); @Override String format(String name); }
ImageNameFormatter implements ConfigHelper.NameFormatter { @Override public String format(String name) { if (name == null) { return null; } return formatParamReplacer.replace(name); } ImageNameFormatter(MavenProject project, Date now); @Override String format(String name);  }