eu.lindenbaum.maven.erlang
Class CreateRELEASESScript
java.lang.Object
eu.lindenbaum.maven.erlang.CreateRELEASESScript
- All Implemented Interfaces:
- Script<String>
public class CreateRELEASESScript
- extends Object
A Script
that creates an initial RELEASES file from a specific
release file.
- 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. |
String |
handle(com.ericsson.otp.erlang.OtpErlangObject result)
Converts the result of the Script execution into an error message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
script
protected final String script
CreateRELEASESScript
public CreateRELEASESScript(File rootDir,
File relFile)
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 String handle(com.ericsson.otp.erlang.OtpErlangObject result)
- Converts the result of the
Script
execution into an error message.
- Parameters:
result
- The return term of the Script
execution.
- Returns:
- "ok" in case of success, a failure message in case of errors
Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.