EGF Engine
Release 0.1.0

org.eclipse.egf.pde.plugin.manifest.command
Class ManifestChangeCommandFactory

java.lang.Object
  extended by org.eclipse.egf.pde.plugin.manifest.command.ManifestChangeCommandFactory

public class ManifestChangeCommandFactory
extends Object

Implement a factory to create command that change the plug-in manifest file.


Constructor Summary
ManifestChangeCommandFactory()
           
 
Method Summary
static IPluginChangesCommand setExportedPackages(String[] exportedPackages_p)
          Create set exported packages command for given ones.
static IPluginChangesCommand setRequiredPlugins(String[] requiredPlugins_p)
          Create set required plug-ins command for given ones.
static IPluginChangesCommand setRequiredPlugins(String[] requiredPlugins_p, boolean optional_p)
          Create set required plug-ins command for given ones.
static IPluginChangesCommand setRequiredPlugins(String[] requiredPlugins_p, boolean optional_p, boolean reexport_p)
          Create set required plug-ins command for given ones.
static IPluginChangesCommand unsetExportedPackages(String[] exportedPackages_p)
          Create unset exported packages command for given ones.
static IPluginChangesCommand unsetRequiredPlugins(String[] requiredPlugins_p)
          Create unset required plug-ins command for given ones.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestChangeCommandFactory

public ManifestChangeCommandFactory()
Method Detail

setRequiredPlugins

public static IPluginChangesCommand setRequiredPlugins(String[] requiredPlugins_p)
Create set required plug-ins command for given ones.

Parameters:
requiredPlugins_p - the required plug-ins to add.
Returns:

setRequiredPlugins

public static IPluginChangesCommand setRequiredPlugins(String[] requiredPlugins_p,
                                                       boolean optional_p)
Create set required plug-ins command for given ones.

Parameters:
requiredPlugins_p - the plug-ins dependencies to add.
optional_p - Are plug-ins dependencies optional (true) or mandatory (false) ?
Returns:

setRequiredPlugins

public static IPluginChangesCommand setRequiredPlugins(String[] requiredPlugins_p,
                                                       boolean optional_p,
                                                       boolean reexport_p)
Create set required plug-ins command for given ones.

Parameters:
requiredPlugins_p - the plug-ins dependencies to add.
optional_p - Are plug-ins dependencies optional (true) or mandatory (false) ?
reexport_p - Are plug-ins dependencies to be re-exported (true) or not (false) ?
Returns:

unsetRequiredPlugins

public static IPluginChangesCommand unsetRequiredPlugins(String[] requiredPlugins_p)
Create unset required plug-ins command for given ones.

Parameters:
requiredPlugins_p - the required plug-ins to remove.
Returns:

setExportedPackages

public static IPluginChangesCommand setExportedPackages(String[] exportedPackages_p)
Create set exported packages command for given ones.

Parameters:
exportedPackages_p - the exported packages to add.
Returns:

unsetExportedPackages

public static IPluginChangesCommand unsetExportedPackages(String[] exportedPackages_p)
Create unset exported packages command for given ones.

Parameters:
exportedPackages_p - the exported packages to remove.
Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.