Class AbstractCommand

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractCommand()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer call()
      Implements Callable.call() that just calls execute() and returns 0 for the process exit code on success.
      org.projectnessie.client.api.NessieApiV2 createNessieApiInstance()  
      abstract void execute()
      Convenience method declaration that allows to "just throw" Nessie API exceptions.
      protected boolean isVerbose()  
      • Methods inherited from class java.lang.Object

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

      • AbstractCommand

        public AbstractCommand()
    • Method Detail

      • isVerbose

        protected boolean isVerbose()
      • createNessieApiInstance

        public org.projectnessie.client.api.NessieApiV2 createNessieApiInstance()
      • execute

        public abstract void execute()
                              throws org.projectnessie.error.BaseNessieClientServerException
        Convenience method declaration that allows to "just throw" Nessie API exceptions.
        Throws:
        org.projectnessie.error.BaseNessieClientServerException
      • call

        public final java.lang.Integer call()
                                     throws java.lang.Exception
        Implements Callable.call() that just calls execute() and returns 0 for the process exit code on success.
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>
        Throws:
        java.lang.Exception