eu.lindenbaum.maven.erlang
Interface Script<T>

All Known Implementing Classes:
BeamCompilerScript, CheckAppScript, CheckAppUpScript, CheckRelScript, CoverageReportScript, CreateRELEASESScript, DialyzerScript, EDocScript, FilterForAttributeScript, GetAttributesScript, LoadModulesScript, MakeScriptScript, MakeTarScript, PurgeModulesScript, RuntimeInfoScript, StartApplicationScript, StopApplicationScript, TestScript, UploadReleaseScript, UploadScript

public interface Script<T>

Interface for classes representing erlang scripts.

Author:
Tobias Schlager

Field Summary
static String NL
           
 
Method Summary
 String get()
          Returns an evaluateable String containing the erlang script of the implementing class.
 T handle(com.ericsson.otp.erlang.OtpErlangObject result)
          Converts the result term of the Script execution into another representation.
 

Field Detail

NL

static final String NL
Method Detail

get

String get()
Returns an evaluateable String containing the erlang script of the implementing class.

Returns:
An erlang script that can be evaluated.

handle

T handle(com.ericsson.otp.erlang.OtpErlangObject result)
Converts the result term of the Script execution into another representation.

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


Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.