Class ScopeVersionHash


  • public class ScopeVersionHash
    extends java.lang.Object
    Facilitates the creation of a scope-specific hash of a specific combination of modules and their versions. Used in client comm to detect any version changes
    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeVersionHash​(int scope, Version frameworkVersion)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getHash()  
      int getScope()  
      boolean isDev()  
      void update​(java.lang.String moduleId, int build)
      Updates the hash for the given module.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScopeVersionHash

        public ScopeVersionHash​(int scope,
                                Version frameworkVersion)
    • Method Detail

      • getHash

        public long getHash()
      • isDev

        public boolean isDev()
      • getScope

        public int getScope()
      • update

        public void update​(java.lang.String moduleId,
                           int build)
        Updates the hash for the given module. Make sure that you always add modules in alphabetic order.