Class MirrorContext

java.lang.Object
com.linecorp.centraldogma.server.mirror.MirrorContext

public final class MirrorContext extends Object
A context of a mirror.
  • Constructor Details

  • Method Details

    • schedule

      public com.cronutils.model.Cron schedule()
      Returns the cron schedule of this mirror.
    • direction

      public MirrorDirection direction()
      Returns the direction of this mirror.
    • credential

      public MirrorCredential credential()
      Returns the credential of this mirror.
    • localRepo

      public Repository localRepo()
      Returns the local repository of this mirror.
    • localPath

      public String localPath()
      Returns the local path of this mirror.
    • remoteUri

      public URI remoteUri()
      Returns the remote URI of this mirror.
    • gitignore

      @Nullable public String gitignore()
      Returns the gitignore of this mirror.
    • toString

      public String toString()
      Overrides:
      toString in class Object