eu.lindenbaum.maven.erlang
Interface RuntimeInfo


public interface RuntimeInfo

Interface representing the result returned by the RuntimeInfoScript.

Author:
Tobias Schlager

Method Summary
 File getLibDirectory()
          Returns the erlang runtime's library directory as returned by code:lib_dir().
 String getOtpRelease()
          Returns the erlang OTP release version of the backend node as returned by erlang:system_info(otp_release).
 File getRootDirectory()
          Returns the erlang runtime's root directory as returned by code:root_dir().
 String getVersion()
          Returns the erlang runtime version (ERTS version) of the backend node as returned by erlang:system_info(version).
 

Method Detail

getLibDirectory

File getLibDirectory()
Returns the erlang runtime's library directory as returned by code:lib_dir().

Returns:
The erlang runtime's library directory.

getRootDirectory

File getRootDirectory()
Returns the erlang runtime's root directory as returned by code:root_dir().

Returns:
The erlang runtime's root directory.

getVersion

String getVersion()
Returns the erlang runtime version (ERTS version) of the backend node as returned by erlang:system_info(version).

Returns:
The erlang runtime's system version.

getOtpRelease

String getOtpRelease()
Returns the erlang OTP release version of the backend node as returned by erlang:system_info(otp_release).

Returns:
The erlang OTP release version string.


Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.