1 package test.util; 2 3 import org.bitbucket.jrsofty.parser.logging.api.LogElementMapping; 4 import org.bitbucket.jrsofty.parser.logging.api.LogEntry; 5 6 public class LogElementWithParameterConstructor implements LogEntry { 7 8 @LogElementMapping(logToken = "%ip4") 9 private String ipAddress; 10 @LogElementMapping(logToken = "%dtm") 11 private String dateString; 12 13 public LogElementWithParameterConstructor(final String parameter) { 14 15 } 16 17 public void setIpAddress(final String ipAddress) { 18 this.ipAddress = ipAddress; 19 } 20 21 public String getIpAddress() { 22 return this.ipAddress; 23 } 24 25 public void setDateString(final String dateString) { 26 this.dateString = dateString; 27 } 28 29 public String getDateString() { 30 return this.dateString; 31 } 32 }