public static class SaharaJob.ConcreteJobBuilder extends Object implements JobBuilder
Modifier and Type | Method and Description |
---|---|
JobBuilder |
addLibs(String jobBinaryId)
See
Job#getLibId() |
Job |
build()
Creates and return the Model Entity M
|
JobBuilder |
description(String description)
|
JobBuilder |
from(Job in)
Creates a Builder using the param M as the default values
|
JobBuilder |
name(String name)
See
Job.getName() |
JobBuilder |
setMain(String jobBinaryId)
See
Job#getMainIds() |
JobBuilder |
type(String type)
See
Job.getType() |
public Job build()
Buildable.Builder
build
in interface Buildable.Builder<JobBuilder,Job>
public JobBuilder from(Job in)
Buildable.Builder
from
in interface Buildable.Builder<JobBuilder,Job>
public JobBuilder description(String description)
JobBuilder
description
in interface JobBuilder
description
- the description of the jobpublic JobBuilder type(String type)
JobBuilder
Job.getType()
type
in interface JobBuilder
type
- the type of the jobpublic JobBuilder name(String name)
JobBuilder
Job.getName()
name
in interface JobBuilder
name
- the name of the jobpublic JobBuilder setMain(String jobBinaryId)
JobBuilder
Job#getMainIds()
setMain
in interface JobBuilder
public JobBuilder addLibs(String jobBinaryId)
JobBuilder
Job#getLibId()
addLibs
in interface JobBuilder
Copyright © 2017. All rights reserved.