Class ContentUpdate

java.lang.Object
com.activeviam.tech.contentserver.storage.api.ContentUpdate

public final class ContentUpdate extends Object
An update on an entry of the content server.
Author:
ActiveViam
  • Constructor Details

    • ContentUpdate

      public ContentUpdate()
      Empty constructor for serialization.
    • ContentUpdate

      public ContentUpdate(String path, ContentAction action, IPathlessContentEntry entry)
      Constructor.
      Parameters:
      path - The updated path
      action - The action that created this update
      entry - The updated entry
  • Method Details

    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPath

      public String getPath()
      -- GETTER -- Returns the updated path.
    • getAction

      public ContentAction getAction()
      -- GETTER -- Returns the action that created this update.
    • getEntry

      public IPathlessContentEntry getEntry()
      -- GETTER -- Returns the updated entry.