
public interface FederationInterface extends PluginCommon
| Modifier and Type | Method and Description |
|---|---|
void |
Publish(boolean pooled,
QuickStatWrapper data,
ServicePolicy sp,
FederationPolicy fp)
Called by a Quartz timer job
|
boolean |
ValidateConfiguration(FederationPolicy fp,
AtomicReference<String> outMessage)
This is called by both the user interface as well as whenever someone
attempts to add or change a service policy containing this federation
target.
|
GetAppliesTo, GetDisplayName, GetHtmlFormattedHelp, GetOptionalParameters, GetRequiredParametersboolean ValidateConfiguration(FederationPolicy fp, AtomicReference<String> outMessage)
fp - the proposed federation policyoutMessage - returns the error message, if any. Null or empty string
can be returned if there is no error. The message should be a human
readable reason for why the policy is invalid or misconfigured.void Publish(boolean pooled,
QuickStatWrapper data,
ServicePolicy sp,
FederationPolicy fp)
pooled - indicates where or not we are using pooled database
connectionsdata - represents the last known data set for a web service,
availability info for all policy typessp - the complete service policy of the thing we are publishingfp - the federation policy, which should allow users to dictate
implementation specific parameters and settingsorg.miloss.fgsms.common.Utility.GetConfigurationDBConnectionCopyright © 2008–2017 MIL-OSS. All rights reserved.