eu.lindenbaum.maven.erlang
Class StopApplicationScript
java.lang.Object
eu.lindenbaum.maven.erlang.StopApplicationScript
- All Implemented Interfaces:
- Script<Void>
public class StopApplicationScript
- extends Object
A Script stopping all erlang applications except the ones given in a
preserver list.
- Author:
- Tobias Schlager , Olle Törnström
| 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. |
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 |
script
protected final String script
StopApplicationScript
public StopApplicationScript(List<String> applicationsToPreserve)
throws org.apache.maven.plugin.MojoExecutionException
- Creates a
Script that stops all applications except a specific list
of applications.
- Parameters:
applicationsToPreserve - to not stop
- 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 Void handle(com.ericsson.otp.erlang.OtpErlangObject result)
- The result of the
Script execution is ignored.
- Parameters:
result - the result term of the Script execution
- Returns:
- Always
null.
Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.