Package br.org.soujava.pomeditor.api
Class PomChange.PomChangeBuilder
- java.lang.Object
-
- br.org.soujava.pomeditor.api.PomChange.PomChangeBuilder
-
-
Constructor Summary
Constructors Constructor Description PomChangeBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PomChange
build()
PomChange.PomChangeBuilder
withBackupFunction(Function<Path,Boolean> backupFunction)
PomChange.PomChangeBuilder
withLogger(Consumer<String> logger)
PomChange.PomChangeBuilder
withPom(Path pom)
PomChange.PomChangeBuilder
withRollbackFunction(Consumer<Path> rollbackFunction)
-
-
-
Method Detail
-
withLogger
public PomChange.PomChangeBuilder withLogger(Consumer<String> logger)
-
withPom
public PomChange.PomChangeBuilder withPom(Path pom)
-
withBackupFunction
public PomChange.PomChangeBuilder withBackupFunction(Function<Path,Boolean> backupFunction)
-
withRollbackFunction
public PomChange.PomChangeBuilder withRollbackFunction(Consumer<Path> rollbackFunction)
-
build
public PomChange build()
-
-