Tabnine Logo
PhaseSetFactory.createPhaseSetIncluding
Code IndexAdd Tabnine to your IDE (free)

How to use
createPhaseSetIncluding
method
in
org.eclipse.equinox.p2.engine.PhaseSetFactory

Best Java code snippets using org.eclipse.equinox.p2.engine.PhaseSetFactory.createPhaseSetIncluding (Showing top 8 results out of 315)

origin: org.eclipse.platform/org.eclipse.equinox.p2.engine

public static IPhaseSet createDefaultPhaseSet() {
  return createPhaseSetIncluding(ALL_PHASES_LIST.toArray(new String[ALL_PHASES_LIST.size()]));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.p2.engine

public static IPhaseSet createDefaultPhaseSet() {
  return createPhaseSetIncluding(ALL_PHASES_LIST.toArray(new String[ALL_PHASES_LIST.size()]));
}
origin: org.eclipse.platform/org.eclipse.equinox.p2.engine

/**
 * Creates a default phase set that covers all the provisioning operations.
 * Phases can be specified for exclusion.
 * 
 * @param exclude - A set of bit options that specify the phases to exclude.
 * See {@link PhaseSetFactory} for possible options
 * @return the {@link PhaseSet}
 */
public static final IPhaseSet createDefaultPhaseSetExcluding(String[] exclude) {
  if (exclude == null || exclude.length == 0)
    return createDefaultPhaseSet();
  List<String> excludeList = Arrays.asList(exclude);
  List<String> includeList = new ArrayList<>(ALL_PHASES_LIST);
  includeList.removeAll(excludeList);
  return createPhaseSetIncluding(includeList.toArray(new String[includeList.size()]));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.p2.engine

/**
 * Creates a default phase set that covers all the provisioning operations.
 * Phases can be specified for exclusion.
 * 
 * @param exclude - A set of bit options that specify the phases to exclude.
 * See {@link PhaseSetFactory} for possible options
 * @return the {@link PhaseSet}
 */
public static final IPhaseSet createDefaultPhaseSetExcluding(String[] exclude) {
  if (exclude == null || exclude.length == 0)
    return createDefaultPhaseSet();
  List<String> excludeList = Arrays.asList(exclude);
  List<String> includeList = new ArrayList<String>(ALL_PHASES_LIST);
  includeList.removeAll(excludeList);
  return createPhaseSetIncluding(includeList.toArray(new String[includeList.size()]));
}
origin: org.eclipse.equinox.p2.reconciler/dropins

private IStatus setProperty(String key, String value, ProvisioningContext provisioningContext, IProgressMonitor monitor) {
  IEngine engine = (IEngine) agent.getService(IEngine.SERVICE_NAME);
  IProvisioningPlan plan = engine.createPlan(profile, provisioningContext);
  plan.setProfileProperty(key, value);
  IPhaseSet phaseSet = PhaseSetFactory.createPhaseSetIncluding(new String[] {PhaseSetFactory.PHASE_PROPERTY});
  return engine.perform(plan, phaseSet, monitor);
}
origin: org.eclipse.equinox.p2/operations

  downloadPlan.addInstallableUnit(it.next());
IPhaseSet download = PhaseSetFactory.createPhaseSetIncluding(new String[] {PhaseSetFactory.PHASE_COLLECT});
IStatus downloadStatus = getEngine().perform(downloadPlan, download, mon.newChild(300));
if (!downloadStatus.isOK()) {
origin: org.eclipse.equinox.p2.ui.sdk/scheduler

job.setPhaseSet(PhaseSetFactory.createPhaseSetIncluding(new String[] {PhaseSetFactory.PHASE_COLLECT}));
job.setUser(false);
job.setSystem(true);
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.equinox.p2.operations

  downloadPlan.addInstallableUnit(it.next());
IPhaseSet download = PhaseSetFactory.createPhaseSetIncluding(new String[] {PhaseSetFactory.PHASE_COLLECT});
IStatus downloadStatus = getEngine().perform(downloadPlan, download, mon.newChild(300));
if (!downloadStatus.isOK()) {
org.eclipse.equinox.p2.enginePhaseSetFactorycreatePhaseSetIncluding

Javadoc

Creates a default phase set that covers all the provisioning operations. Phases can be specified for inclusion.

Popular methods of PhaseSetFactory

  • createDefaultPhaseSet
  • createDefaultPhaseSetExcluding
    Creates a default phase set that covers all the provisioning operations. Phases can be specified for
  • createSizingPhaseSet

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JTable (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now