Codota Logo
Module.getModuleClass
Code IndexAdd Codota to your IDE (free)

How to use
getModuleClass
method
in
org.jfree.base.modules.Module

Best Java code snippets using org.jfree.base.modules.Module.getModuleClass (Showing top 20 results out of 315)

  • Common ways to obtain Module
private void myMethod () {
Module m =
  • Codota IconPackageSorter.SortModule packageSorterSortModule;packageSorterSortModule.getState().getModule()
  • Codota IconHashMap hashMap;(Module) hashMap.get(info[i].getModuleClass())
  • Codota IconArrayList arrayList;(Module) arrayList.get(index)
  • Smart code suggestions by Codota
}
origin: jfree/jcommon

/**
 * Compares this object with the given other object for equality. 
 * @see java.lang.Object#equals(java.lang.Object)
 * 
 * @param o the other object to be compared
 * @return true, if the other object is also a PackageState containing
 * the same module, false otherwise. 
 */
public boolean equals(final Object o)
{
 if (this == o)
 {
  return true;
 }
 if (!(o instanceof PackageState))
 {
  return false;
 }
 final PackageState packageState = (PackageState) o;
 if (!this.module.getModuleClass().equals(packageState.module.getModuleClass()))
 {
  return false;
 }
 return true;
}
origin: org.jfree/jcommon

/**
 * Compares this object with the given other object for equality. 
 * @see java.lang.Object#equals(java.lang.Object)
 * 
 * @param o the other object to be compared
 * @return true, if the other object is also a PackageState containing
 * the same module, false otherwise. 
 */
