|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.core.bean.EntityObject com.atlassian.bamboo.core.BambooEntityObject com.atlassian.bamboo.plan.artifact.ArtifactDefinitionImpl
public class ArtifactDefinitionImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
ArtifactDefinitionImpl()
|
|
ArtifactDefinitionImpl(ArtifactDefinition sourceArtifact,
Job newProducerJob,
boolean sharedArtifact)
Constructor used for cloning artifact definitions while a job is being cloned. |
|
ArtifactDefinitionImpl(java.lang.String name,
java.lang.String location,
java.lang.String copyPattern)
Create a build artifact identified in the UI by the label. |
Method Summary | |
---|---|
java.lang.String |
getCopyPattern()
Get artifact copy pattern |
java.lang.String |
getLocation()
Get artifact location |
java.lang.String |
getName()
Get artifact name |
Job |
getProducerJob()
Get Buildable that is a producer of artifact |
java.util.List<ArtifactSubscription> |
getSubscriptions()
Get List of ArtifactSubscriptions on this ArtifactDefinition. |
boolean |
isSharedArtifact()
Get value of "SharedArtifact" flag. |
void |
setCopyPattern(java.lang.String copyPattern)
Set copy pattern |
void |
setLocation(java.lang.String location)
Set artifact location |
void |
setName(java.lang.String name)
Set label |
void |
setProducerJob(Job producerJob)
Set Buildable that is a producer of artifact |
void |
setSharedArtifact(boolean sharedArtifact)
Set "SharedArtifact" flag |
void |
setSubscriptions(java.util.List<ArtifactSubscription> subscriptions)
Set subscriptions on this artifact definition. |
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
getId, setId |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.plan.artifact.ArtifactDefinitionBase |
---|
getId |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
setId |
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider |
---|
getId |
Constructor Detail |
---|
public ArtifactDefinitionImpl()
public ArtifactDefinitionImpl(java.lang.String name, java.lang.String location, java.lang.String copyPattern)
name
- The UI text labellocation
- Directory to which copy pattern appliescopyPattern
- The ANT style copy pattern, relative to the source code directorypublic ArtifactDefinitionImpl(ArtifactDefinition sourceArtifact, Job newProducerJob, boolean sharedArtifact)
sourceArtifact
- artifact definition to be copiednewProducerJob
- job that will produce artifacts according to the cloned definitionMethod Detail |
---|
@NotNull public java.lang.String getCopyPattern()
ArtifactDefinitionBase
getCopyPattern
in interface ArtifactDefinitionBase
public void setCopyPattern(@NotNull java.lang.String copyPattern)
ArtifactDefinitionBase
setCopyPattern
in interface ArtifactDefinitionBase
copyPattern
- new value of copy pattern@NotNull public java.lang.String getName()
ArtifactDefinitionBase
getName
in interface ArtifactDefinitionBase
getName
in interface NameProvider
public void setName(@NotNull java.lang.String name)
ArtifactDefinitionBase
setName
in interface ArtifactDefinitionBase
name
- new value of labelpublic java.lang.String getLocation()
ArtifactDefinitionBase
getLocation
in interface ArtifactDefinitionBase
public void setLocation(@Nullable java.lang.String location)
ArtifactDefinitionBase
setLocation
in interface ArtifactDefinitionBase
location
- new artifact locationpublic boolean isSharedArtifact()
ArtifactDefinitionBase
isSharedArtifact
in interface ArtifactDefinitionBase
public void setSharedArtifact(boolean sharedArtifact)
ArtifactDefinitionBase
setSharedArtifact
in interface ArtifactDefinitionBase
sharedArtifact
- new value of "SharedArtifact" flag@NotNull public Job getProducerJob()
ArtifactDefinition
getProducerJob
in interface ArtifactDefinition
Job
objectpublic void setProducerJob(@NotNull Job producerJob)
ArtifactDefinition
setProducerJob
in interface ArtifactDefinition
producerJob
- new value of producer job@NotNull public java.util.List<ArtifactSubscription> getSubscriptions()
ArtifactDefinition
getSubscriptions
in interface ArtifactDefinition
ArtifactSubscription
objectspublic void setSubscriptions(@NotNull java.util.List<ArtifactSubscription> subscriptions)
ArtifactDefinition
setSubscriptions
in interface ArtifactDefinition
subscriptions
- non null list of ArtifactSubscription
objects
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |