Class CreateAndInsertTopicRef.Arguments

  • Enclosing class:
    CreateAndInsertTopicRef

    public static class CreateAndInsertTopicRef.Arguments
    extends java.lang.Object
    Handles argument retrieval.
    • Constructor Detail

      • Arguments

        public Arguments​(ArgumentsMap args,
                         java.io.File frameworkFolder)
        Parameters:
        args - Args map.
        frameworkFolder - The framework folder.
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Returns:
        The title.
      • getTopicContent

        public java.lang.String getTopicContent()
        Returns:
        The topic content
      • getFolderUrl

        public java.util.Optional<java.lang.String> getFolderUrl()
        Returns:
        The folder URL argument.
      • getInsertionLocation

        public java.lang.String getInsertionLocation()
        Returns:
        The insertion location, as one of the constants in AuthorConstants.
      • getTopicFile

        public java.io.File getTopicFile()
        Returns:
        The URL where to read the content from.