Class ManifestCms.FileContentSpecification

    • Constructor Detail

      • FileContentSpecification

        public FileContentSpecification​(byte[] hash)
    • Method Detail

      • getHash

        public byte[] getHash()
      • isSatisfiedBy

        public boolean isSatisfiedBy​(byte[] contents)
        Specified by:
        isSatisfiedBy in interface Specification<byte[]>
        Parameters:
        contents - the candidate to test.
        Returns:
        true if the candidate satisfies this specification.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object