Class BaseRepositoryCommand

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.io.PrintWriter out  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String asString​(java.lang.Object o)  
      protected java.lang.Integer call​(Closeables closeables)  
      protected abstract java.lang.Integer call​(Closeables closeables, org.projectnessie.gc.contents.LiveContentSetsRepository liveContentSetsRepository)  
      protected org.projectnessie.gc.iceberg.files.IcebergFiles createIcebergFiles​(IcebergOptions icebergOptions)  
      protected int expire​(org.projectnessie.gc.contents.LiveContentSetsRepository liveContentSetsRepository, org.projectnessie.gc.contents.LiveContentSet liveContentSet, SweepOptions sweepOptions, IcebergOptions icebergOptions, picocli.CommandLine.Model.CommandSpec commandSpec)  
      protected org.projectnessie.gc.contents.LiveContentSet identify​(Closeables closeables, org.projectnessie.gc.contents.LiveContentSetsRepository liveContentSetsRepository, MarkOptions markOptions, picocli.CommandLine.Model.CommandSpec commandSpec)  
      protected java.lang.String instantAsString​(java.time.Instant instant)  
      protected void listLiveContentSets​(picocli.CommandLine.Model.CommandSpec commandSpec, java.util.stream.Stream<org.projectnessie.gc.contents.LiveContentSet> liveContentSetStream)  
      protected void preValidate()  
      protected java.time.ZoneId zoneId()  
      • Methods inherited from class org.projectnessie.gc.tool.cli.commands.BaseCommand

        call
      • Methods inherited from class java.lang.Object

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

      • out

        protected java.io.PrintWriter out
    • Constructor Detail

      • BaseRepositoryCommand

        public BaseRepositoryCommand()
    • Method Detail

      • zoneId

        protected java.time.ZoneId zoneId()
      • call

        protected java.lang.Integer call​(Closeables closeables)
                                  throws java.lang.Exception
        Specified by:
        call in class BaseCommand
        Throws:
        java.lang.Exception
      • preValidate

        protected void preValidate()
      • call

        protected abstract java.lang.Integer call​(Closeables closeables,
                                                  org.projectnessie.gc.contents.LiveContentSetsRepository liveContentSetsRepository)
      • instantAsString

        protected java.lang.String instantAsString​(java.time.Instant instant)
      • asString

        protected static java.lang.String asString​(java.lang.Object o)
      • listLiveContentSets

        protected void listLiveContentSets​(picocli.CommandLine.Model.CommandSpec commandSpec,
                                           java.util.stream.Stream<org.projectnessie.gc.contents.LiveContentSet> liveContentSetStream)
      • identify

        protected org.projectnessie.gc.contents.LiveContentSet identify​(Closeables closeables,
                                                                        org.projectnessie.gc.contents.LiveContentSetsRepository liveContentSetsRepository,
                                                                        MarkOptions markOptions,
                                                                        picocli.CommandLine.Model.CommandSpec commandSpec)
      • expire

        protected int expire​(org.projectnessie.gc.contents.LiveContentSetsRepository liveContentSetsRepository,
                             org.projectnessie.gc.contents.LiveContentSet liveContentSet,
                             SweepOptions sweepOptions,
                             IcebergOptions icebergOptions,
                             picocli.CommandLine.Model.CommandSpec commandSpec)
      • createIcebergFiles

        protected org.projectnessie.gc.iceberg.files.IcebergFiles createIcebergFiles​(IcebergOptions icebergOptions)