Class ConfigIndex

java.lang.Object
com.priint.pubserver.config.ConfigIndex
All Implemented Interfaces:
Serializable

public class ConfigIndex extends Object implements Serializable
Index of configuration documents containing a set of #ConfigIndexEntry.
See Also:
  • Constructor Details

    • ConfigIndex

      public ConfigIndex()
      Instantiates a new Config index.
  • Method Details

    • getItems

      public Set<ConfigIndex.ConfigIndexEntry> getItems()
      Gets items.
      Returns:
      the items
    • setItems

      public void setItems(Set<ConfigIndex.ConfigIndexEntry> items)
      Sets items.
      Parameters:
      items - the items
    • getLabel

      public String getLabel()
      Gets label.
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Sets label.
      Parameters:
      label - the label
    • addOrUpdateEntry

      public void addOrUpdateEntry(String label, String path)
      Add or update entry.
      Parameters:
      label - the label
      path - the path
    • removeEntry

      public void removeEntry(String path)
      Remove entry.
      Parameters:
      path - the path
    • getRepositoryPath

      public String getRepositoryPath()
      Gets repository path.
      Returns:
      the repository path
    • getRepositoryFilename

      public String getRepositoryFilename()
      Gets repository filename.
      Returns:
      the repository filename
    • toString

      public String toString()
      Overrides:
      toString in class Object