Class LastFMTags

    • Constructor Detail

      • LastFMTags

        public LastFMTags()
    • Method Detail

      • getName

        public String getName()
        This will be the displayed name of the analysis task.
        Overrides:
        getName in class Task
        Returns:
        HTML string
      • getDescription

        public String getDescription()
        Returns a verbose description of the task in HTML format.
        Overrides:
        getDescription in class Task
        Returns:
        verbose HTML description.
      • isReplaceExistingValue

        public boolean isReplaceExistingValue()
      • setReplaceExistingValue

        public void setReplaceExistingValue​(boolean replaceExistingValue)
      • getNumberOfTags

        public int getNumberOfTags()
      • setNumberOfTags

        public void setNumberOfTags​(int numberOfTags)
        Persistently stores the number of tags in this task's properties.
        Parameters:
        numberOfTags - number of tags to import
        See Also:
        Task.setProperty(String, String)
      • isUseBraces

        public boolean isUseBraces()
      • setUseBraces

        public void setUseBraces​(boolean useBraces)
        Persistently stores whether we should brace tags or not in this task's properties.
        Parameters:
        useBraces - true or false
      • isEmbedMoodTags

        public boolean isEmbedMoodTags()
      • setEmbedMoodTags

        public void setEmbedMoodTags​(boolean embedMoodTags)
        Persistently stores, whether we should embed mood tags or not in this task's properties.
        Parameters:
        embedMoodTags - true or false
      • isCopyComments

        public boolean isCopyComments()
      • setCopyComments

        public void setCopyComments​(boolean copyComments)
        Persistently stores the whether we should copy the tags to the comments field.
        Parameters:
        copyComments - true or false
      • skip

        public boolean skip()
        Indicates, whether this task can be skipped.
        Overrides:
        skip in class Task
        Returns:
        true or false
      • createEditor

        public TaskEditor<LastFMTags> createEditor()
        Returns an instance of the corresponding TaskEditor, in this case LastFMTagsEditor. Starting with beaTunes 1.2.9, you don't have to override this method as long as you simply follow the naming convention Task + "Editor". If you don't need a custom editor at all, don't override this method.
        Overrides:
        createEditor in class Task
        Returns:
        editor instance
      • createDeepCopy

        public LastFMTags 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