Class VersionsMeta

java.lang.Object
org.onehippo.repository.campaign.VersionsMeta

public class VersionsMeta extends Object
  • Constructor Details

    • VersionsMeta

      public VersionsMeta()
  • Method Details

    • getCampaigns

      public Set<Campaign> getCampaigns()
    • setCampaigns

      public void setCampaigns(Set<Campaign> campaigns)
    • getVersionLabels

      public Set<VersionLabel> getVersionLabels()
    • setVersionLabels

      public void setVersionLabels(Set<VersionLabel> versionLabels)
    • getCampaign

      public Optional<Campaign> getCampaign(String uuid)
    • getVersionLabel

      public Optional<VersionLabel> getVersionLabel(String uuid)
    • setCampaign

      public void setCampaign(Campaign campaign)

      Adds campaign and if the campaign is already present in campaigns replaces that campaign

      Parameters:
      campaign -
    • removeCampaign

      public void removeCampaign(String uuid)
    • setVersionLabel

      public void setVersionLabel(VersionLabel versionLabel)

      Adds versionLabel and if the versionLabel is already present in versionLabels replaces that versionLabel

      Parameters:
      versionLabel -
    • removeVersionLabel

      public void removeVersionLabel(String uuid)