Package de.xima.fc.asset.mgmt.impex
Class AssetImportAnalysisResult
- java.lang.Object
-
- de.xima.fc.asset.mgmt.impex.AssetImportAnalysisResult
-
- All Implemented Interfaces:
Serializable
public final class AssetImportAnalysisResult extends Object implements Serializable
Result of analyzing an asset export before it is imported into a target scope. It describes the exported asset and whether the target scope already contains an asset with the same UUID.- Since:
- 8.6.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssetImportAnalysisResult.builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssetImportAnalysisResult.builderbuilder()booleanequals(Object o)StringgetExistingName()The name of the existing asset with the same UUID as the exported asset, ornullif there is none.StringgetExportedName()The name of the exported asset.UUIDgetExportedUuid()The UUID of the exported asset.inthashCode()booleanisCanOverwrite()Whether the user is allowed to overwrite the existing asset.booleanisConflict()Whether the target scope already contains an asset with the same UUID as the exported asset, i.e. whether importing the export conflicts with an existing asset.AssetImportAnalysisResult.buildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static AssetImportAnalysisResult.builder builder()
-
toBuilder
public AssetImportAnalysisResult.builder toBuilder()
-
getExportedUuid
public UUID getExportedUuid()
The UUID of the exported asset.
-
getExportedName
public String getExportedName()
The name of the exported asset.
-
isConflict
public boolean isConflict()
Whether the target scope already contains an asset with the same UUID as the exported asset, i.e. whether importing the export conflicts with an existing asset.
-
getExistingName
public String getExistingName()
The name of the existing asset with the same UUID as the exported asset, ornullif there is none.
-
isCanOverwrite
public boolean isCanOverwrite()
Whether the user is allowed to overwrite the existing asset. Alwaysfalseif there is no conflict.
-
-