Package org.onehippo.repository.campaign
Class VersionsMeta
- java.lang.Object
-
- org.onehippo.repository.campaign.VersionsMeta
-
public class VersionsMeta extends Object
-
-
Constructor Summary
Constructors Constructor Description VersionsMeta()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Campaign>
getCampaign(String uuid)
Set<Campaign>
getCampaigns()
Optional<VersionLabel>
getVersionLabel(String uuid)
Set<VersionLabel>
getVersionLabels()
void
removeCampaign(String uuid)
void
removeVersionLabel(String uuid)
void
setCampaign(Campaign campaign)
Addscampaign
and if the campaign is already present incampaigns
replaces that campaignvoid
setCampaigns(Set<Campaign> campaigns)
void
setVersionLabel(VersionLabel versionLabel)
AddsversionLabel
and if the versionLabel is already present inversionLabels
replaces that versionLabelvoid
setVersionLabels(Set<VersionLabel> versionLabels)
-
-
-
Method Detail
-
getVersionLabels
public Set<VersionLabel> getVersionLabels()
-
setVersionLabels
public void setVersionLabels(Set<VersionLabel> versionLabels)
-
getVersionLabel
public Optional<VersionLabel> getVersionLabel(String uuid)
-
setCampaign
public void setCampaign(Campaign campaign)
Adds
campaign
and if the campaign is already present incampaigns
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 inversionLabels
replaces that versionLabel- Parameters:
versionLabel
-
-
removeVersionLabel
public void removeVersionLabel(String uuid)
-
-