congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ProvisioningPlan.update
Code IndexAdd Tabnine to your IDE (free)

How to use
update
method
in
org.jboss.galleon.layout.ProvisioningPlan

Best Java code snippets using org.jboss.galleon.layout.ProvisioningPlan.update (Showing top 2 results out of 315)

origin: org.jboss.galleon/galleon-core

private ProvisioningPlan getUpdatesInternal(Collection<ProducerSpec> producers) throws ProvisioningException {
  final ProvisioningPlan plan = ProvisioningPlan.builder();
  updatesTracker = getUpdatesTracker();
  updatesTracker.starting(producers.size());
  for(ProducerSpec producer : producers) {
    updatesTracker.processing(producer);
    final FeaturePackUpdatePlan fpPlan = getFeaturePackUpdate(producer);
    if(!fpPlan.isEmpty()) {
      plan.update(fpPlan);
    }
    updatesTracker.processed(producer);
  }
  updatesTracker.complete();
  return plan;
}
origin: org.jboss.galleon/galleon-cli

private static void addCustomUpdates(ProvisioningPlan plan, List<FeaturePackLocation> custom, ProvisioningManager mgr) throws ProvisioningException {
  try (ProvisioningLayout<?> layout = mgr.getLayoutFactory().newConfigLayout(mgr.getProvisioningConfig())) {
    for (FeaturePackLocation loc : custom) {
      FeaturePackLayout fpl = layout.getFeaturePack(loc.getProducer());
      FeaturePackLocation current = fpl.getFPID().getLocation();
      FeaturePackUpdatePlan fpPlan = FeaturePackUpdatePlan.request(current, fpl.isTransitiveDep()).setNewLocation(loc).buildPlan();
      if (fpPlan.hasNewLocation()) {
        plan.update(fpPlan);
      }
    }
  }
}
org.jboss.galleon.layoutProvisioningPlanupdate

Popular methods of ProvisioningPlan

  • builder
  • isEmpty
  • <init>
  • getInstall
  • getUninstall
  • getUpdateMap
  • getUpdates
  • hasInstall
  • hasUninstall
  • hasUpdates
  • install
  • install

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • JLabel (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Table (org.hibernate.mapping)
    A relational table
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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