Class BaseInput<T extends BaseInputSpec<T>>

java.lang.Object
org.springframework.shell.component.flow.BaseInput<T>
All Implemented Interfaces:
org.springframework.core.Ordered, BaseInputSpec<T>
Direct Known Subclasses:
BaseConfirmationInput, BaseMultiItemSelector, BasePathInput, BaseSingleItemSelector, BaseStringInput

public abstract class BaseInput<T extends BaseInputSpec<T>> extends Object implements org.springframework.core.Ordered, BaseInputSpec<T>
Base impl for specs.
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder(int order)
    • order

      public T order(int order)
      Description copied from interface: BaseInputSpec
      Sets order of this component.
      Specified by:
      order in interface BaseInputSpec<T extends BaseInputSpec<T>>
      Parameters:
      order - the order
      Returns:
      a builder
    • getBuilder

      public ComponentFlow.BaseBuilder getBuilder()
    • getId

      public String getId()