| 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.internal.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 | * @author Stefan Makswit |
| 20 | * @version $Revision$ |
| 21 | * @since 23.01.2006 |
| 22 | */ |
| 23 | public interface XMPVersionInfo |
| 24 | { |
| 25 | /** @return Returns the primary release number, the "1" in version "1.2.3". */ |
| 26 | int getMajor(); |
| 27 | |
| 28 | |
| 29 | /** @return Returns the secondary release number, the "2" in version "1.2.3". */ |
| 30 | int getMinor(); |
| 31 | |
| 32 | |
| 33 | /** @return Returns the tertiary release number, the "3" in version "1.2.3". */ |
| 34 | int getMicro(); |
| 35 | |
| 36 | |
| 37 | /** @return Returns a rolling build number, monotonically increasing in a release. */ |
| 38 | int getBuild(); |
| 39 | |
| 40 | |
| 41 | /** @return Returns true if this is a debug build. */ |
| 42 | boolean isDebug(); |
| 43 | |
| 44 | |
| 45 | /** @return Returns a comprehensive version information string. */ |
| 46 | String getMessage(); |
| 47 | } |