Tabnine Logo
VersionRange.isExactVersion
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: org.apache.aries/org.apache.aries.util-r42

/**
 * this method returns the exact version from the versionInfo obj.
 * this is used for DeploymentContent only to return a valid exact version
 * otherwise, null is returned.
 * @return the exact version
 */
public Version getExactVersion() {
  Version v = null;
  if (isExactVersion()) {
    v = getMinimumVersion();
  }
  return v;
}
origin: apache/aries

inserts.add(vr.getMinimumVersion());
if (!!!vr.isExactVersion()) {
 msgKey.append(vr.isMinimumExclusive() ? "_LOWEX" : "_LOW");
 if (vr.getMaximumVersion() != null) {
origin: org.apache.aries.application/org.apache.aries.application.resolver.obr

inserts.add(vr.getMinimumVersion());
if (!!!vr.isExactVersion()) {
 msgKey.append(vr.isMinimumExclusive() ? "_LOWEX" : "_LOW");
 if (vr.getMaximumVersion() != null) {
origin: org.apache.aries/org.apache.aries.util-r42

/**
 * this is designed for deployed-version as that is the exact version.
 * 
 * @param version
 * @return
 * @throws IllegalArgumentException
 */
private boolean processExactVersionAttribute(String version) throws IllegalArgumentException {
  boolean success = processVersionAttribute(version);
  if (maximumVersion == null) {
    maximumVersion = minimumVersion;
  }
  if (!minimumVersion.equals(maximumVersion)) {
    throw new IllegalArgumentException(MessageUtil.getMessage("UTIL0011E", version));
  }
  if (!!!isExactVersion()) {
    throw new IllegalArgumentException(MessageUtil.getMessage("UTIL0009E", version));
  }
  return success;
}
org.apache.aries.utilVersionRangeisExactVersion

Javadoc

check if the versioninfo is the exact 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
  • matches
    This method checks that the provided version matches the desired version.
  • equals
  • getExactVersion
    this method returns the exact version from the versionInfo obj. this is used for DeploymentContent o
  • 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

  • Start an intent from android
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JFileChooser (javax.swing)
  • JList (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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