Class DemoCommand

java.lang.Object
org.tbk.ngtor.command.DemoCommand
All Implemented Interfaces:
org.springframework.boot.ApplicationRunner

@Component @ConditionalOnCommand("demo") public class DemoCommand extends Object implements org.springframework.boot.ApplicationRunner
  • Constructor Summary

    Constructors
    Constructor
    Description
    DemoCommand(@NonNull org.berndpruenster.netlayer.tor.Tor tor, @NonNull org.tbk.tor.hs.HiddenServiceDefinition hiddenServiceDefinition)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(org.springframework.boot.ApplicationArguments args)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DemoCommand

      public DemoCommand(@NonNull @NonNull org.berndpruenster.netlayer.tor.Tor tor, @NonNull @NonNull org.tbk.tor.hs.HiddenServiceDefinition hiddenServiceDefinition)
  • Method Details

    • run

      public void run(org.springframework.boot.ApplicationArguments args)
      Specified by:
      run in interface org.springframework.boot.ApplicationRunner