public interface OctaneClassFactory
Octane class, can implemented by clients to modify the behaviour of the sdk
Implementations of this class are required to be singleton
If you specify a the system param for getImplementation(String),
this method is called to instantiate the class| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_OCTANE_CLASS_FACTORY_CLASS_NAME
Default octane class factory name.
|
static String |
OCTANE_CLASS_FACTORY_CLASS_NAME
Sys param name used by
getImplementation(String) |
| Modifier and Type | Method and Description |
|---|---|
<T extends TypedEntityList> |
getEntityList(OctaneHttpClient octaneHttpClient,
String baseDomain,
Class<T> entityListClass) |
EntityList |
getEntityList(OctaneHttpClient octaneHttpClient,
String baseDomain,
String entityName)
Get the implementation of the
EntityList used by the Octane object |
static OctaneClassFactory |
getImplementation(String octaneClassFactoryClassName)
Get the implementation implementation of OctaneClassFactory, can be modified by
sending the class factory name or setting the OCTANE_CLASS_FACTORY_CLASS_NAME system param.
|
static final String OCTANE_CLASS_FACTORY_CLASS_NAME
getImplementation(String)static final String DEFAULT_OCTANE_CLASS_FACTORY_CLASS_NAME
EntityList getEntityList(OctaneHttpClient octaneHttpClient, String baseDomain, String entityName)
EntityList used by the Octane objectoctaneHttpClient - used to create thebaseDomain - for the entity listentityName - API entity name to be used in the url<T extends TypedEntityList> T getEntityList(OctaneHttpClient octaneHttpClient, String baseDomain, Class<T> entityListClass)
static OctaneClassFactory getImplementation(String octaneClassFactoryClassName)
octaneClassFactoryClassName - the String that can determine the class factory to use. This can be NULLDefaultOctaneClassFactoryCopyright © 2021 Micro Focus. All rights reserved.