org.codehaus.mojo.runtime.model
Class JarRuntime

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

public class JarRuntime
extends RuntimeBase
implements java.io.Serializable

This runtime will be the uberjar++ arrangement with a gateway class that will build out the classpath and offer up the options to X number of main methods.

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

Constructor Summary
JarRuntime()
           
 
Method Summary
 void addDependency(java.lang.String string)
          Method addDependency
 void addExecutable(Executable executable)
          Method addExecutable
 java.util.List getDependencies()
          Method getDependencies
 java.util.Map getExecutableMap()
           
 java.util.List getExecutables()
          Method getExecutables
 java.lang.String getModelEncoding()
           
 void removeDependency(java.lang.String string)
          Method removeDependency
 void removeExecutable(Executable executable)
          Method removeExecutable
 void setDependencies(java.util.List dependencies)
          Set This will be a list of the main methods that are to be serviced by the executorClass
 void setExecutables(java.util.List executables)
          Set This will be a list of the main methods that are to be serviced by the executorClass
 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

JarRuntime

public JarRuntime()
Method Detail

addDependency

public void addDependency(java.lang.String string)
Method addDependency

Parameters:
string -

addExecutable

public void addExecutable(Executable executable)
Method addExecutable

Parameters:
executable -

getDependencies

public java.util.List getDependencies()
Method getDependencies


getExecutables

public java.util.List getExecutables()
Method getExecutables


removeDependency

public void removeDependency(java.lang.String string)
Method removeDependency

Parameters:
string -

removeExecutable

public void removeExecutable(Executable executable)
Method removeExecutable

Parameters:
executable -

setDependencies

public void setDependencies(java.util.List dependencies)
Set This will be a list of the main methods that are to be serviced by the executorClass

Parameters:
dependencies -

setExecutables

public void setExecutables(java.util.List executables)
Set This will be a list of the main methods that are to be serviced by the executorClass

Parameters:
executables -

getExecutableMap

public java.util.Map getExecutableMap()

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.