org.eclipse.modisco.infra.discovery.ui.internal.util
Class LaunchModelUtils

java.lang.Object
  extended by org.eclipse.modisco.infra.discovery.ui.internal.util.LaunchModelUtils

public final class LaunchModelUtils
extends java.lang.Object

Some Launch model utility services dedicated to UI for workspace local serialization


Field Summary
static java.lang.String DISCOVERER_LAUNCH_MODEL
           
 
Method Summary
static LaunchConfiguration createLaunchConfigurationModel()
           
static Resource createLaunchResource()
           
static java.lang.Object getDiscoveryParameterValue(LaunchConfiguration launchConfig, DiscovererParameter parameter)
           
static void setDiscoveryParameterValue(LaunchConfiguration launchConfig, DiscovererParameter parameter, java.lang.Object value)
           
static java.lang.String validate(LaunchConfiguration launchConfiguration)
          Validate the given LaunchConfiguration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISCOVERER_LAUNCH_MODEL

public static final java.lang.String DISCOVERER_LAUNCH_MODEL
See Also:
Constant Field Values
Method Detail

createLaunchConfigurationModel

public static LaunchConfiguration createLaunchConfigurationModel()

createLaunchResource

public static Resource createLaunchResource()

getDiscoveryParameterValue

public static java.lang.Object getDiscoveryParameterValue(LaunchConfiguration launchConfig,
                                                          DiscovererParameter parameter)

setDiscoveryParameterValue

public static void setDiscoveryParameterValue(LaunchConfiguration launchConfig,
                                              DiscovererParameter parameter,
                                              java.lang.Object value)

validate

public static java.lang.String validate(LaunchConfiguration launchConfiguration)
Validate the given LaunchConfiguration.

Returns:
null if OK, or a localized String indicating the error.