eu.lindenbaum.maven.erlang
Class RuntimeInfoScript
java.lang.Object
eu.lindenbaum.maven.erlang.RuntimeInfoScript
- All Implemented Interfaces:
- Script<RuntimeInfo>
public class RuntimeInfoScript
- extends Object
A Script
that can be used to retrieve runtime information from the
plugins backend node.
- Author:
- Tobias Schlager
Fields inherited from interface eu.lindenbaum.maven.erlang.Script |
NL |
Method Summary |
String |
get()
Returns an evaluateable String containing the erlang script of the
implementing class. |
RuntimeInfo |
handle(com.ericsson.otp.erlang.OtpErlangObject result)
Converts the result of the Script execution into an |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
script
protected final String script
RuntimeInfoScript
public RuntimeInfoScript()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
get
public String get()
- Description copied from interface:
Script
- Returns an evaluateable
String
containing the erlang script of the
implementing class.
- Returns:
- An erlang script that can be evaluated.
handle
public RuntimeInfo handle(com.ericsson.otp.erlang.OtpErlangObject result)
- Converts the result of the
Script
execution into an
- Parameters:
result
- The return term of the Script
execution.
- Returns:
- An object capable of delivering the results transparently.
Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.