Interface Phase

All Known Implementing Classes:
AnalysisPhase, BasePhase, InputDataPhase, ReportPhase, SamplePhase

public interface Phase

A way of linking up parts of a survey up so that it can be progressed through linearly

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Phase
    A phase that contains nothing and does nothing, useful as a null alternative
  • Method Summary

    Modifier and Type
    Method
    Description
    getName(Locale locale)
     
     
  • Field Details

    • EMPTY_PHASE

      static final Phase EMPTY_PHASE

      A phase that contains nothing and does nothing, useful as a null alternative

  • Method Details

    • getSurvey

      Survey getSurvey()
      Returns:
      the survey that this phase belongs to
    • getName

      Optional<String> getName(Locale locale)
      Returns:
      a short name for this phase, translated in to the given locale