Package org.projectnessie.quarkus.cli
Class BaseCommand
- java.lang.Object
-
- org.projectnessie.quarkus.cli.BaseCommand
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
- Direct Known Subclasses:
CheckContent,ContentInfo,EraseRepository,ExportRepository,ImportRepository,NessieCli,NessieInfo,RepoMaintenance
public abstract class BaseCommand extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Integer>
-
-
Constructor Summary
Constructors Constructor Description BaseCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercall()protected java.lang.IntegercallWithDatabaseAdapter()protected java.lang.IntegercallWithPersist()protected voidwarnOnInMemory()
-
-
-
Method Detail
-
call
public final java.lang.Integer call() throws java.lang.Exception- Specified by:
callin interfacejava.util.concurrent.Callable<java.lang.Integer>- Throws:
java.lang.Exception
-
callWithPersist
protected java.lang.Integer callWithPersist() throws java.lang.Exception- Throws:
java.lang.Exception
-
callWithDatabaseAdapter
protected java.lang.Integer callWithDatabaseAdapter() throws java.lang.Exception- Throws:
java.lang.Exception
-
warnOnInMemory
protected void warnOnInMemory()
-
-