Class Metadata

  • All Implemented Interfaces:
    Cloneable

    public abstract class Metadata
    extends Object
    implements Cloneable
    Metadata for an instance or project, with their fingerprint.

    This object is mutable and not thread-safe.

    • Method Detail

      • fingerprint

        @Nullable
        public abstract String fingerprint()
        The fingerprint for the items - needed for updating them.
      • remove

        public Metadata remove​(String key)
        Removes any entry with the supplied key.
      • asMap

        public Map<String,​String> asMap()
        Copies the metadata into a new mutable map.
      • containsKey

        public boolean containsKey​(String key)
      • size

        public int size()
      • create

        public static Metadata create()