Package | Description |
---|---|
com.vmware.content.library.item.updatesession |
The Content Library Item Update Session package provides classes and interfaces
for updating files in a session.
|
Modifier and Type | Field and Description |
---|---|
static FileTypes.SourceType |
FileTypes.SourceType.NONE
No source type has been requested.
|
static FileTypes.SourceType |
FileTypes.SourceType.PULL
The server is pulling content from a URL.
|
static FileTypes.SourceType |
FileTypes.SourceType.PUSH
The client is uploading content using HTTP(S) PUT requests.
|
Modifier and Type | Method and Description |
---|---|
FileTypes.SourceType |
FileTypes.AddSpec.getSourceType()
The source type (NONE, PUSH, PULL) from which the file content will be
retrieved.
|
FileTypes.SourceType |
FileTypes.Info.getSourceType()
The source type (NONE, PUSH, PULL) from which the file is being retrieved.
|
static FileTypes.SourceType |
FileTypes.SourceType.valueOf(String name)
Returns the enumeration constant for the specified name.
|
static FileTypes.SourceType[] |
FileTypes.SourceType.values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
Modifier and Type | Method and Description |
---|---|
void |
FileTypes.AddSpec.setSourceType(FileTypes.SourceType sourceType)
The source type (NONE, PUSH, PULL) from which the file content will be
retrieved.
|
void |
FileTypes.Info.setSourceType(FileTypes.SourceType sourceType)
The source type (NONE, PUSH, PULL) from which the file is being retrieved.
|
Constructor and Description |
---|
FileTypes.AddSpec.Builder(String name,
FileTypes.SourceType sourceType)
Constructor with parameters for the required properties of
FileTypes.AddSpec . |
FileTypes.Info.Builder(String name,
FileTypes.SourceType sourceType,
long bytesTransferred,
TransferStatus status)
Constructor with parameters for the required properties of
FileTypes.Info . |
Copyright © 2016. All Rights Reserved.