public class DeploymentFactory
extends java.lang.Object
DeploymentFactory
is responsible for creating instances of services
contained inside the com.vmware.vcenter.deployment package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
static DeploymentFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
ImportHistory |
importHistoryService()
Returns an instance of class
ImportHistory |
InstallFactory |
install() |
Install |
installService()
Returns an instance of class
Install |
MigrateFactory |
migrate() |
Migrate |
migrateService()
Returns an instance of class
Migrate |
Question |
questionService()
Returns an instance of class
Question |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
Upgrade |
upgradeService()
Returns an instance of class
Upgrade |
public static DeploymentFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestDeploymentFactory
factory instancepublic ImportHistory importHistoryService()
ImportHistory
public InstallFactory install()
public MigrateFactory migrate()
public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)