public boolean equals(final Object o)
{
 if (this == o)
 {
  return true;
 }
 if (!(o instanceof PackageState))
 {
  return false;
 }
 final PackageState packageState = (PackageState) o;
 if (!this.module.getModuleClass().equals(packageState.module.getModuleClass()))
 {
  return false;
 }
 return true;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Compares this object with the given other object for equality. 
 * @see java.lang.Object#equals(java.lang.Object)
 * 
 * @param o the other object to be compared
 * @return true, if the other object is also a PackageState containing
 * the same module, false otherwise. 
 */
public boolean equals(final Object o)
{
 if (this == o)
 {
  return true;
 }
 if (!(o instanceof PackageState))
 {
  return false;
 }
 final PackageState packageState = (PackageState) o;
 if (!this.module.getModuleClass().equals(packageState.module.getModuleClass()))
 {
  return false;
 }
 return true;
}
origin: jfree/jcommon

/**
 * Returns a basic string representation of this SortModule. This
 * should be used for debugging purposes only.
 * @see java.lang.Object#toString()
 *
 * @return a string representation of this module.
 */
public String toString ()
{
 final StringBuffer buffer = new StringBuffer();
 buffer.append("SortModule: ");
 buffer.append(this.position);
 buffer.append(" ");
 buffer.append(this.state.getModule().getName());
 buffer.append(" ");
 buffer.append(this.state.getModule().getModuleClass());
 return buffer.toString();
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Returns a basic string representation of this SortModule. This
 * should be used for debugging purposes only.
 * @see java.lang.Object#toString()
 *
 * @return a string representation of this module.
 */
public String toString ()
{
 final StringBuffer buffer = new StringBuffer();
 buffer.append("SortModule: ");
 buffer.append(this.position);
 buffer.append(" ");
 buffer.append(this.state.getModule().getName());
 buffer.append(" ");
 buffer.append(this.state.getModule().getModuleClass());
 return buffer.toString();
}
origin: org.jfree/jcommon

/**
 * Returns a basic string representation of this SortModule. This
 * should be used for debugging purposes only.
 * @see java.lang.Object#toString()
 *
 * @return a string representation of this module.
 */
public String toString ()
{
 final StringBuffer buffer = new StringBuffer();
 buffer.append("SortModule: ");
 buffer.append(this.position);
 buffer.append(" ");
 buffer.append(this.state.getModule().getName());
 buffer.append(" ");
 buffer.append(this.state.getModule().getModuleClass());
 return buffer.toString();
}
origin: jfree/jcommon

/**
 * Checks, whether a certain module is available.
 *
 * @param moduleDescription the module description of the desired module.
 * @return true, if the module is available and the version of the module
 *         is compatible, false otherwise.
 */
public boolean isModuleAvailable(final ModuleInfo moduleDescription) {
  final PackageState[] packageStates =
    (PackageState[]) this.modules.toArray(new PackageState[this.modules.size()]);
  for (int i = 0; i < packageStates.length; i++) {
    final PackageState state = packageStates[i];
    if (state.getModule().getModuleClass().equals(moduleDescription.getModuleClass())) {
      return (state.getState() == PackageState.STATE_INITIALIZED);
    }
  }
  return false;
}
origin: org.jfree/jcommon

/**
 * Checks, whether a certain module is available.
 *
 * @param moduleDescription the module description of the desired module.
 * @return true, if the module is available and the version of the module
 *         is compatible, false otherwise.
 */
public boolean isModuleAvailable(final ModuleInfo moduleDescription) {
  final PackageState[] packageStates =
    (PackageState[]) this.modules.toArray(new PackageState[this.modules.size()]);
  for (int i = 0; i < packageStates.length; i++) {
    final PackageState state = packageStates[i];
    if (state.getModule().getModuleClass().equals(moduleDescription.getModuleClass())) {
      return (state.getState() == PackageState.STATE_INITIALIZED);
    }
  }
  return false;
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Checks, whether a certain module is available.
 *
 * @param moduleDescription the module description of the desired module.
 * @return true, if the module is available and the version of the module
 *         is compatible, false otherwise.
 */
public boolean isModuleAvailable(final ModuleInfo moduleDescription) {
  final PackageState[] packageStates =
    (PackageState[]) this.modules.toArray(new PackageState[this.modules.size()]);
  for (int i = 0; i < packageStates.length; i++) {
    final PackageState state = packageStates[i];
    if (state.getModule().getModuleClass().equals(moduleDescription.getModuleClass())) {
      return (state.getState() == PackageState.STATE_INITIALIZED);
    }
  }
  return false;
}
origin: jfree/jcommon

for (int i = 0; i < activeModules.size(); i++) {
  final Module mod = (Module) activeModules.get(i);
  p.print(new PadMessage(mod.getModuleClass(), 70));
  p.print(" [");
  p.print(mod.getSubSystem());
origin: org.jfree/jcommon

for (int i = 0; i < activeModules.size(); i++) {
  final Module mod = (Module) activeModules.get(i);
  p.print(new PadMessage(mod.getModuleClass(), 70));
  p.print(" [");
  p.print(mod.getSubSystem());
origin: org.jfree/jcommon

  (PackageState[]) this.modules.toArray(new PackageState[this.modules.size()]);
for (int i = 0; i < packageStates.length; i++) {
  if (packageStates[i].getModule().getModuleClass().equals(module.getModuleClass())) {
    if (packageStates[i].getState() == PackageState.STATE_ERROR) {
      return RETURN_MODULE_ERROR;
origin: org.jfree/com.springsource.org.jfree

for (int i = 0; i < activeModules.size(); i++) {
  final Module mod = (Module) activeModules.get(i);
  p.print(new PadMessage(mod.getModuleClass(), 70));
  p.print(" [");
  p.print(mod.getSubSystem());
origin: org.jfree/com.springsource.org.jfree

  (PackageState[]) this.modules.toArray(new PackageState[this.modules.size()]);
for (int i = 0; i < packageStates.length; i++) {
  if (packageStates[i].getModule().getModuleClass().equals(module.getModuleClass())) {
    if (packageStates[i].getState() == PackageState.STATE_ERROR) {
      return RETURN_MODULE_ERROR;
origin: jfree/jcommon

  (PackageState[]) this.modules.toArray(new PackageState[this.modules.size()]);
for (int i = 0; i < packageStates.length; i++) {
  if (packageStates[i].getModule().getModuleClass().equals(module.getModuleClass())) {
    if (packageStates[i].getState() == PackageState.STATE_ERROR) {
      return RETURN_MODULE_ERROR;
origin: jfree/jcommon

moduleMap.put(state.getModule().getModuleClass(), mod);
origin: org.jfree/jcommon

moduleMap.put(state.getModule().getModuleClass(), mod);
origin: jfree/jcommon

/**
 * Initializes all previously uninitialized modules. Once a module is initialized,
 * it is not re-initialized a second time.
 */
public synchronized void initializeModules() {
  // sort by subsystems and dependency
  PackageSorter.sort(this.modules);
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.configure(this.booter)) {
      Log.debug(new Log.SimpleMessage("Conf: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.initialize(this.booter)) {
      Log.debug(new Log.SimpleMessage("Init: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
}
origin: org.jfree/jcommon

/**
 * Initializes all previously uninitialized modules. Once a module is initialized,
 * it is not re-initialized a second time.
 */
public synchronized void initializeModules() {
  // sort by subsystems and dependency
  PackageSorter.sort(this.modules);
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.configure(this.booter)) {
      Log.debug(new Log.SimpleMessage("Conf: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.initialize(this.booter)) {
      Log.debug(new Log.SimpleMessage("Init: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Initializes all previously uninitialized modules. Once a module is initialized,
 * it is not re-initialized a second time.
 */
public synchronized void initializeModules() {
  // sort by subsystems and dependency
  PackageSorter.sort(this.modules);
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.configure(this.booter)) {
      Log.debug(new Log.SimpleMessage("Conf: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
  for (int i = 0; i < this.modules.size(); i++) {
    final PackageState mod = (PackageState) this.modules.get(i);
    if (mod.initialize(this.booter)) {
      Log.debug(new Log.SimpleMessage("Init: ",
        new PadMessage(mod.getModule().getModuleClass(), 70),
        " [", mod.getModule().getSubSystem(), "]"));
    }
  }
}
org.jfree.base.modulesModulegetModuleClass

Popular methods of Module

  • configure
    Configures the module. This should load the default settings of the module.
  • getDescription
    Returns a short description of the modules functionality.
  • getMajorVersion
  • getMinorVersion
  • getName
    Returns the module name. This name should be a short descriptive handle of the module.
  • getOptionalModules
    Returns an array of optional modules. Missing or invalid modules are non fatal and will not harm the
  • getPatchLevel
  • getProducer
    Returns the name of the module producer.
  • getRequiredModules
    Returns an array of all required modules. If one of these modules is missing or cannot be initialize
  • getSubSystem
    Returns the modules subsystem. If this module is not part of an subsystem then return the modules na
  • initialize
    Initializes the module. Use this method to perform all initial setup operations. This method is call
  • initialize

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • IsNull (org.hamcrest.core)
    Is the value null?
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