final case class CronJobSpec(schedule: String, jobTemplate: JobTemplateSpec, startingDeadlineSeconds: Option[Long] = None, concurrencyPolicy: Option[String] = None, failedJobsHistoryLimit: Option[Int] = None, successfulJobsHistoryLimit: Option[Int] = None, suspend: Option[Boolean] = None, timeZone: Option[String] = None) extends Product with Serializable
CronJobSpec describes how the job execution will look like and when it will actually run.
- Source
- CronJobSpec.scala
- Alphabetic
- By Inheritance
- CronJobSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CronJobSpec(schedule: String, jobTemplate: JobTemplateSpec, startingDeadlineSeconds: Option[Long] = None, concurrencyPolicy: Option[String] = None, failedJobsHistoryLimit: Option[Int] = None, successfulJobsHistoryLimit: Option[Int] = None, suspend: Option[Boolean] = None, timeZone: Option[String] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val concurrencyPolicy: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failedJobsHistoryLimit: Option[Int]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jobTemplate: JobTemplateSpec
-
def
mapConcurrencyPolicy(f: (String) ⇒ String): CronJobSpec
if concurrencyPolicy has a value, transforms to the result of function
-
def
mapFailedJobsHistoryLimit(f: (Int) ⇒ Int): CronJobSpec
if failedJobsHistoryLimit has a value, transforms to the result of function
-
def
mapJobTemplate(f: (JobTemplateSpec) ⇒ JobTemplateSpec): CronJobSpec
transforms jobTemplate to result of function
-
def
mapSchedule(f: (String) ⇒ String): CronJobSpec
transforms schedule to result of function
-
def
mapStartingDeadlineSeconds(f: (Long) ⇒ Long): CronJobSpec
if startingDeadlineSeconds has a value, transforms to the result of function
-
def
mapSuccessfulJobsHistoryLimit(f: (Int) ⇒ Int): CronJobSpec
if successfulJobsHistoryLimit has a value, transforms to the result of function
-
def
mapSuspend(f: (Boolean) ⇒ Boolean): CronJobSpec
if suspend has a value, transforms to the result of function
-
def
mapTimeZone(f: (String) ⇒ String): CronJobSpec
if timeZone has a value, transforms to the result of function
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val schedule: String
- val startingDeadlineSeconds: Option[Long]
- val successfulJobsHistoryLimit: Option[Int]
- val suspend: Option[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timeZone: Option[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withConcurrencyPolicy(value: String): CronJobSpec
Returns a new data with concurrencyPolicy set to new value
-
def
withFailedJobsHistoryLimit(value: Int): CronJobSpec
Returns a new data with failedJobsHistoryLimit set to new value
-
def
withJobTemplate(value: JobTemplateSpec): CronJobSpec
Returns a new data with jobTemplate set to new value
-
def
withSchedule(value: String): CronJobSpec
Returns a new data with schedule set to new value
-
def
withStartingDeadlineSeconds(value: Long): CronJobSpec
Returns a new data with startingDeadlineSeconds set to new value
-
def
withSuccessfulJobsHistoryLimit(value: Int): CronJobSpec
Returns a new data with successfulJobsHistoryLimit set to new value
-
def
withSuspend(value: Boolean): CronJobSpec
Returns a new data with suspend set to new value
-
def
withTimeZone(value: String): CronJobSpec
Returns a new data with timeZone set to new value