|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfrog.build.api.builder.ModuleBuilder
public class ModuleBuilder
A builder for the module class
| Constructor Summary | |
|---|---|
ModuleBuilder()
|
|
| Method Summary | |
|---|---|
ModuleBuilder |
addArtifact(Artifact artifact)
Adds the given artifact to the artifacts list |
ModuleBuilder |
addDependency(Dependency dependency)
Adds the given dependency to the dependencies list |
ModuleBuilder |
addExcludedArtifact(Artifact artifact)
Adds the given artifact to the exclude artifacts list |
ModuleBuilder |
addProperty(java.lang.Object key,
java.lang.Object value)
Adds the given property to the properties object |
ModuleBuilder |
artifacts(java.util.List<Artifact> artifacts)
Sets the list of artifacts that have been deployed by the module |
Module |
build()
Assembles the module class |
ModuleBuilder |
dependencies(java.util.List<Dependency> dependencies)
Sets the dependencies of the module |
ModuleBuilder |
excludedArtifacts(java.util.List<Artifact> excludedArtifacts)
Sets the list of artifacts that have been excluded by the module |
ModuleBuilder |
id(java.lang.String id)
Sets the ID of the module |
ModuleBuilder |
properties(java.util.Properties properties)
Sets the properties of the module |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleBuilder()
| Method Detail |
|---|
public Module build()
public ModuleBuilder id(java.lang.String id)
id - Module ID
public ModuleBuilder artifacts(java.util.List<Artifact> artifacts)
artifacts - Module deployed artifacts
public ModuleBuilder excludedArtifacts(java.util.List<Artifact> excludedArtifacts)
excludedArtifacts - Module excluded artifacts
public ModuleBuilder addArtifact(Artifact artifact)
artifact - Artifact to add
public ModuleBuilder addExcludedArtifact(Artifact artifact)
artifact - Artifact to add
public ModuleBuilder dependencies(java.util.List<Dependency> dependencies)
dependencies - Module dependencies
public ModuleBuilder addDependency(Dependency dependency)
dependency - Dependency to add
public ModuleBuilder properties(java.util.Properties properties)
properties - Module properties
public ModuleBuilder addProperty(java.lang.Object key,
java.lang.Object value)
key - Key of property to addvalue - Value of property to add
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||