public class CentraSiteImporterCallback
extends java.lang.Object
Constructor and Description |
---|
CentraSiteImporterCallback(CentraSiteImporterStatus status)
Constructor to create a callback instance.
|
Modifier and Type | Method and Description |
---|---|
CentraSiteAssetOptions |
getAssetOptions()
Gets the asset options.
|
CentraSiteImporterStatus |
getImporterStatus()
Obtains the current status of the importer.
|
java.util.List<java.lang.String> |
getMissingReferenceNames()
Obtains the name of the missing file references from the imported file.
|
java.util.List<CentraSiteImporterReference> |
getMissingReferences()
Obtains the
List of missing references. |
void |
setAssetOptions(CentraSiteAssetOptions assetOptions)
Sets the asset options.
|
void |
setImporterStatus(CentraSiteImporterStatus importerStatus)
Sets the current status of the importer.
|
void |
setMissingReferences(java.util.List<CentraSiteImporterReference> missingReferences)
Sets the missing references.
|
boolean |
setPathToMissingReference(java.lang.String referenceName,
java.lang.String filePath,
java.lang.String username,
java.lang.String password)
Sets the path to the missing reference for the given missing reference name.
|
public CentraSiteImporterCallback(CentraSiteImporterStatus status)
status
- CentraSiteImporterStatus
indicating the importer statuspublic CentraSiteImporterStatus getImporterStatus()
CentraSiteImporterStatus
public java.util.List<java.lang.String> getMissingReferenceNames()
public java.util.List<CentraSiteImporterReference> getMissingReferences()
List
of missing references.public void setImporterStatus(CentraSiteImporterStatus importerStatus)
importerStatus
- The importer status to setpublic void setMissingReferences(java.util.List<CentraSiteImporterReference> missingReferences)
missingReferences
- the missingReferences to setpublic boolean setPathToMissingReference(java.lang.String referenceName, java.lang.String filePath, java.lang.String username, java.lang.String password)
referenceName
- The reference file name as provided by
CentraSiteImporterReference.getMissingReferenceName()
.filePath
- The full path to the missing reference file.username
- The username to access the file if it is a URLpassword
- The password to access the file if it is a URLtrue
if the given details are set and false
if the
referenceName did not match the value of any missing references.public CentraSiteAssetOptions getAssetOptions()
public void setAssetOptions(CentraSiteAssetOptions assetOptions)
assetOptions
- the assetOptions to set