Class AnnouncementRpConfig
java.lang.Object
swiss.trustbroker.federation.xmlconfig.AnnouncementRpConfig
- All Implemented Interfaces:
Serializable,swiss.trustbroker.api.announcements.dto.AnnouncementsRpData
public class AnnouncementRpConfig
extends Object
implements Serializable, swiss.trustbroker.api.announcements.dto.AnnouncementsRpData
This class describes the configuration of announcements for an RP.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAnnouncementRpConfig(Boolean enabled, List<String> announcementUrls) Creates a newAnnouncementRpConfiginstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanURLs for the announcement.Enable this configuration.inthashCode()booleanvoidsetAnnouncementUrls(List<String> announcementUrls) URLs for the announcement.voidsetEnabled(Boolean enabled) Enable this configuration.toString()
-
Constructor Details
-
AnnouncementRpConfig
public AnnouncementRpConfig() -
AnnouncementRpConfig
Creates a newAnnouncementRpConfiginstance.- Parameters:
enabled- Enable this configuration.announcementUrls- URLs for the announcement.
-
-
Method Details
-
isAnnouncementEnabled
public boolean isAnnouncementEnabled()- Specified by:
isAnnouncementEnabledin interfaceswiss.trustbroker.api.announcements.dto.AnnouncementsRpData
-
builder
-
getEnabled
Enable this configuration. -
getAnnouncementUrls
URLs for the announcement.- Specified by:
getAnnouncementUrlsin interfaceswiss.trustbroker.api.announcements.dto.AnnouncementsRpData
-
setEnabled
Enable this configuration. -
setAnnouncementUrls
URLs for the announcement. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-