1 // ================================================================================================= 2 // ADOBE SYSTEMS INCORPORATED 3 // Copyright 2006 Adobe Systems Incorporated 4 // All Rights Reserved 5 // 6 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms 7 // of the Adobe license agreement accompanying it. 8 // ================================================================================================= 9 10 package com.adobe.xmp; 11 12 /** 13 * XMP Toolkit Version Information. 14 * <p> 15 * Version information for the XMP toolkit is stored in the jar-library and available through a 16 * runtime call, {@link XMPMetaFactory#getVersionInfo()}, addition static version numbers are 17 * defined in "version.properties". 18 * 19 * @since 23.01.2006 20 */ 21 public interface XMPVersionInfo 22 { 23 /** @return Returns the primary release number, the "1" in version "1.2.3". */ getMajor()24 int getMajor(); 25 26 27 /** @return Returns the secondary release number, the "2" in version "1.2.3". */ getMinor()28 int getMinor(); 29 30 31 /** @return Returns the tertiary release number, the "3" in version "1.2.3". */ getMicro()32 int getMicro(); 33 34 35 /** @return Returns a rolling build number, monotonically increasing in a release. */ getBuild()36 int getBuild(); 37 38 39 /** @return Returns true if this is a debug build. */ isDebug()40 boolean isDebug(); 41 42 43 /** @return Returns a comprehensive version information string. */ getMessage()44 String getMessage(); 45 }