Class JobsAwareness

  • All Implemented Interfaces:
    dev.otbe.gitlab.ci.dsl.jobs.JobsAware

    
    public final class JobsAwareness
     implements JobsAware
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      JobsAwareness()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit job(Job job) Adds a pre-existing job to the pipeline.
      Job job(String name, Function1<JobBuilder, Unit> init) Creates a new job, adds it to the pipeline and returns it.
      • Methods inherited from class java.lang.Object

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

      • JobsAwareness

        JobsAwareness()
    • Method Detail

      • job

         Unit job(Job job)

        Adds a pre-existing job to the pipeline.

      • job

         Job job(String name, Function1<JobBuilder, Unit> init)

        Creates a new job, adds it to the pipeline and returns it.