2990c5d7d1dfe99966499f9d8e6e288a977032ec
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Merge Attribute | 1 | ||
| Merge Attribute [before : Collection<CommandInvocation>, parallel : Collection<CommandInvocation>] to extraCommands : CommandDecorator in class io.bootique.command.MultiCommand | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type invocation : CommandInvocation to invocation : CommandWithArgs in method private toOutcomeSupplier(invocation CommandWithArgs) : Supplier<CommandOutcome> in class io.bootique.command.MultiCommand | From | To | |
| Change Parameter Type invocations : Collection<CommandInvocation> to invocations : Collection<CommandWithArgs> in method private run(invocations Collection<CommandWithArgs>) : Collection<CompletableFuture<CommandOutcome>> in class io.bootique.command.MultiCommand | From | To | |
| Change Return Type | 3 | ||
| Change Return Type Collection<CommandInvocation> to Collection<CommandWithArgs> in method public getBefore() : Collection<CommandWithArgs> in class io.bootique.command.CommandDecorator | From | To | |
| Change Return Type CommandInvocation to CommandWithArgs in method public build() : CommandWithArgs in class io.bootique.command.CommandWithArgs.Builder | From | To | |
| Change Return Type Collection<CommandInvocation> to Collection<CommandWithArgs> in method public getParallel() : Collection<CommandWithArgs> in class io.bootique.command.CommandDecorator | From | To | |
| Rename Class | 1 | ||
| Rename Class io.bootique.command.CommandInvocation renamed to io.bootique.command.CommandWithArgs | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class io.bootique.Bootique_CommandDecorationIT moved and renamed to io.bootique.command.CommandDecoratorIT | From | To | |
| Move Class | 1 | ||
| Move Class io.bootique.CommandDecorator moved to io.bootique.command.CommandDecorator | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute originalCommand : Command to mainCommand : Command in class io.bootique.command.MultiCommand | From | To | |
| Rename Attribute commandDecorators : Map<Class<? extends Command>,CommandDecorator> to decorators : Map<Class<? extends Command>,CommandDecorator> in class io.bootique.command.ExecutionPlanBuilder | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type parallel : Collection<CommandInvocation> to parallel : Collection<CommandWithArgs> in class io.bootique.command.CommandDecorator | From | To | |
| Change Attribute Type before : Collection<CommandInvocation> to before : Collection<CommandWithArgs> in class io.bootique.command.CommandDecorator | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter originalCommand : Command to mainCommand : Command in method public MultiCommand(mainCommand Command, extraCommands CommandDecorator, cliFactoryProvider Provider<CliFactory>, commandManagerProvider Provider<CommandManager>, executorProvider Provider<ExecutorService>) in class io.bootique.command.MultiCommand | From | To | |
| Rename Parameter commandDecorators : Map<Class<? extends Command>,CommandDecorator> to decorators : Map<Class<? extends Command>,CommandDecorator> in method public ExecutionPlanBuilder(cliFactoryProvider Provider<CliFactory>, commandManagerProvider Provider<CommandManager>, executorProvider Provider<ExecutorService>, decorators Map<Class<? extends Command>,CommandDecorator>) in class io.bootique.command.ExecutionPlanBuilder | From | To |