public final class JkIvyPublication
extends java.lang.Object
implements java.lang.Iterable<org.jerkar.api.depmanagement.JkIvyPublication.Artifact>, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
JkIvyPublication |
and(java.nio.file.Path file,
java.lang.String... scopes)
Returns a
JkIvyPublication identical to this one but adding the specified
artifact. |
JkIvyPublication |
and(java.nio.file.Path file,
java.lang.String type,
java.lang.String... scopes)
Returns a
JkIvyPublication identical to this one but adding the specified
artifact. |
JkIvyPublication |
and(java.lang.String name,
java.nio.file.Path file,
java.lang.String type,
java.lang.String... scopes)
Returns a
JkIvyPublication identical to this one but adding the specified
artifact and giving it the specified name (otherwise the value it the file of). |
JkIvyPublication |
andOptional(java.nio.file.Path file,
java.lang.String... scopes)
Same as
and(Path, String...) but effective only if the specified file exists. |
JkIvyPublication |
andOptionalWithType(java.nio.file.Path file,
java.lang.String type,
java.lang.String... scopes)
Same as
and(Path, String, String...) but effective only if the specified file
exists. |
java.util.Iterator<org.jerkar.api.depmanagement.JkIvyPublication.Artifact> |
iterator() |
static JkIvyPublication |
of(JkArtifactProducer artifactProducer)
Creates an Ivy publication from the specified artifact producer.
|
static JkIvyPublication |
of(java.nio.file.Path file,
java.lang.String... scopes)
Creates a publication for a single artifact embodied by the specified file and
to published for the specified scopes.
|
static JkIvyPublication |
ofType(java.nio.file.Path file,
java.lang.String type,
java.lang.String... scopes)
Creates a publication for a single artifact embodied by the specified file and
to published as the specified type and scopes.
|
public static JkIvyPublication ofType(java.nio.file.Path file, java.lang.String type, java.lang.String... scopes)
public static JkIvyPublication of(JkArtifactProducer artifactProducer)
public static JkIvyPublication of(java.nio.file.Path file, java.lang.String... scopes)
ofType(Path, String, String...)
public JkIvyPublication and(java.nio.file.Path file, java.lang.String type, java.lang.String... scopes)
JkIvyPublication
identical to this one but adding the specified
artifact.ofType(Path, String, String...)
public JkIvyPublication and(java.lang.String name, java.nio.file.Path file, java.lang.String type, java.lang.String... scopes)
JkIvyPublication
identical to this one but adding the specified
artifact and giving it the specified name (otherwise the value it the file of).ofType(Path, String, String...)
public JkIvyPublication and(java.nio.file.Path file, java.lang.String... scopes)
JkIvyPublication
identical to this one but adding the specified
artifact.public JkIvyPublication andOptional(java.nio.file.Path file, java.lang.String... scopes)
and(Path, String...)
but effective only if the specified file exists.public JkIvyPublication andOptionalWithType(java.nio.file.Path file, java.lang.String type, java.lang.String... scopes)
and(Path, String, String...)
but effective only if the specified file
exists.public java.util.Iterator<org.jerkar.api.depmanagement.JkIvyPublication.Artifact> iterator()
iterator
in interface java.lang.Iterable<org.jerkar.api.depmanagement.JkIvyPublication.Artifact>