Package org.compiere
Class Adempiere
- java.lang.Object
-
- org.compiere.Adempiere
-
public final class Adempiere extends Object
Adempiere Control Class- Version:
- $Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $
- Author:
- Jorg Janke
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADEMPIERE_R
static String
COPYRIGHT
static String
DATE_VERSION
Detail Version as date Used for Client/Serverstatic String
DB_VERSION
Database Version as date Compared with AD_Systemstatic String
ID
Timestampstatic String
MAIN_VERSION
Main Version Stringstatic String
NAME
Product Namestatic String
SUB_TITLE
Subtitlestatic String
URL
URL of Product
-
Constructor Summary
Constructors Constructor Description Adempiere()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addServerStateChangeListener(ServerStateChangeListener l)
static String
getAdempiereHome()
Get default (Home) directorystatic int
getCheckSum()
Get Checksumstatic String
getDatabaseVersion()
static Image
getHeaderLogo()
Get Header logostatic Image
getImage16()
Get 16x16 Image.static ImageIcon
getImageIcon32()
Get 32x32 ImageIcon.static ImageIcon
getImageIconLogo()
Get 100x30 ImageIcon.static Image
getImageLogo()
Get Logo Image.static Image
getImageLogoSmall(boolean hr)
Get 28*15 Logo Image.static String
getImplementationVendor()
Get Jar Implementation Vendorstatic String
getImplementationVersion()
Get Jar Implementation Versionstatic String
getJavaInfo()
Get Java VM Infostatic String
getName()
Get Product Namestatic String
getOnlineHelpURL()
static String
getOSInfo()
Get Operating System Infostatic URL
getResource(String name)
static String
getSubtitle()
Get Sub Titlestatic String
getSum()
Short Summary (Windows)static String
getSummary()
Summary (Windows).static String
getSummaryAscii()
Summary in ASCIIstatic String
getSupportEMail()
Get Support Emailstatic ScheduledThreadPoolExecutor
getThreadPoolExecutor()
static String
getURL()
Get full URLstatic String
getVersion()
Get Product Versionstatic boolean
isDBVersionShown()
static boolean
isHostShown()
static boolean
isJVMShown()
static boolean
isOSShown()
static boolean
isStarted()
static boolean
isVendorShown()
static boolean
isVersionShown()
static void
removeServerStateChangeListener(ServerStateChangeListener l)
static void
setSupportEMail(String email)
Set Support Emailstatic boolean
startup(boolean isClient)
Startup Client/Serverstatic boolean
startupEnvironment(boolean isClient)
Startup Adempiere Environment.static void
stop()
-
-
-
Field Detail
-
ID
public static final String ID
Timestamp- See Also:
- Constant Field Values
-
MAIN_VERSION
public static String MAIN_VERSION
Main Version String
-
DATE_VERSION
public static String DATE_VERSION
Detail Version as date Used for Client/Server
-
DB_VERSION
public static String DB_VERSION
Database Version as date Compared with AD_System
-
NAME
public static final String NAME
Product Name- See Also:
- Constant Field Values
-
URL
public static final String URL
URL of Product- See Also:
- Constant Field Values
-
SUB_TITLE
public static final String SUB_TITLE
Subtitle- See Also:
- Constant Field Values
-
ADEMPIERE_R
public static final String ADEMPIERE_R
- See Also:
- Constant Field Values
-
COPYRIGHT
public static final String COPYRIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public static String getName()
Get Product Name- Returns:
- Application Name
-
getVersion
public static String getVersion()
Get Product Version- Returns:
- Application Version
-
isVersionShown
public static boolean isVersionShown()
-
isDBVersionShown
public static boolean isDBVersionShown()
-
isVendorShown
public static boolean isVendorShown()
-
isJVMShown
public static boolean isJVMShown()
-
isOSShown
public static boolean isOSShown()
-
isHostShown
public static boolean isHostShown()
-
getDatabaseVersion
public static String getDatabaseVersion()
-
getSum
public static String getSum()
Short Summary (Windows)- Returns:
- summary
-
getSummary
public static String getSummary()
Summary (Windows). iDempiere(tm) Release 1.0c_2013-06-27 -Smart Suite ERP, CRM and SCM- Copyright (c) 1999-2021 iDempiere; Implementation: 2.5.1a 20040417-0243 - (C) 1999-2005 Jorg Janke, iDempiere Inc. USA- Returns:
- Summary in Windows character set
-
getImplementationVersion
public static String getImplementationVersion()
Get Jar Implementation Version- Returns:
- Implementation-Version
-
getImplementationVendor
public static String getImplementationVendor()
Get Jar Implementation Vendor- Returns:
- Implementation-Vendor
-
getCheckSum
public static int getCheckSum()
Get Checksum- Returns:
- checksum
-
getSummaryAscii
public static String getSummaryAscii()
Summary in ASCII- Returns:
- Summary in ASCII
-
getJavaInfo
public static String getJavaInfo()
Get Java VM Info- Returns:
- VM info
-
getOSInfo
public static String getOSInfo()
Get Operating System Info- Returns:
- OS info
-
getURL
public static String getURL()
Get full URL- Returns:
- URL
-
getOnlineHelpURL
public static String getOnlineHelpURL()
- Returns:
- URL
-
getSubtitle
public static String getSubtitle()
Get Sub Title- Returns:
- Subtitle
-
getImage16
public static Image getImage16()
Get 16x16 Image.- Returns:
- Image Icon
-
getImageLogoSmall
public static Image getImageLogoSmall(boolean hr)
Get 28*15 Logo Image.- Parameters:
hr
- high resolution- Returns:
- Image Icon
-
getHeaderLogo
public static Image getHeaderLogo()
Get Header logo- Returns:
- Image
-
getImageLogo
public static Image getImageLogo()
Get Logo Image.- Returns:
- Image Logo
-
getImageIcon32
public static ImageIcon getImageIcon32()
Get 32x32 ImageIcon.- Returns:
- Image Icon
-
getImageIconLogo
public static ImageIcon getImageIconLogo()
Get 100x30 ImageIcon.- Returns:
- Image Icon
-
getAdempiereHome
public static String getAdempiereHome()
Get default (Home) directory- Returns:
- Home directory
-
getSupportEMail
public static String getSupportEMail()
Get Support Email- Returns:
- Support mail address
-
setSupportEMail
public static void setSupportEMail(String email)
Set Support Email- Parameters:
email
- Support mail address
-
isStarted
public static boolean isStarted()
-
startup
public static boolean startup(boolean isClient)
Startup Client/Server. - Print greeting, - Check Java version and - load ini parameters If it is a client, load/set PLAF and exit if error. If Client, you need to call startupEnvironment explicitly! For testing call method startupEnvironment- Parameters:
isClient
- true for client- Returns:
- successful startup
-
startupEnvironment
public static boolean startupEnvironment(boolean isClient)
Startup Adempiere Environment. Automatically called for Server connections For testing call this method.- Parameters:
isClient
- true if client connection- Returns:
- successful startup
-
stop
public static void stop()
-
getThreadPoolExecutor
public static ScheduledThreadPoolExecutor getThreadPoolExecutor()
- Returns:
ScheduledThreadPoolExecutor
-
removeServerStateChangeListener
public static void removeServerStateChangeListener(ServerStateChangeListener l)
- Parameters:
l
- listener
-
addServerStateChangeListener
public static void addServerStateChangeListener(ServerStateChangeListener l)
- Parameters:
l
- listener
-
-