congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
VersionRange.matches
Code IndexAdd Tabnine to your IDE (free)

How to use
matches
method
in
org.apache.aries.util.VersionRange

Best Java code snippets using org.apache.aries.util.VersionRange.matches (Showing top 4 results out of 315)

origin: io.fabric8.fab/fab-osgi

public static boolean inRange(String versionText, String range) {
  VersionRange versionRange = VersionRange.parseVersionRange(range);
  Version version = VersionTable.getVersion(versionText);
  if (version != null && versionRange != null) {
    return versionRange.matches(version);
  }
  return false;
}
origin: org.fusesource.fabric.fab/fab-osgi

public static boolean inRange(String versionText, String range) {
  VersionRange versionRange = VersionRange.parseVersionRange(range);
  Version version = VersionTable.getVersion(versionText);
  if (version != null && versionRange != null) {
    return versionRange.matches(version);
  }
  return false;
}
origin: apache/aries

} else if (appContentRange.matches(info.getVersion())) {
 _deploymentContent.add(dp);
}  else if (useBundleRange.matches(info.getVersion())) {
 _deployedUseBundleContent.add(dp);
origin: org.apache.aries.application/org.apache.aries.application.utils

} else if (appContentRange.matches(info.getVersion())) {
 _deploymentContent.add(dp);
}  else if (useBundleRange.matches(info.getVersion())) {
 _deployedUseBundleContent.add(dp);
org.apache.aries.utilVersionRangematches

Javadoc

This method checks that the provided version matches the desired version.

Popular methods of VersionRange

  • getMaximumVersion
    get the maximum version
  • getMinimumVersion
    get the minimum version
  • isMaximumExclusive
    is the maximum version exclusive
  • isMinimumExclusive
    is the minimum version exclusive
  • toString
  • equals
  • getExactVersion
    this method returns the exact version from the versionInfo obj. this is used for DeploymentContent o
  • isExactVersion
    check if the versioninfo is the exact version
  • parseVersionRange
    Parse a version range and indicate if the version is an exact version
  • <init>
    Constructor designed for internal use only.
  • assertInvariants
    Assert object invariants. Called by constructors to verify that arguments were valid.
  • intersect
    Create a new version range that is the intersection of this and the argument. In other words, the la
  • assertInvariants,
  • intersect,
  • isRangeValid,
  • processExactVersionAttribute,
  • processVersionAttribute

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top Vim 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