Class AskRequest.Impl

java.lang.Object
nz.org.riskscape.wizard.ask.AskRequest.Impl
All Implemented Interfaces:
AskRequest
Enclosing interface:
AskRequest

public static class AskRequest.Impl extends Object implements AskRequest

Default implementation

  • Constructor Details

    • Impl

      public Impl(CliPrompter cliPrompter, nz.org.riskscape.wizard.bld.IncrementalBuildState buildState, nz.org.riskscape.wizard.Question question)
  • Method Details

    • getCliPrompter

      public CliPrompter getCliPrompter()
      Description copied from interface: AskRequest

      The CLI that is used to interact with the user

      Specified by:
      getCliPrompter in interface AskRequest
    • getBuildState

      public nz.org.riskscape.wizard.bld.IncrementalBuildState getBuildState()
      Description copied from interface: AskRequest

      The current state of building the pipeline

      Specified by:
      getBuildState in interface AskRequest
    • getQuestion

      public nz.org.riskscape.wizard.Question getQuestion()
      Description copied from interface: AskRequest

      The question being asked

      Specified by:
      getQuestion in interface AskRequest
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object