info.novatec.testit.livingdoc.annotation.EnteredAnnotation Maven / Gradle / Ivy
package info.novatec.testit.livingdoc.annotation;
import static info.novatec.testit.livingdoc.LivingDoc.$;
import info.novatec.testit.livingdoc.Text;
public class EnteredAnnotation implements Annotation {
@Override
public void writeDown(Text text) {
text.setStyle(Styles.BACKGROUND_COLOR, Colors.GREEN);
text.setContent(message());
}
private String message() {
StringBuilder message = new StringBuilder();
message.append("").append($("entered")).append("");
return message.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy