public class DefaultSiteChannelValidationStrategy extends java.lang.Object implements SiteChannelValidationStrategy
SiteChannelValidationStrategy which validated against a configured list of
supported SiteChannel objects.| Constructor and Description |
|---|
DefaultSiteChannelValidationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<SiteChannel> |
getSupportedSiteChannels() |
void |
setSupportedSiteChannels(java.util.Set<SiteChannel> supportedSiteChannels) |
boolean |
validateSiteChannel(SiteChannel siteChannel)
Validates the
SiteChannel. |
public DefaultSiteChannelValidationStrategy()
public boolean validateSiteChannel(SiteChannel siteChannel)
SiteChannelValidationStrategySiteChannel.validateSiteChannel in interface SiteChannelValidationStrategysiteChannel - the SiteChannel to validate.true if the SiteChannel is supported, false otherwiseprotected java.util.Set<SiteChannel> getSupportedSiteChannels()
public void setSupportedSiteChannels(java.util.Set<SiteChannel> supportedSiteChannels)
Copyright © 2018 SAP SE. All Rights Reserved.