eu.lindenbaum.maven.erlang
Class MakeScriptScript
java.lang.Object
   eu.lindenbaum.maven.erlang.MakeScriptScript
eu.lindenbaum.maven.erlang.MakeScriptScript
- All Implemented Interfaces: 
- Script<GenericScriptResult>
- public final class MakeScriptScript 
- extends Object
A Script generating release scripts using
 systools:make_script/2.
- Author:
- Tobias Schlager , Olle Törnström 
 
| Fields inherited from interface eu.lindenbaum.maven.erlang.Script | 
| NL | 
 
 
| Method Summary | 
|  String | get()Returns an evaluateable
 Stringcontaining the erlang script of the
 implementing class. | 
|  GenericScriptResult | handle(com.ericsson.otp.erlang.OtpErlangObject result)Converts the result of the
 Scriptexecution into an object capable
 of logging the errors/warnings as well as returning the script result. | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
script
protected final String script
MakeScriptScript
public MakeScriptScript(File releaseFile,
                        File outdir,
                        String options)
                 throws org.apache.maven.plugin.MojoExecutionException
- Creates a Scriptgenerating the erlang boot scripts for an OTP
 release.
 
- Parameters:
- releaseFile- to generate scripts for
- outdir- to place the generated scripts into
- options- additional info according to erlang documentation, maybe- null
- Throws:
- org.apache.maven.plugin.MojoExecutionException
- See Also:
- http://www.erlang.org/doc/man/systools.html
 
get
public String get()
- Description copied from interface: Script
- Returns an evaluateable Stringcontaining the erlang script of the
 implementing class.
 
- 
- Returns:
- An erlang script that can be evaluated.
 
handle
public GenericScriptResult handle(com.ericsson.otp.erlang.OtpErlangObject result)
- Converts the result of the Scriptexecution into an object capable
 of logging the errors/warnings as well as returning the script result.
 
- 
- Parameters:
- result- The return term of the- Scriptexecution.
- Returns:
- An object capable of delivering the results transparently.
 
Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.