Codota Logo
CmsModuleDependency.dependesOn
Code IndexAdd Codota to your IDE (free)

How to use
dependesOn
method
in
org.opencms.module.CmsModuleDependency

Best Java code snippets using org.opencms.module.CmsModuleDependency.dependesOn (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * Checks if this module depends on another given module,
 * will return the dependency, or <code>null</code> if no dependency was found.<p>
 *
 * @param module the other module to check against
 * @return the dependency, or null if no dependency was found
 */
public CmsModuleDependency checkDependency(CmsModule module) {
  CmsModuleDependency otherDepdendency = new CmsModuleDependency(module.getName(), module.getVersion());
  // loop through all the dependencies
  for (int i = 0; i < m_dependencies.size(); i++) {
    CmsModuleDependency dependency = m_dependencies.get(i);
    if (dependency.dependesOn(otherDepdendency)) {
      // short circuit here
      return dependency;
    }
  }
  // no dependency was found
  return null;
}
origin: org.opencms/opencms-solr

/**
 * Checks if this module depends on another given module,
 * will return the dependency, or <code>null</code> if no dependency was found.<p>
 * 
 * @param module the other module to check against
 * @return the dependency, or null if no dependency was found
 */
public CmsModuleDependency checkDependency(CmsModule module) {
  CmsModuleDependency otherDepdendency = new CmsModuleDependency(module.getName(), module.getVersion());
  // loop through all the dependencies
  for (int i = 0; i < m_dependencies.size(); i++) {
    CmsModuleDependency dependency = (CmsModuleDependency)m_dependencies.get(i);
    if (dependency.dependesOn(otherDepdendency)) {
      // short circuit here
      return dependency;
    }
  }
  // no dependency was found
  return null;
}
org.opencms.moduleCmsModuleDependencydependesOn

Javadoc

Checks if this module depedency depends on another given module dependency.

Popular methods of CmsModuleDependency

  • <init>
    Generates a new module dependency.
  • getName
    Returns the name of the module dependency.
  • getVersion
    Returns the minimum version of the dependency.
  • clone

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getSystemService (Context)
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now