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() |
String |
getCopyPattern()
Get artifact copy pattern
|
long |
getId()
Exposes the id of the
ArtifactDefinition |
String |
getLocation()
Get artifact location
|
String |
getName()
Get artifact name
|
BambooEntityOid |
getOid()
OID assigned to this object.
|
ImmutableJob |
getProducerJob()
Get Buildable that is a producer of artifact
|
com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> |
getSubscriptions()
Get List of ArtifactSubscriptions on this ArtifactDefinition.
|
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 String getName()
ImmutableArtifactDefinitionBase
getName
in interface ImmutableArtifactDefinitionBase
getName
in interface NameProvider
public String getLocation()
ImmutableArtifactDefinitionBase
getLocation
in interface ImmutableArtifactDefinitionBase
@NotNull public String getCopyPattern()
ImmutableArtifactDefinitionBase
getCopyPattern
in interface ImmutableArtifactDefinitionBase
public boolean isSharedArtifact()
ImmutableArtifactDefinitionBase
isSharedArtifact
in interface ImmutableArtifactDefinitionBase
public boolean isRequired()
isRequired
in interface ImmutableArtifactDefinitionBase
@NotNull public ImmutableJob getProducerJob()
ImmutableArtifactDefinition
getProducerJob
in interface ImmutableArtifactDefinition
Job
object@NotNull public com.google.common.collect.ImmutableList<ImmutableArtifactSubscription> getSubscriptions()
ImmutableArtifactDefinition
getSubscriptions
in interface ImmutableArtifactDefinition
ArtifactSubscription
objectspublic static ImmutableArtifactDefinitionImpl.Builder builder()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.