DigitalAssetVersionSpec
instead.public final class DigitalAssetVersionSpec extends AbstractDigitalAssetSpec
Constructor and Description |
---|
DigitalAssetVersionSpec(DigitalAssetContext digitalAssetContext,
File file,
String versionName,
String comment,
boolean isCurrentVersion)
Deprecated.
Specifies the new digital asset version's information that will be created when calling
DriveManager.create(DigitalAssetVersionSpec) |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Deprecated.
Returns the comment.
|
DigitalAssetKey |
getDigitalAssetKey()
Deprecated.
Gets the digital asset key.
|
String |
getVersionName()
Deprecated.
Returns the version name.
|
boolean |
isCurrentVersion()
Deprecated.
Returns true if this is the current version.
|
getContext, getFile
public DigitalAssetVersionSpec(DigitalAssetContext digitalAssetContext, File file, String versionName, String comment, boolean isCurrentVersion)
DriveManager.create(DigitalAssetVersionSpec)
digitalAssetContext
- the context of the digital assetfile
- the physical file of the new digital asset versionversionName
- the version name of the new digital asset versioncomment
- the comment of the new digital asset versionisCurrentVersion
- determines whether this will be the current version of the digital assetpublic DigitalAssetKey getDigitalAssetKey()
public boolean isCurrentVersion()
public String getVersionName()
public String getComment()