eu.lindenbaum.maven.erlang
Class EDocScript
java.lang.Object
eu.lindenbaum.maven.erlang.EDocScript
- All Implemented Interfaces:
- Script<Boolean>
public class EDocScript
- extends Object
A Script generating edoc documentation for an
application using edoc:application/3.
- 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. |
Boolean |
handle(com.ericsson.otp.erlang.OtpErlangObject result)
Converts the result of the Script execution into a Boolean
indicating success. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
script
protected final String script
EDocScript
public EDocScript(String appName,
File indir,
File outdir,
File overview)
throws org.apache.maven.plugin.MojoExecutionException
- Creates a
Script that generates edoc documentation for
a specfic application.
- Parameters:
appName - name of the applicationindir - input directory that will be scanned recursively (where .erl
files reside)outdir - to put the documentation intooverview - location of the overview file
- 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 Boolean handle(com.ericsson.otp.erlang.OtpErlangObject result)
- Converts the result of the
Script execution into a Boolean
indicating success.
- Parameters:
result - the result term of the Script execution
- Returns:
true on success, false otherwise
Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.