Tabnine Logo
PackageRuntime
Code IndexAdd Tabnine to your IDE (free)

How to use
PackageRuntime
in
org.jboss.galleon.runtime

Best Java code snippets using org.jboss.galleon.runtime.PackageRuntime (Showing top 8 results out of 315)

origin: org.jboss.galleon/galleon-cli

PackageInfo(PackageRuntime pkg, Identity identity,
    CliPlugin plugin) throws IOException, ProvisioningException {
  this.pkg = pkg;
  this.fpid = pkg.getFeaturePackRuntime().getFPID();
  this.identity = identity;
  this.contentDir = pkg.getContentDir();
  this.spec = pkg.getSpec();
  customContent = plugin == null ? null : plugin.handlePackageContent(pkg);
  if (customContent == null) {
    fillContent();
  }
}
origin: org.jboss.galleon/galleon-core

  PackageRuntime build(FeaturePackRuntime fp) {
    return new PackageRuntime(this, fp);
  }
}
origin: org.jboss.galleon/galleon-core

messageWriter.verbose("Installing %s", fp.getFPID());
for(PackageRuntime pkg : fp.getPackages()) {
  final Path pkgSrcDir = pkg.getContentDir();
  if (Files.exists(pkgSrcDir)) {
    try {
      IoUtils.copy(pkgSrcDir, stagedDir);
    } catch (IOException e) {
      throw new FeaturePackInstallException(Errors.packageContentCopyFailed(pkg.getName()), e);
origin: org.jboss.galleon/galleon-core

while (--i >= 0) {
  final PackageRuntime pkg = included.get(i);
  tmpPackages.put(pkg.getName(), pkg);
origin: org.jboss.galleon/galleon-cli

FeaturePackRuntime getFeaturePackRuntime() {
  return pkg.getFeaturePackRuntime();
}
origin: org.jboss.galleon/galleon-core

  pkgBuilder = PackageRuntime.builder(this, PackageXmlParser.getInstance().parse(reader), pkgDir, ++rt.pkgsTotal);
} catch (IOException | XMLStreamException e) {
  throw new ProvisioningException(Errors.parseXml(pkgXml), e);
origin: org.jboss.galleon/galleon-cli

for (PackageRuntime pkg : rt.getPackages()) {
  pkgBuilder.buildGroups(new PackageInfo(pkg, Identity.
      fromChannel(rt.getFPID().getProducer(), pkg.getName()), plugin), new PackageGroupsBuilder.PackageInfoBuilder() {
    @Override
    public PackageInfo build(Identity identity, PackageInfo parent) {
origin: org.jboss.galleon/galleon-cli

throw new RuntimeException("Package " + pkg.getName()
    + ", unknown dependency " + identity + " local is " + currentRuntime.getFPID());
org.jboss.galleon.runtimePackageRuntime

Most used methods

  • getContentDir
  • getName
  • <init>
  • builder
  • getFeaturePackRuntime
  • getSpec

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (Timer)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JTable (javax.swing)
  • Top PhpStorm 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