001 package hirondelle.web4j.config; 002 003 import hirondelle.web4j.ApplicationInfo; 004 import hirondelle.web4j.model.DateTime; 005 import hirondelle.web4j.util.Consts; 006 007 /** 008 * Implementation of {@link ApplicationInfo}, required by WEB4J. 009 */ 010 public final class AppInfo implements ApplicationInfo { 011 012 public String getVersion(){ 013 return "4.10.0.0"; 014 } 015 016 public DateTime getBuildDate(){ 017 return new DateTime("2013-10-19 12:26:18"); 018 } 019 020 public String getName(){ 021 return "WEB4J Tools"; 022 } 023 024 public String getAuthor(){ 025 return "Hirondelle Systems"; 026 } 027 028 public String getLink(){ 029 return "http://www.web4j.com/"; 030 } 031 032 public String getMessage(){ 033 return "Tools for developing apps with web4j."; 034 } 035 036 /** 037 * Return {@link #getName()} + {@link #getVersion()}. 038 */ 039 @Override public String toString(){ 040 return getName() + Consts.SPACE + getVersion(); 041 } 042 }