Class MirrorContext
java.lang.Object
com.linecorp.centraldogma.server.mirror.MirrorContext
A context of a mirror.
-
Constructor Summary
ConstructorDescriptionMirrorContext
(com.cronutils.model.Cron schedule, MirrorDirection direction, MirrorCredential credential, Repository localRepo, String localPath, URI remoteUri, String gitignore) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the credential of this mirror.Returns the direction of this mirror.Returns the gitignore of this mirror.Returns the local path of this mirror.Returns the local repository of this mirror.Returns the remote URI of this mirror.com.cronutils.model.Cron
schedule()
Returns the cron schedule of this mirror.toString()
-
Constructor Details
-
MirrorContext
public MirrorContext(com.cronutils.model.Cron schedule, MirrorDirection direction, MirrorCredential credential, Repository localRepo, String localPath, URI remoteUri, @Nullable String gitignore) Creates a new instance.
-
-
Method Details
-
schedule
public com.cronutils.model.Cron schedule()Returns the cron schedule of this mirror. -
direction
Returns the direction of this mirror. -
credential
Returns the credential of this mirror. -
localRepo
Returns the local repository of this mirror. -
localPath
Returns the local path of this mirror. -
remoteUri
Returns the remote URI of this mirror. -
gitignore
Returns the gitignore of this mirror. -
toString
-