public IStatus perform(IProvisioningPlan plan, IProgressMonitor monitor) { return perform(plan, PhaseSetFactory.createDefaultPhaseSet(), monitor); }
@Override public IStatus perform(IProvisioningPlan plan, IProgressMonitor monitor) { return perform(plan, PhaseSetFactory.createDefaultPhaseSet(), monitor); }
public static IStatus executePlan(IProvisioningPlan result, IEngine engine, ProvisioningContext context, IProgressMonitor progress) { return executePlan(result, engine, PhaseSetFactory.createDefaultPhaseSet(), context, progress); }
/** * 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()])); }
/** * 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()])); }
IPhaseSet set; if (phaseSet == null) set = PhaseSetFactory.createDefaultPhaseSet(); else set = phaseSet;
IPhaseSet set; if (phaseSet == null) set = PhaseSetFactory.createDefaultPhaseSet(); else set = phaseSet;