Package org.tbk.ngtor.command
Class VersionCommandRunner
java.lang.Object
org.tbk.ngtor.command.VersionCommandRunner
- All Implemented Interfaces:
org.springframework.boot.ApplicationRunner
@Component
@ConditionalOnCommand("version")
public class VersionCommandRunner
extends Object
implements org.springframework.boot.ApplicationRunner
-
Constructor Summary
ConstructorsConstructorDescriptionVersionCommandRunner(@NonNull org.springframework.boot.info.BuildProperties buildProperties) -
Method Summary
-
Constructor Details
-
VersionCommandRunner
public VersionCommandRunner(@NonNull @NonNull org.springframework.boot.info.BuildProperties buildProperties)
-
-
Method Details
-
run
public void run(org.springframework.boot.ApplicationArguments args) - Specified by:
runin interfaceorg.springframework.boot.ApplicationRunner
-