public class SourceStub extends com.vmware.vapi.internal.bindings.Stub implements Source
Source
API service.
WARNING: Internal API, subject to change in future versions.
SourceTypes.CreateSpec, SourceTypes.InfoRESOURCE_TYPE| Constructor and Description |
|---|
SourceStub(ApiProvider apiProvider,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(String sourceId,
SourceTypes.CreateSpec spec)
Creates a new metadata source.
|
void |
create(String sourceId,
SourceTypes.CreateSpec spec,
AsyncCallback<Void> asyncCallback)
Creates a new metadata source.
|
void |
create(String sourceId,
SourceTypes.CreateSpec spec,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Creates a new metadata source.
|
void |
create(String sourceId,
SourceTypes.CreateSpec spec,
InvocationConfig invocationConfig)
Creates a new metadata source.
|
void |
delete(String sourceId)
Deletes an existing authentication metadata source from the infrastructure.
|
void |
delete(String sourceId,
AsyncCallback<Void> asyncCallback)
Deletes an existing authentication metadata source from the infrastructure.
|
void |
delete(String sourceId,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Deletes an existing authentication metadata source from the infrastructure.
|
void |
delete(String sourceId,
InvocationConfig invocationConfig)
Deletes an existing authentication metadata source from the infrastructure.
|
String |
fingerprint(String sourceId)
Returns the aggregate fingerprint of metadata from all the metadata sources or
from a particular metadata source if
sourceId is specified. |
void |
fingerprint(String sourceId,
AsyncCallback<String> asyncCallback)
Returns the aggregate fingerprint of metadata from all the metadata sources or
from a particular metadata source if
sourceId is specified. |
void |
fingerprint(String sourceId,
AsyncCallback<String> asyncCallback,
InvocationConfig invocationConfig)
Returns the aggregate fingerprint of metadata from all the metadata sources or
from a particular metadata source if
sourceId is specified. |
String |
fingerprint(String sourceId,
InvocationConfig invocationConfig)
Returns the aggregate fingerprint of metadata from all the metadata sources or
from a particular metadata source if
sourceId is specified. |
SourceTypes.Info |
get(String sourceId)
Retrieves information about the metadata source corresponding to
sourceId. |
void |
get(String sourceId,
AsyncCallback<SourceTypes.Info> asyncCallback)
Retrieves information about the metadata source corresponding to
sourceId. |
void |
get(String sourceId,
AsyncCallback<SourceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves information about the metadata source corresponding to
sourceId. |
SourceTypes.Info |
get(String sourceId,
InvocationConfig invocationConfig)
Retrieves information about the metadata source corresponding to
sourceId. |
List<String> |
list()
Returns the identifiers of the metadata sources currently registered with the
infrastructure.
|
void |
list(AsyncCallback<List<String>> asyncCallback)
Returns the identifiers of the metadata sources currently registered with the
infrastructure.
|
void |
list(AsyncCallback<List<String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers of the metadata sources currently registered with the
infrastructure.
|
List<String> |
list(InvocationConfig invocationConfig)
Returns the identifiers of the metadata sources currently registered with the
infrastructure.
|
void |
reload(String sourceId)
Reloads the authentication metadata from all the metadata sources or of a
particular metadata source if
sourceId is specified. |
void |
reload(String sourceId,
AsyncCallback<Void> asyncCallback)
Reloads the authentication metadata from all the metadata sources or of a
particular metadata source if
sourceId is specified. |
void |
reload(String sourceId,
AsyncCallback<Void> asyncCallback,
InvocationConfig invocationConfig)
Reloads the authentication metadata from all the metadata sources or of a
particular metadata source if
sourceId is specified. |
void |
reload(String sourceId,
InvocationConfig invocationConfig)
Reloads the authentication metadata from all the metadata sources or of a
particular metadata source if
sourceId is specified. |
public SourceStub(ApiProvider apiProvider, StubConfigurationBase config)
public void create(String sourceId, SourceTypes.CreateSpec spec)
Sourcecom.vmware.vapi.metadata.authentication package.
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void create(String sourceId, SourceTypes.CreateSpec spec, InvocationConfig invocationConfig)
Sourcecom.vmware.vapi.metadata.authentication package.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void create(String sourceId, SourceTypes.CreateSpec spec, AsyncCallback<Void> asyncCallback)
Sourcecom.vmware.vapi.metadata.authentication package.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
AlreadyExists - if the metadata source identifier is already registered with the infrastructure.
InvalidArgument - if the type of the source specified in CreateSpec#type is invalid.
InvalidArgument - if the file specified in CreateSpec#filepath is not a valid JSON file or
if the format of the authentication metadata in the JSON file is invalid.
InvalidArgument - if the URI specified in CreateSpec#address is unreachable or if there is
a transport protocol or message protocol mismatch between the client and the
server or if the remote server do not have interfaces present in com.vmware.vapi.metadata.authentication package.
NotFound - if the file specified in CreateSpec#filepath does not exist.
create in interface SourcesourceId - metadata source identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.spec - create specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(String sourceId, SourceTypes.CreateSpec spec, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
Sourcecom.vmware.vapi.metadata.authentication package.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
AlreadyExists - if the metadata source identifier is already registered with the infrastructure.
InvalidArgument - if the type of the source specified in CreateSpec#type is invalid.
InvalidArgument - if the file specified in CreateSpec#filepath is not a valid JSON file or
if the format of the authentication metadata in the JSON file is invalid.
InvalidArgument - if the URI specified in CreateSpec#address is unreachable or if there is
a transport protocol or message protocol mismatch between the client and the
server or if the remote server do not have interfaces present in com.vmware.vapi.metadata.authentication package.
NotFound - if the file specified in CreateSpec#filepath does not exist.
create in interface SourcesourceId - metadata source identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.spec - create specification.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(String sourceId)
SourceSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(String sourceId, InvocationConfig invocationConfig)
SourceSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void delete(String sourceId, AsyncCallback<Void> asyncCallback)
SourceAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - if the metadata source identifier is not found.
public void delete(String sourceId, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
SourceAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - if the metadata source identifier is not found.
delete in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SourceTypes.Info get(String sourceId)
SourcesourceId.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.SourceTypes.Info instance
that corresponds to sourceIdpublic SourceTypes.Info get(String sourceId, InvocationConfig invocationConfig)
SourcesourceId.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.invocationConfig - Configuration for the method invocation.SourceTypes.Info instance
that corresponds to sourceIdpublic void get(String sourceId, AsyncCallback<SourceTypes.Info> asyncCallback)
SourcesourceId.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The SourceTypes.Info instance
that corresponds to sourceId
Operation Errors:
NotFound - if the metadata source associated with sourceId is not found.
public void get(String sourceId, AsyncCallback<SourceTypes.Info> asyncCallback, InvocationConfig invocationConfig)
SourcesourceId.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The SourceTypes.Info instance
that corresponds to sourceId
Operation Errors:
NotFound - if the metadata source associated with sourceId is not found.
get in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public List<String> list()
SourceSynchronous method overload. Result of the invocation will be reported as a method return value.
public List<String> list(InvocationConfig invocationConfig)
SourceSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void list(AsyncCallback<List<String>> asyncCallback)
SourceAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The list of identifiers for metadata sources currently registered.
The return value will contain identifiers for the resource type: com.vmware.vapi.metadata.authentication.source.
public void list(AsyncCallback<List<String>> asyncCallback, InvocationConfig invocationConfig)
SourceAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The list of identifiers for metadata sources currently registered.
The return value will contain identifiers for the resource type: com.vmware.vapi.metadata.authentication.source.
public void reload(String sourceId)
SourcesourceId is specified.
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void reload(String sourceId, InvocationConfig invocationConfig)
SourcesourceId is specified.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
reload in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, all the metadata sources are reloaded.invocationConfig - Configuration for the method invocation.public void reload(String sourceId, AsyncCallback<Void> asyncCallback)
SourcesourceId is specified.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
NotFound - if the metadata source associated with sourceId is not found.
reload in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, all the metadata sources are reloaded.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void reload(String sourceId, AsyncCallback<Void> asyncCallback, InvocationConfig invocationConfig)
SourcesourceId is specified.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
NotFound - if the metadata source associated with sourceId is not found.
reload in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, all the metadata sources are reloaded.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public String fingerprint(String sourceId)
SourcesourceId is specified.
Synchronous method overload. Result of the invocation will be reported as a method return value.
fingerprint in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, the fingerprint of all the metadata sources is returned.public String fingerprint(String sourceId, InvocationConfig invocationConfig)
SourcesourceId is specified.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
fingerprint in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, the fingerprint of all the metadata sources is returned.invocationConfig - Configuration for the method invocation.public void fingerprint(String sourceId, AsyncCallback<String> asyncCallback)
SourcesourceId is specified.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
Aggregate fingerprint of all the metadata sources or of a particular metadata
source.
Operation Errors:
NotFound - if the metadata source associated with sourceId is not found.
fingerprint in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, the fingerprint of all the metadata sources is returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void fingerprint(String sourceId, AsyncCallback<String> asyncCallback, InvocationConfig invocationConfig)
SourcesourceId is specified.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
Aggregate fingerprint of all the metadata sources or of a particular metadata
source.
Operation Errors:
NotFound - if the metadata source associated with sourceId is not found.
fingerprint in interface SourcesourceId - Identifier of the metadata source.
The parameter must be an identifier for the resource type: com.vmware.vapi.metadata.authentication.source.
If unspecified, the fingerprint of all the metadata sources is returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2016. All Rights Reserved.