Class Repeat
java.lang.Object
io.micronaut.sourcegen.example.plugin.maven.model.Repeat
- All Implemented Interfaces:
Serializable
Configuration for repeating the file.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
void
setNumber
(int number) void
setRepeatSuffix
(String repeatSuffix) withEnding
(Ending ending) Create a copy and set ending.withNumber
(int number) Create a copy and set number.withRepeatSuffix
(String repeatSuffix) Create a copy and set repeatSuffix.
-
Constructor Details
-
Repeat
-
Repeat
public Repeat()
-
-
Method Details
-
getNumber
public int getNumber() -
setNumber
public void setNumber(int number) -
getRepeatSuffix
-
setRepeatSuffix
-
getEnding
-
setEnding
-
withNumber
Create a copy and set number. Number of repeats. -
withRepeatSuffix
Create a copy and set repeatSuffix. The suffix to use. -
withEnding
Create a copy and set ending. The file ending.
-