org.codehaus.mojo.runtime.model
Class ShellRuntime

java.lang.Object
  extended by org.codehaus.mojo.runtime.model.RuntimeBase
      extended by org.codehaus.mojo.runtime.model.ShellRuntime
All Implemented Interfaces:
java.io.Serializable

public class ShellRuntime
extends RuntimeBase
implements java.io.Serializable

The simplest type of runtime descriptor that can be processed, intended to generate just the bare bones of a runtime environment, perhaps not even enougth to bundle up. Maybe just enough to generate a shell script that manages dependencies and executes a main method.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ShellRuntime()
           
 
Method Summary
 java.lang.String getMainClass()
          Get The fully qualified class name that has the main method on it that this runtime environment will be generated for.
 java.lang.String getModelEncoding()
           
 void setMainClass(java.lang.String mainClass)
          Set The fully qualified class name that has the main method on it that this runtime environment will be generated for.
 void setModelEncoding(java.lang.String modelEncoding)
           
 
Methods inherited from class org.codehaus.mojo.runtime.model.RuntimeBase
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellRuntime

public ShellRuntime()
Method Detail

getMainClass

public java.lang.String getMainClass()
Get The fully qualified class name that has the main method on it that this runtime environment will be generated for.


setMainClass

public void setMainClass(java.lang.String mainClass)
Set The fully qualified class name that has the main method on it that this runtime environment will be generated for.

Parameters:
mainClass -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class RuntimeBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class RuntimeBase


Copyright © 2010. All Rights Reserved.