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

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

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

origin: org.jboss.galleon/galleon-core

  private static void writePackageDependency(ElementNode deps, PackageDependencySpec depSpec, String ns) {
    final ElementNode depElement = addElement(deps, PackageDepsSpecXmlParser.PACKAGE, ns);
    addAttribute(depElement, Attribute.NAME, depSpec.getName());
    if(depSpec.isOptional()) {
      if(depSpec.isPassive()) {
        addAttribute(depElement, PackageDepsSpecXmlParser.Attribute.PASSIVE, TRUE);
      } else {
        addAttribute(depElement, PackageDepsSpecXmlParser.Attribute.OPTIONAL, TRUE);
      }
    }
  }
}
org.jboss.galleon.specPackageDependencySpecisPassive

Popular methods of PackageDependencySpec

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

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JComboBox (javax.swing)
  • Best plugins for Eclipse
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