DigitalAssetSpec
instead.public final class DigitalAssetSpec extends AbstractDigitalAssetSpec
Constructor and Description |
---|
DigitalAssetSpec(File file,
Context context)
Deprecated.
Instantiates the new
DigitalAssetSpec . |
DigitalAssetSpec(File file,
com.onwbp.base.text.UserMessage label,
com.onwbp.base.text.UserMessage description,
Context context)
Deprecated.
Instantiates the new
DigitalAssetSpec . |
Modifier and Type | Method and Description |
---|---|
com.onwbp.base.text.UserMessage |
getDescription()
Deprecated.
Returns the description.
|
com.onwbp.base.text.UserMessage |
getLabel()
Deprecated.
Returns the label.
|
void |
setDescription(com.onwbp.base.text.UserMessage description)
Deprecated.
Sets the description.
|
void |
setLabel(com.onwbp.base.text.UserMessage label)
Deprecated.
Sets the label.
|
getContext, getFile
public DigitalAssetSpec(File file, com.onwbp.base.text.UserMessage label, com.onwbp.base.text.UserMessage description, Context context)
DigitalAssetSpec
. End-users use this specification to specify the information about the new digital asset that will be created when calling DriveManager.create(DigitalAssetSpec)
.file
- the physical file for the new digital assetlabel
- the label of the new digital assetdescription
- the description of the new digital assetcontext
- the context for the upload operation's executionpublic DigitalAssetSpec(File file, Context context)
DigitalAssetSpec
. End-users use to specify information about the new digital asset that will be created when calling DriveManager.create(DigitalAssetSpec)
.file
- the physical file for the new digital assetcontext
- the context for the upload operation's executionpublic com.onwbp.base.text.UserMessage getLabel()
public com.onwbp.base.text.UserMessage getDescription()
public void setLabel(com.onwbp.base.text.UserMessage label)
public void setDescription(com.onwbp.base.text.UserMessage description)