Tabnine Logo
PackageDependencySpec.passive
Code IndexAdd Tabnine to your IDE (free)

How to use
passive
method
in
org.jboss.galleon.spec.PackageDependencySpec

Best Java code snippets using org.jboss.galleon.spec.PackageDependencySpec.passive (Showing top 2 results out of 315)

origin: org.jboss.galleon/galleon-core

public static PackageDependencySpec newInstance(String packageName, int type) throws ProvisioningDescriptionException {
  switch(type) {
    case PackageDependencySpec.OPTIONAL:
      return PackageDependencySpec.optional(packageName);
    case PackageDependencySpec.PASSIVE:
      return PackageDependencySpec.passive(packageName);
    case PackageDependencySpec.REQUIRED:
      return PackageDependencySpec.required(packageName);
    default:
      throw new ProvisioningDescriptionException(Errors.unexpectedPackageDependencyType(packageName, type));
  }
}
origin: org.jboss.galleon/galleon-core

  throw new XMLStreamException(Errors.requiredPassiveDependency(name), reader.getLocation());
return PackageDependencySpec.passive(name);
org.jboss.galleon.specPackageDependencySpecpassive

Javadoc

Creates a passive dependency on the package.

Popular methods of PackageDependencySpec

  • getName
  • <init>
  • getType
  • isOptional
  • isPassive
  • newInstance
  • optional
    Creates an optional dependency on the package.
  • required
    Creates a required dependency on the package.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JTable (javax.swing)
  • Github Copilot alternatives
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