public class CliFactory
extends java.lang.Object
CliFactory is responsible for creating instances of services
contained inside the com.vmware.vapi.metadata.cli package and also has the subpackages reference
to access respective subpackage services.
| Modifier and Type | Method and Description |
|---|---|
Command |
commandService()
Returns an instance of class
Command |
static CliFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
Namespace |
namespaceService()
Returns an instance of class
Namespace |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static CliFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory - StubFactory instance is responsible for creating stubsstubConfig - StubConfiguration instance is required to authenticate the requestCliFactory factory instancepublic void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)