public abstract class CollectorFactory extends java.lang.Object implements InfrastructureControllerIf
Modifier and Type | Field and Description |
---|---|
static int |
COMPUTE_CATEGORY |
static int |
IGNORE_CATEGORY |
static int |
NETWORK_CATEGORY |
static int |
NEXT_GEN_ACCOUNT_TYPE |
static int |
STORAGE_CATEGORY |
Constructor and Description |
---|
CollectorFactory(int accountType)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract InventoryCollector |
createCollector(java.lang.String accountName)
Returns a new instance of the InventoryCollector to be used for this
accountType specifically for use with the given account name.
|
abstract int |
getAccountCategory()
Returns the account category this collector factory belongs in.
|
int |
getAccountType() |
ConfigItemDef |
getConfigItemDef(java.lang.String accountType,
java.lang.String itemName,
java.lang.String rootName,
java.lang.Class clazz) |
abstract ConvergedStackComponentBuilderIf |
getStackComponentBuilder()
If you want to display device details in the Converged tab of the UI.
|
abstract StackViewItemProviderIf |
getStackViewProvider()
If you want to display device details in the Stack View UI under Virtual
-> Compute -> VMs.
|
abstract InfraAccountConnectionTestHandlerIf |
getTestConnectionHandler()
In the Infra Accounts report, when you select a row and do select the
Test Connection action, an instance of the returned class is retrieved
and testConnection is called.
|
void |
handleAddAccount(java.lang.String accountName) |
void |
handleDeleteAccount(java.lang.String accountName) |
void |
handleEditAccount(java.lang.String accountName) |
void |
init()
Deprecated.
|
void |
requestInit() |
void |
requestInit(java.lang.String accountName) |
java.lang.String |
taskCategory() |
public static final int NEXT_GEN_ACCOUNT_TYPE
public static final int IGNORE_CATEGORY
public static final int COMPUTE_CATEGORY
public static final int STORAGE_CATEGORY
public static final int NETWORK_CATEGORY
public CollectorFactory(int accountType)
accountType
- A unique integer used specifically to identify this account
type. It is recommended you use a large number like 1000 to
avoid potential interference with other types!public int getAccountType()
public void requestInit() throws java.lang.Exception
requestInit
in interface InfrastructureControllerIf
java.lang.Exception
@Deprecated public void init()
public void requestInit(java.lang.String accountName) throws java.lang.Exception
requestInit
in interface InfrastructureControllerIf
java.lang.Exception
public ConfigItemDef getConfigItemDef(java.lang.String accountType, java.lang.String itemName, java.lang.String rootName, java.lang.Class clazz)
public void handleAddAccount(java.lang.String accountName) throws java.lang.Exception
java.lang.Exception
public abstract InventoryCollector createCollector(java.lang.String accountName) throws java.lang.Exception
accountName
- The account name for which the InventoryCollector should be
performing inventory on. The accountName is usually a user
entered value through the UI.java.lang.Exception
public void handleDeleteAccount(java.lang.String accountName) throws java.lang.Exception
java.lang.Exception
public java.lang.String taskCategory()
public void handleEditAccount(java.lang.String accountName) throws java.lang.Exception
java.lang.Exception
public abstract int getAccountCategory()
public abstract InfraAccountConnectionTestHandlerIf getTestConnectionHandler()
GenericInfraAccountConnectionTestHandler.
public abstract ConvergedStackComponentBuilderIf getStackComponentBuilder()
public abstract StackViewItemProviderIf getStackViewProvider()
, and
,
AbstractOAStorageStackViewProvider.