eu.lindenbaum.maven.erlang
Class RuntimeInfoScript

java.lang.Object
  extended by 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

Field Summary
protected  String script
           
 
Fields inherited from interface eu.lindenbaum.maven.erlang.Script
NL
 
Constructor Summary
RuntimeInfoScript()
           
 
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
 

Field Detail

script

protected final String script
Constructor Detail

RuntimeInfoScript

public RuntimeInfoScript()
                  throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException
Method Detail

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.