public class ImmutableArtifactDefinitionImpl extends Object implements ImmutableArtifactDefinition
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableArtifactDefinitionImpl.Builder |
Modifier and Type | Method and Description |
---|---|
static ImmutableArtifactDefinitionImpl.Builder |
builder() |
@NotNull String |
getCopyPattern()
Get artifact copy pattern
|
@NotNull List<String> |
getCopyPatterns()
Get artifact copy patterns
|
@NotNull List<String> |
getExclusionPatterns()
Get artifact exclusion patterns
|
long |
getId()
Exposes the id of the
ArtifactDefinition |
String |
getLocation()
Get artifact location
|
@NotNull String |
getName()
Get artifact name
|
BambooEntityOid |
getOid()
OID assigned to this object.
|
@NotNull ImmutableJob |
getProducerJob()
Get Buildable that is a producer of artifact
|
@NotNull com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
getSubscriptions()
Get List of ArtifactSubscriptions on this ArtifactDefinition.
|
boolean |
hasSubscriptions() |
boolean |
isHttpCompressionOn() |
boolean |
isRequired() |
boolean |
isSharedArtifact()
Get value of "SharedArtifact" flag.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityType
public long getId()
ImmutableArtifactDefinitionBase
ArtifactDefinition
getId
in interface BambooIdProvider
getId
in interface ImmutableArtifactDefinitionBase
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
@NotNull public @NotNull String getName()
ImmutableArtifactDefinitionBase
getName
in interface ImmutableArtifactDefinitionBase
getName
in interface NameProvider
public String getLocation()
ImmutableArtifactDefinitionBase
getLocation
in interface ImmutableArtifactDefinitionBase
@NotNull public @NotNull String getCopyPattern()
ImmutableArtifactDefinitionBase
getCopyPattern
in interface ImmutableArtifactDefinitionBase
@NotNull public @NotNull List<String> getCopyPatterns()
ImmutableArtifactDefinitionBase
getCopyPatterns
in interface ImmutableArtifactDefinitionBase
@NotNull public @NotNull List<String> getExclusionPatterns()
ImmutableArtifactDefinitionBase
getExclusionPatterns
in interface ImmutableArtifactDefinitionBase
public boolean isSharedArtifact()
ImmutableArtifactDefinitionBase
isSharedArtifact
in interface ImmutableArtifactDefinitionBase
public boolean isRequired()
isRequired
in interface ImmutableArtifactDefinitionBase
public boolean isHttpCompressionOn()
isHttpCompressionOn
in interface ImmutableArtifactDefinitionBase
@NotNull public @NotNull ImmutableJob getProducerJob()
ImmutableArtifactDefinition
getProducerJob
in interface ImmutableArtifactDefinition
Job
object@NotNull public @NotNull com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> getSubscriptions()
ImmutableArtifactDefinition
getSubscriptions
in interface ImmutableArtifactDefinition
ArtifactSubscription
objectspublic boolean hasSubscriptions()
hasSubscriptions
in interface ImmutableArtifactDefinition
public static ImmutableArtifactDefinitionImpl.Builder builder()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.