Class ResolvedBookmarkAsker

All Implemented Interfaces:
Asker

public class ResolvedBookmarkAsker extends CompatAsker

ResolvedBookmarks aren't Identified, but they can be looked up from the Bookmark IdentifiedCollection. This class acts as a simple intermediary.

  • Constructor Details

    • ResolvedBookmarkAsker

      public ResolvedBookmarkAsker(nz.org.riskscape.engine.i18n.TranslationContext context)
  • Method Details

    • canAsk

      public boolean canAsk(nz.org.riskscape.wizard.bld.IncrementalBuildState buildState, nz.org.riskscape.wizard.Question question)
      Description copied from interface: Asker

      Determine whether this Asker is relevant for the given Question and IncrementalBuildState

      Returns:
      true if this Asker can and should drive the cli to answer the given Question.
    • ask

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.wizard.Answer.Response> ask(CliPrompter cliPrompter, nz.org.riskscape.wizard.bld.IncrementalBuildState buildState, nz.org.riskscape.wizard.Question question)
      Specified by:
      ask in class CompatAsker