Remote trailing whitespace
This commit is contained in:
@@ -30,7 +30,7 @@ import org.springframework.boot.cli.command.test.TestCommand;
|
||||
|
||||
/**
|
||||
* Default implementation of {@link CommandFactory}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class DefaultCommandFactory implements CommandFactory {
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.boot.loader.tools.LogbackInitializer;
|
||||
/**
|
||||
* Spring Command Line Interface. This is the main entry-point for the Spring command line
|
||||
* application.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see #main(String...)
|
||||
* @see CommandRunner
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.cli.command.options.OptionHelp;
|
||||
|
||||
/**
|
||||
* Abstract {@link Command} implementation.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* A single command that can be run from the CLI.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @see #run(String...)
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.Set;
|
||||
/**
|
||||
* Runtime exception wrapper that defines additional {@link Option}s that are understood
|
||||
* by the {@link CommandRunner}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class CommandException extends RuntimeException {
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.util.ServiceLoader;
|
||||
/**
|
||||
* Factory used to create CLI {@link Command}s. Intended for use with a Java
|
||||
* {@link ServiceLoader}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public interface CommandFactory {
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Main class used to run {@link Command}s.
|
||||
*
|
||||
*
|
||||
* @see #addCommand(Command)
|
||||
* @see CommandRunner#runAndHandleErrors(String[])
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.command;
|
||||
|
||||
/**
|
||||
* Exception used to indicate that no arguemnts were specified.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class NoArgumentsException extends CommandException {
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.command;
|
||||
|
||||
/**
|
||||
* Exception used to when the help command is called without arguments.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class NoHelpCommandArgumentsException extends CommandException {
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.command;
|
||||
|
||||
/**
|
||||
* Exception used when a command is not found.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class NoSuchCommandException extends CommandException {
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* Base class for a {@link Command} that parse options using an {@link OptionHandler}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @see OptionHandler
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.boot.cli.util.Log;
|
||||
|
||||
/**
|
||||
* Internal {@link Command} used for 'help' requests.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class HelpCommand extends AbstractCommand {
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.boot.cli.util.Log;
|
||||
/**
|
||||
* Internal {@link Command} to provide hints for shell auto-completion. Expects to be
|
||||
* called with the current index followed by a list of arguments already typed.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class HintCommand extends AbstractCommand {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.cli.util.Log;
|
||||
|
||||
/**
|
||||
* {@link Command} to display the 'version' number.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class VersionCommand extends AbstractCommand {
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration;
|
||||
|
||||
/**
|
||||
* {@link Command} to grab the dependencies of one or more Groovy scripts
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class GrabCommand extends OptionParsingCommand {
|
||||
|
||||
@@ -65,7 +65,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* {@link Command} to create a self-contained executable jar file from a CLI application
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Used to match resources for inclusion in a CLI application's jar file
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
class ResourceMatcher {
|
||||
|
||||
@@ -23,7 +23,7 @@ import static java.util.Arrays.asList;
|
||||
/**
|
||||
* An {@link OptionHandler} for commands that result in the compilation of one or more
|
||||
* Groovy scripts
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -43,7 +43,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* Delegate used by {@link OptionParsingCommand} to parse options and run the command.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see OptionParsingCommand
|
||||
* @see #run(OptionSet)
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Help for a specific option.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public interface OptionHelp {
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration;
|
||||
/**
|
||||
* Simple adapter class to present an {@link OptionSet} as a
|
||||
* {@link GroovyCompilerConfiguration}
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class OptionSetGroovyCompilerConfiguration implements GroovyCompilerConfiguration {
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* Extract source file options (anything following '--' in an {@link OptionSet}).
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Greg Turnquist
|
||||
|
||||
@@ -37,7 +37,7 @@ import static java.util.Arrays.asList;
|
||||
|
||||
/**
|
||||
* {@link Command} to 'run' a groovy script or scripts.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.boot.cli.util.ResourceUtils;
|
||||
* Compiles Groovy code running the resulting classes using a {@code SpringApplication}.
|
||||
* Takes care of threading and class-loading issues and can optionally monitor sources for
|
||||
* changes.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* Configuration for the {@link SpringApplicationRunner}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public interface SpringApplicationRunnerConfiguration extends GroovyCompilerConfiguration {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.fusesource.jansi.AnsiRenderer.Code;
|
||||
|
||||
/**
|
||||
* Simple utitliy class to build an ANSI string when supported by the {@link Terminal}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class AnsiString {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* Clear the {@link Shell} screen.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,7 @@ import org.springframework.boot.cli.util.Log;
|
||||
|
||||
/**
|
||||
* JLine {@link Completer} for Spring Boot {@link Command}s.
|
||||
*
|
||||
*
|
||||
* @author Jon Brisbin
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ import jline.console.completer.ArgumentCompleter.WhitespaceArgumentDelimiter;
|
||||
|
||||
/**
|
||||
* Escape aware variant of {@link WhitespaceArgumentDelimiter}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class EscapeAwareWhiteSpaceArgumentDelimiter extends WhitespaceArgumentDelimiter {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* {@link Command} to quit the {@link Shell}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class ExitCommand extends AbstractCommand {
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.boot.loader.tools.JavaExecutable;
|
||||
|
||||
/**
|
||||
* Decorate an existing command to run it by forking the current java process.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class ForkProcessCommand extends RunProcessCommand {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* {@link Command} to change the {@link Shell} prompt.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class PromptCommand extends AbstractCommand {
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.boot.loader.tools.RunProcess;
|
||||
/**
|
||||
* Special {@link Command} used to run a process from the shell. NOTE: this command is not
|
||||
* directly installed into the shell.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
class RunProcessCommand extends AbstractCommand {
|
||||
|
||||
@@ -41,7 +41,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* A shell for Spring Boot. Drops the user into an event loop (REPL) where command line
|
||||
* completion and history are available without relying on OS shell features.
|
||||
*
|
||||
*
|
||||
* @author Jon Brisbin
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* {@link Command} to start a nested REPL shell.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see Shell
|
||||
*/
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.boot.cli.command.CommandException;
|
||||
|
||||
/**
|
||||
* Exception used to stop the {@link Shell}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class ShellExitException extends CommandException {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.Stack;
|
||||
|
||||
/**
|
||||
* Abstraction to manage a stack of prompts.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class ShellPrompts {
|
||||
|
||||
@@ -18,11 +18,11 @@ package org.springframework.boot.cli.command.status;
|
||||
|
||||
/**
|
||||
* Encapsulation of the outcome of a command.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see ExitStatus#OK
|
||||
* @see ExitStatus#ERROR
|
||||
*
|
||||
*
|
||||
*/
|
||||
public final class ExitStatus {
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
|
||||
/**
|
||||
* {@link Command} to run a groovy test script or scripts.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.groovy.DelegateTestRunner;
|
||||
|
||||
/**
|
||||
* Compile and run groovy based tests.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class TestRunner {
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* Configuration for {@link TestRunner}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public interface TestRunnerConfiguration extends GroovyCompilerConfiguration {
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.codehaus.groovy.transform.ASTTransformation;
|
||||
/**
|
||||
* A base class for {@link ASTTransformation AST transformations} that are solely
|
||||
* interested in {@link AnnotatedNode AnnotatedNodes}.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.util.PatternMatchUtils;
|
||||
|
||||
/**
|
||||
* General purpose AST utilities.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Greg Turnquist
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
/**
|
||||
* Strategy that can be used to apply some auto-configuration during the
|
||||
* {@link CompilePhase#CONVERSION} Groovy compile phase.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public abstract class CompilerAutoConfiguration {
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.boot.cli.compiler.grape.DependencyResolutionContext;
|
||||
* {@link ASTTransformation} to apply
|
||||
* {@link CompilerAutoConfiguration#applyDependencies(DependencyCustomizer) dependency
|
||||
* auto-configuration}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.boot.cli.compiler.grape.DependencyResolutionContext;
|
||||
* <p>
|
||||
* This class provides a fluent API for conditionally adding dependencies. For example:
|
||||
* {@code dependencies.ifMissing("com.corp.SomeClass").add(module)}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
|
||||
@@ -43,7 +43,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* Extension of the {@link GroovyClassLoader} with support for obtaining '.class' files as
|
||||
* resources.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ import org.springframework.boot.groovy.GrabMetadata;
|
||||
|
||||
/**
|
||||
* {@link ASTTransformation} for processing {@link GrabMetadata @GrabMetadata}
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.codehaus.groovy.transform.ASTTransformation;
|
||||
* files. Users only need to define a <code>beans{}</code> DSL element, and this
|
||||
* transformation will remove it and make it accessible to the Spring application via an
|
||||
* interface.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class GroovyBeansTransformation implements ASTTransformation {
|
||||
|
||||
@@ -56,13 +56,13 @@ import org.springframework.boot.cli.util.ResourceUtils;
|
||||
* <li>{@link CompilerAutoConfiguration} strategies will be read from
|
||||
* <code>META-INF/services/org.springframework.boot.cli.compiler.CompilerAutoConfiguration</code>
|
||||
* (per the standard java {@link ServiceLoader} contract) and applied during compilation</li>
|
||||
*
|
||||
*
|
||||
* <li>Multiple classes can be returned if the Groovy source defines more than one Class</li>
|
||||
*
|
||||
*
|
||||
* <li>Generated class files can also be loaded using
|
||||
* {@link ClassLoader#getResource(String)}</li>
|
||||
* </ul>
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Dave Syer
|
||||
* @author Andy Wilkinson
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.cli.compiler.grape.RepositoryConfiguration;
|
||||
|
||||
/**
|
||||
* Configuration for the {@link GroovyCompiler}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.compiler;
|
||||
|
||||
/**
|
||||
* The scope in which a groovy compiler operates.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public enum GroovyCompilerScope {
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Factory used to create {@link RepositoryConfiguration}s.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.boot.cli.compiler.grape.DependencyResolutionContext;
|
||||
|
||||
/**
|
||||
* {@link ASTTransformation} to resolve {@link Grab} artifact coordinates.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
/**
|
||||
* Smart extension of {@link ImportCustomizer} that will only add a specific import if a
|
||||
* class with the same name is not already explicitly imported.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.groovy.GroovyTemplate;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Groovy Templates (outside MVC).
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for JUnit
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
*/
|
||||
public class JUnitCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring JDBC.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class JdbcCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.groovy.EnableJmsMessaging;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring JMS.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
*/
|
||||
public class JmsCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.groovy.EnableRabbitMessaging;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Rabbit.
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
*/
|
||||
public class RabbitCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for the Reactor.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class ReactorCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spock test framework
|
||||
*
|
||||
*
|
||||
* @author Greg Turnquist
|
||||
*/
|
||||
public class SpockCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Batch.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -31,7 +31,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Integration.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Artem Bilan
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.groovy.EnableDeviceResolver;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Mobile.
|
||||
*
|
||||
*
|
||||
* @author Roy Clarkson
|
||||
* @author Dave Syer
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.groovy.GroovyTemplate;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring MVC.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Security.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class SpringSecurityCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Social Facebook.
|
||||
*
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Social LinkedIn.
|
||||
*
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Social Twitter.
|
||||
*
|
||||
*
|
||||
* @author Craig Walls
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Test
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Websocket.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public class SpringWebsocketCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring MVC.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@ package org.springframework.boot.cli.compiler.dependencies;
|
||||
* the relevant piece from the identifier. Alternatively the identifier may be in the form
|
||||
* {@code artifactId}, in which case coordinate resolution uses implementation-specific
|
||||
* metadata to resolve the groupId and version.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public interface ArtifactCoordinatesResolver {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* {@link ArtifactCoordinatesResolver} backed by {@link Dependencies}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class ManagedDependenciesArtifactCoordinatesResolver implements
|
||||
|
||||
@@ -48,7 +48,7 @@ import org.eclipse.aether.util.filter.DependencyFilterUtils;
|
||||
* A {@link GrapeEngine} implementation that uses <a
|
||||
* href="http://eclipse.org/aether">Aether</a>, the dependency resolution system used by
|
||||
* Maven.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.eclipse.aether.transport.http.HttpTransporterFactory;
|
||||
|
||||
/**
|
||||
* Utility class to create a pre-configured {@link AetherGrapeEngine}.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public abstract class AetherGrapeEngineFactory {
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.eclipse.aether.repository.RemoteRepository;
|
||||
|
||||
/**
|
||||
* Composite {@link ProxySelector}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* A {@link RepositorySystemSessionAutoConfiguration} that, in the absence of any
|
||||
* configuration, applies sensible defaults.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class DefaultRepositorySystemSessionAutoConfiguration implements
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.dependency.tools.ManagedDependencies;
|
||||
|
||||
/**
|
||||
* Context used when resolving dependencies.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.compiler.grape;
|
||||
|
||||
/**
|
||||
* Thrown to indicate a failure during dependency resolution.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.eclipse.aether.transfer.TransferResource;
|
||||
|
||||
/**
|
||||
* Provide detailed progress feedback for long running resolves.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
final class DetailedProgressReporter implements ProgressReporter {
|
||||
|
||||
@@ -23,7 +23,7 @@ import java.lang.reflect.Field;
|
||||
|
||||
/**
|
||||
* Utility to install a specific {@link Grape} engine with Groovy.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public abstract class GrapeEngineInstaller {
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.boot.dependency.tools.PomDependencies;
|
||||
|
||||
/**
|
||||
* Factory to create Maven {@link Dependency} objects from Boot {@link PomDependencies}.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class ManagedDependenciesFactory {
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.compiler.grape;
|
||||
|
||||
/**
|
||||
* Reports progress on a dependency resolution operation
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
interface ProgressReporter {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.util.ObjectUtils;
|
||||
|
||||
/**
|
||||
* The configuration of a repository
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public final class RepositoryConfiguration {
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.eclipse.aether.RepositorySystem;
|
||||
/**
|
||||
* Strategy that can be used to apply some auto-configuration during the installation of
|
||||
* an {@link AetherGrapeEngine}.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public interface RepositorySystemSessionAutoConfiguration {
|
||||
|
||||
@@ -51,7 +51,7 @@ import org.sonatype.plexus.components.sec.dispatcher.DefaultSecDispatcher;
|
||||
/**
|
||||
* Auto-configuration for a RepositorySystemSession that uses Maven's settings.xml to
|
||||
* determine the configuration settings
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class SettingsXmlRepositorySystemSessionAutoConfiguration implements
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.eclipse.aether.transfer.TransferEvent;
|
||||
|
||||
/**
|
||||
* Provide high-level progress feedback for long running resolves.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@ import java.util.jar.Manifest;
|
||||
|
||||
/**
|
||||
* A launcher for a CLI application that has been compiled and packaged as a jar file.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.cli.util;
|
||||
|
||||
/**
|
||||
* Simple logger used by the CLI.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public abstract class Log {
|
||||
|
||||
@@ -36,7 +36,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Utilities for manipulating resource paths and URLs.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.boot.cli.command.test.TestRunner;
|
||||
|
||||
/**
|
||||
* Delegate test runner to launch tests in user application classpath.
|
||||
*
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @see TestRunner
|
||||
*/
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.springframework.boot.cli.compiler.autoconfigure.GroovyTemplatesCompil
|
||||
|
||||
/**
|
||||
* Pseudo annotation used to trigger {@link GroovyTemplatesCompilerAutoConfiguration}.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
|
||||
/**
|
||||
* Used to provide an alternative source of dependency metadata that is used to deduce
|
||||
* groups and versions when processing {@code @Grab} dependencies.
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 1.1.0
|
||||
*/
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.codehaus.groovy.control.CompilationFailedException;
|
||||
|
||||
/**
|
||||
* Helpful utilties for working with Groovy {@link Template}s.
|
||||
*
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
public abstract class GroovyTemplate {
|
||||
|
||||
Reference in New Issue
Block a user