eu.lindenbaum.maven.erlang
Interface CheckAppResult


public interface CheckAppResult

Interface representing the result returned by the CheckAppScript.

Author:
Tobias Schlager

Method Summary
 List<String> getApplications()
          Returns a list of the applications that must be running before the application can start as stated in the .app file.
 List<String> getModules()
          Returns a list of the modules configured in the .app file.
 String getName()
          Returns the application name as stated in the .app file.
 String getStartModule()
          Returns the applications start module as stated in the .app file.
 String getVersion()
          Returns the application version as stated in the .app file.
 boolean success()
          Returns whether script execution was successfull.
 

Method Detail

success

boolean success()
Returns whether script execution was successfull.

Returns:
true if script succeeded, false otherwise.

getName

String getName()
Returns the application name as stated in the .app file.

Returns:
The application name or "undefined" if not present.

getVersion

String getVersion()
Returns the application version as stated in the .app file.

Returns:
The application version or "undefined" if not present.

getStartModule

String getStartModule()
Returns the applications start module as stated in the .app file.

Returns:
The start module name or "omitted" if the application seems to be a library application.

getModules

List<String> getModules()
Returns a list of the modules configured in the .app file.

Returns:
A non-null list containing the configured applications modules.

getApplications

List<String> getApplications()
Returns a list of the applications that must be running before the application can start as stated in the .app file.

Returns:
A non-null list containing the application dependencies.


Copyright © 2011 Lindenbaum GmbH. All Rights Reserved.