congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 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