com.sodius.mdw.core.eval.launch
Class LaunchConfigurationFactory

java.lang.Object
  extended by com.sodius.mdw.core.eval.launch.LaunchConfigurationFactory

public final class LaunchConfigurationFactory
extends Object

Factory used to create a launch configuration.

This class cannot be instantiated or subclassed by clients.


Method Summary
static LaunchConfiguration createRuleConfiguration(File projectClasspathFile, String ruleSetName, String ruleName)
          Creates a launch configuration to evaluate an entry rule.
static LaunchConfiguration createTextTemplateConfiguration(File projectClasspathFile, String templateName)
          Creates a launch configuration to evaluate a text template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createTextTemplateConfiguration

public static LaunchConfiguration createTextTemplateConfiguration(File projectClasspathFile,
                                                                  String templateName)
Creates a launch configuration to evaluate a text template.

Parameters:
projectClasspathFile - the file defining the project classpath.
templateName - the fully qualified name of the text template.
Returns:
a new launch configuration based on this entry-point.

createRuleConfiguration

public static LaunchConfiguration createRuleConfiguration(File projectClasspathFile,
                                                          String ruleSetName,
                                                          String ruleName)
Creates a launch configuration to evaluate an entry rule.

Parameters:
projectClasspathFile - the file defining the project classpath.
ruleSetName - the fully qualified name of the rule set.
ruleName - the name of the entry rule.
Returns:
a new launch configuration based on this entry-point.