public class NGInventoryCollectorFactory extends InventoryCollectorFactory
COMPUTE_CATEGORY, IGNORE_CATEGORY, NETWORK_CATEGORY, NEXT_GEN_ACCOUNT_TYPE, STORAGE_CATEGORY
Constructor and Description |
---|
NGInventoryCollectorFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getAccountCategory()
Returns the account category this collector factory belongs in.
|
ConvergedStackComponentBuilderIf |
getStackComponentBuilder()
If you want to display device details in the Converged tab of the UI.
|
StackViewItemProviderIf |
getStackViewProvider()
If you want to display device details in the Stack View UI under Virtual
-> Compute -> VMs.
|
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 |
handleDeleteAccount(java.lang.String accountName,
java.lang.String accountType) |
void |
init(java.lang.String accountTypeID)
The super init() will iterate accounts based on account Type, and hence
this overrides to get the accounts using accountTypeID.
|
java.lang.String |
taskCategory() |
getAccountTypeID, init, registerInventoryObjects, setAccountTypeID
getAccountType, getConfigItemDef, handleAddAccount, handleDeleteAccount, handleEditAccount, requestInit, requestInit
public void init(java.lang.String accountTypeID)
public void handleDeleteAccount(java.lang.String accountName, java.lang.String accountType) throws java.lang.Exception
java.lang.Exception
public InfraAccountConnectionTestHandlerIf getTestConnectionHandler()
CollectorFactory
getTestConnectionHandler
in class CollectorFactory
GenericInfraAccountConnectionTestHandler.
public ConvergedStackComponentBuilderIf getStackComponentBuilder()
getStackComponentBuilder
in class CollectorFactory
public StackViewItemProviderIf getStackViewProvider()
getStackViewProvider
in class CollectorFactory
, and
,
AbstractOAStorageStackViewProvider.
public int getAccountCategory()
CollectorFactory
getAccountCategory
in class CollectorFactory
public java.lang.String taskCategory()
taskCategory
in class CollectorFactory
public InventoryCollector createCollector(java.lang.String accountName) throws java.lang.Exception
CollectorFactory
createCollector
in class CollectorFactory
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