Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright (c) SiteWhere, LLC. All rights reserved. http://www.sitewhere.com
  *
  * The software in this package is published under the terms of the CPAL v1.0
  * license, a copy of which has been included with this distribution in the
  * LICENSE.txt file.
  */
 package com.sitewhere;
 
Used as basis for generating version information. This file is modified by the Maven build process so that the correct values exist in the compiled classes.

Author(s):
Derek
public class Version implements IVersion {

Version identifier supplied by the Maven POM
	public static final String VERSION_IDENTIFIER = "1.0.4";

Timestamp for build
	public static final String BUILD_TIMESTAMP = "20150607192019";
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.system.IVersion#getEdition()
	 */
	public String getEdition() {
		return "Community Edition";
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.system.IVersion#getEditionIdentifier()
	 */
		return "CE";
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.system.IVersion#getVersionIdentifier()
	 */
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.system.IVersion#getBuildTimestamp()
	 */
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see com.sitewhere.spi.system.IVersion#getServerClass()
	 */
	public Class<? extends ISiteWhereServergetServerClass() {
		return SiteWhereServer.class;
	}
New to GrepCode? Check out our FAQ X