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).
 List<File> getPaths()
          Returns the current code paths of the backend node as returned by code:get_path/0.
 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.

getPaths

List<File> getPaths()
Returns the current code paths of the backend node as returned by code:get_path/0.

Returns:
A List with code paths.


Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.