com.greenpepper.maven.plugin.FixtureGeneratorDefinition Maven / Gradle / Ivy
package com.greenpepper.maven.plugin;
import java.util.HashMap;
import java.util.Map;
public class FixtureGeneratorDefinition {
String impl;
private Map properties = new HashMap();
String getImpl() {
return impl;
}
public Map getProperties() {
return properties;
}
@Override
public String toString() {
StringBuilder stringBuilder = new StringBuilder(impl).append('\n');
for (Map.Entry entry : properties.entrySet()) {
stringBuilder.append(" - ").append(entry.getKey()).append(": ").append(entry.getValue()).append('\n');
}
return stringBuilder.toString();
}
}