Package com.boomi.connector.util
Class BaseBrowser
- java.lang.Object
-
- com.boomi.connector.util.BaseBrowser
-
- All Implemented Interfaces:
Browser
- Direct Known Subclasses:
ImportableFieldsBrowser
,OpenAPIBrowser
,WSBrowser
public abstract class BaseBrowser extends Object implements Browser
Utility base class for implementing aBrowser
. Stores the BrowseContext for later access during the browser execution.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseBrowser(BrowseContext context)
Creates a new instance using the required operation context.protected
BaseBrowser(BaseConnection<? extends BrowseContext> connection)
Creates a new instance using the required base connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseConnection<? extends BrowseContext>
getConnection()
Returns the base connection that was either provided or created when this instance was created.BrowseContext
getContext()
Returns the BrowseContext provided when the browser was constructed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.boomi.connector.api.Browser
getObjectDefinitions, getObjectTypes
-
-
-
-
Constructor Detail
-
BaseBrowser
protected BaseBrowser(BrowseContext context)
Creates a new instance using the required operation context. A newBaseConnection
will be created.
-
BaseBrowser
protected BaseBrowser(BaseConnection<? extends BrowseContext> connection)
Creates a new instance using the required base connection.
-
-
Method Detail
-
getConnection
public BaseConnection<? extends BrowseContext> getConnection()
Returns the base connection that was either provided or created when this instance was created.- Returns:
- the base connection
-
getContext
public BrowseContext getContext()
Returns the BrowseContext provided when the browser was constructed.
-
-