Class CompiledModule

java.lang.Object
com.netflix.module.compile.CompiledModule

public final class CompiledModule extends Object
An immutable compiled module represented by a base directory and optional patch.
  • Method Details

    • hash

      public ModuleHash hash() throws IOException
      Computes the byte-oriented module hash only when it is requested.
      Returns:
      the content hash of the complete compiled module
      Throws:
      IOException - if the compiled content cannot be read or touched
    • compilationHash

      public ModuleHash compilationHash() throws IOException
      Computes a conservative compile-time API identity. Method bodies and resources do not contribute to this identity.
      Returns:
      the source module's compile-time API identity
      Throws:
      IOException - if the compiled content cannot be read or touched
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object