Class ImportOnlineDBMetaData

    • Constructor Detail

      • ImportOnlineDBMetaData

        public ImportOnlineDBMetaData()
    • Method Detail

      • getRequiredClip

        public AudioClip getRequiredClip​(AudioFileFormat audioFileFormat)
        Overrides:
        getRequiredClip in class AudioAnalysisTask
        Parameters:
        audioFileFormat - file format of the original, potentially compressed audio file
        Returns:
        the clip this algorithm actually requires
      • getName

        public String getName()
        Description copied from class: Task
        HTML or plaintext name of this task. Defaults to the task's classname.
        Overrides:
        getName in class Task
        Returns:
        name
      • getDescription

        public String getDescription()
        Description copied from class: Task
        HTML or plain text description of this task.
        Overrides:
        getDescription in class Task
        Returns:
        description
      • isImportArtwork

        public boolean isImportArtwork()
      • setImportArtwork

        public void setImportArtwork​(boolean importArtwork)
      • isChooseEarliestRelease

        public boolean isChooseEarliestRelease()
      • setChooseEarliestRelease

        public void setChooseEarliestRelease​(boolean chooseEarliestRelease)
      • isIgnoreCompilations

        public boolean isIgnoreCompilations()
      • setIgnoreCompilations

        public void setIgnoreCompilations​(boolean ignoreCompilations)
      • isImportMissingData

        public boolean isImportMissingData()
      • setImportMissingData

        public void setImportMissingData​(boolean importMissingData)
      • isReplaceExistingData

        public boolean isReplaceExistingData()
      • setReplaceExistingData

        public void setReplaceExistingData​(boolean replaceExistingData)
      • isImportAlbum

        public boolean isImportAlbum()
      • setImportAlbum

        public void setImportAlbum​(boolean importAlbum)
      • isImportArtist

        public boolean isImportArtist()
      • setImportArtist

        public void setImportArtist​(boolean importArtist)
      • isImportName

        public boolean isImportName()
      • setImportName

        public void setImportName​(boolean importName)
      • isImportTrackNumber

        public boolean isImportTrackNumber()
      • setImportTrackNumber

        public void setImportTrackNumber​(boolean importTrackNumber)
      • isImportGenre

        public boolean isImportGenre()
      • setImportGenre

        public void setImportGenre​(boolean importGenre)
      • isImportYear

        public boolean isImportYear()
      • setImportYear

        public void setImportYear​(boolean importYear)
      • isImportRating

        public boolean isImportRating()
      • setImportRating

        public void setImportRating​(boolean importRating)
      • isImportComposer

        public boolean isImportComposer()
      • setImportComposer

        public void setImportComposer​(boolean importComposer)
      • isImportAlbumArtist

        public boolean isImportAlbumArtist()
      • setImportAlbumArtist

        public void setImportAlbumArtist​(boolean importAlbumArtist)
      • isImportDiscNumber

        public boolean isImportDiscNumber()
      • setImportDiscNumber

        public void setImportDiscNumber​(boolean importDiscNumber)
      • skip

        public boolean skip()
        Description copied from class: Task
        Indicates, whether this task can be skipped. Defaults to false.

        Since this task is not necessarily called by beaTunes, but by your own implementation of Task.runBefore(Task), you should call Task.setSkipped(boolean) with whatever value you are returning.

        Overrides:
        skip in class Task
        Returns:
        true or false
      • createDeepCopy

        public ImportOnlineDBMetaData createDeepCopy()
        Description copied from class: Task
        This method creates a copy of the Task and its subtasks. If you added any members to your subclass you MUST override this method and provide code that copies your members.
        Overrides:
        createDeepCopy in class Task
        Returns:
        copy