java.lang.Object
io.micronaut.sourcegen.example.plugin.maven.model.Repeat
All Implemented Interfaces:
Serializable

public class Repeat extends Object implements Serializable
Configuration for repeating the file.
See Also:
  • Constructor Details

    • Repeat

      public Repeat(int number, String repeatSuffix, Ending ending)
    • Repeat

      public Repeat()
  • Method Details

    • getNumber

      public int getNumber()
    • setNumber

      public void setNumber(int number)
    • getRepeatSuffix

      public String getRepeatSuffix()
    • setRepeatSuffix

      public void setRepeatSuffix(String repeatSuffix)
    • getEnding

      public Ending getEnding()
    • setEnding

      public void setEnding(Ending ending)
    • withNumber

      public Repeat withNumber(int number)
      Create a copy and set number. Number of repeats.
    • withRepeatSuffix

      public Repeat withRepeatSuffix(String repeatSuffix)
      Create a copy and set repeatSuffix. The suffix to use.
    • withEnding

      public Repeat withEnding(Ending ending)
      Create a copy and set ending. The file ending.