Codota Logo
PhaseSetFactory.createPhaseSetIncluding
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
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

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • notifyDataSetChanged (ArrayAdapter)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now