Class MirrorTask
java.lang.Object
com.linecorp.centraldogma.server.mirror.MirrorTask
A task to mirror a repository.
-
Constructor Summary
ConstructorDescriptionMirrorTask
(Mirror mirror, User triggeredBy, Instant triggeredTime, String currentZone, boolean scheduled) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current zone where theMirror
is running.boolean
int
hashCode()
mirror()
Returns theMirror
to be executed.project()
boolean
Returns whether theMirror
is triggered by a scheduler.toString()
Returns the user who triggered theMirror
.Returns the time when theMirror
was triggered.
-
Constructor Details
-
Method Details
-
mirror
Returns theMirror
to be executed. -
project
-
triggeredBy
Returns the user who triggered theMirror
. -
triggeredTime
Returns the time when theMirror
was triggered. -
currentZone
Returns the current zone where theMirror
is running. This value isnull
if theZoneConfig
is not available. -
scheduled
public boolean scheduled()Returns whether theMirror
is triggered by a scheduler. -
equals
-
hashCode
public int hashCode() -
toString
-