Class GoogleSubscriberManager.Builder
- java.lang.Object
-
- org.symphonyoss.s2.common.fluent.Fluent<T>
-
- org.symphonyoss.s2.common.fluent.BaseAbstractBuilder<T,B>
-
- org.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager.Builder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>
-
- org.symphonyoss.s2.fugue.google.pubsub.GoogleSubscriberManager.Builder
-
- All Implemented Interfaces:
org.symphonyoss.s2.common.fluent.IBuilder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>,org.symphonyoss.s2.common.fluent.IFluent<GoogleSubscriberManager.Builder>,org.symphonyoss.s2.fugue.pubsub.IPullSubscriberManagerBuilder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>,org.symphonyoss.s2.fugue.pubsub.ISubscriberManagerBuilder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>
- Enclosing class:
- GoogleSubscriberManager
public static class GoogleSubscriberManager.Builder extends org.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager.Builder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>
Builder for GoogleSubscriberManager.- Author:
- Bruce Skingle
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GoogleSubscriberManagerconstruct()protected StringgetConfigPath()voidvalidate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator)GoogleSubscriberManager.BuilderwithProjectId(String projectId)Set the Google project ID.-
Methods inherited from class org.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager.Builder
withBusyCounterFactory
-
-
-
-
Method Detail
-
getConfigPath
protected String getConfigPath()
- Specified by:
getConfigPathin classorg.symphonyoss.s2.fugue.pubsub.AbstractPullSubscriberManager.Builder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>
-
withProjectId
public GoogleSubscriberManager.Builder withProjectId(String projectId)
Set the Google project ID.- Parameters:
projectId- The ID of the Google project in which to operate.- Returns:
- this (fluent method)
-
validate
public void validate(org.symphonyoss.s2.common.fault.FaultAccumulator faultAccumulator)
-
construct
protected GoogleSubscriberManager construct()
- Specified by:
constructin classorg.symphonyoss.s2.common.fluent.BaseAbstractBuilder<GoogleSubscriberManager.Builder,GoogleSubscriberManager>
-
-