eu.lindenbaum.maven.erlang
Class PurgeModulesScript

java.lang.Object
  extended by eu.lindenbaum.maven.erlang.PurgeModulesScript
All Implemented Interfaces:
Script<Void>

public final class PurgeModulesScript
extends Object

A Script that purges all modules currently loaded except the ones loaded directly from the backends lib directory retrieved using code:lib_dir/0 or belonging to the Emacs/distel project.

Author:
Tobias Schlager

Field Summary
protected  String script
           
 
Fields inherited from interface eu.lindenbaum.maven.erlang.Script
NL
 
Constructor Summary
PurgeModulesScript()
           
 
Method Summary
 String get()
          Returns an evaluateable String containing the erlang script of the implementing class.
 Void handle(com.ericsson.otp.erlang.OtpErlangObject result)
          The result of the Script execution is ignored.
 
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

PurgeModulesScript

public PurgeModulesScript()
                   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 Void handle(com.ericsson.otp.erlang.OtpErlangObject result)
The result of the Script execution is ignored.

Parameters:
result - The return term of the Script execution.
Returns:
A Script specific (converted) return value.


Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.