Exposes information about both the physical server and Java Runtime Environment (JRE) that Mule is running on:
addYears(int years) Add n years to the current DateTime. Returns DateTime for method chaining.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerContext
public ServerContext()
getHost
public String getHost()
throws UnknownHostException
- Throws:
UnknownHostException
getIp
public String getIp()
throws UnknownHostException
- Throws:
UnknownHostException
getTimeZone
public TimeZone getTimeZone()
getLocale
public Locale getLocale()
getTmpDir
public String getTmpDir()
getFileSeparator
public String getFileSeparator()
getEnv
public Map<String,String> getEnv()
getSystemProperties
public Properties getSystemProperties()
getOsName
public String getOsName()
getOsArch
public String getOsArch()
getOsVersion
public String getOsVersion()
getJavaVersion
public String getJavaVersion()
getJavaVendor
public String getJavaVendor()
getUserName
public String getUserName()
getUserHome
public String getUserHome()
getUserDir
public String getUserDir()
getDateTime
public DateTime getDateTime()
nanoTime
public long nanoTime()
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.