|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.artifact.ArtifactDefinitionContextImpl
public class ArtifactDefinitionContextImpl
Constructor Summary | |
---|---|
ArtifactDefinitionContextImpl()
|
|
ArtifactDefinitionContextImpl(ArtifactDefinition definition)
|
|
ArtifactDefinitionContextImpl(java.lang.String name,
boolean sharedArtifact)
|
|
ArtifactDefinitionContextImpl(java.lang.String name,
boolean sharedArtifact,
java.lang.String linkType)
|
Method Summary | |
---|---|
java.lang.String |
getCopyPattern()
Get artifact copy pattern |
long |
getId()
Exposes the id of the ArtifactDefinition |
java.lang.String |
getLinkType()
The ArtifactLink.getLinkType() |
java.lang.String |
getLocation()
Get artifact location |
java.lang.String |
getName()
Get artifact name |
PlanKey |
getProducerJobKey()
PlanKey for producer job of the artifact |
java.io.File |
getSourceDirectoryFile(java.io.File sourceCodeDirectory)
|
boolean |
hasSubscribers()
Marks if there are subscriptions for for this artifact. |
boolean |
isSharedArtifact()
Get value of "SharedArtifact" flag. |
void |
setCopyPattern(java.lang.String copyPattern)
Set copy pattern |
void |
setId(long id)
|
void |
setLinkType(java.lang.String linkType)
|
void |
setLocation(java.lang.String location)
Set artifact location |
void |
setName(java.lang.String name)
Set label |
void |
setProducerJobKey(PlanKey producerJobKey)
|
void |
setSharedArtifact(boolean sharedArtifact)
Set "SharedArtifact" flag |
void |
substituteVariables(CustomVariableContext customVariableContext)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArtifactDefinitionContextImpl()
public ArtifactDefinitionContextImpl(java.lang.String name, boolean sharedArtifact, java.lang.String linkType)
public ArtifactDefinitionContextImpl(java.lang.String name, boolean sharedArtifact)
public ArtifactDefinitionContextImpl(@NotNull ArtifactDefinition definition)
Method Detail |
---|
public void substituteVariables(CustomVariableContext customVariableContext)
substituteVariables
in interface ArtifactDefinitionContext
@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 location@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 patternpublic boolean isSharedArtifact()
ArtifactDefinitionBase
isSharedArtifact
in interface ArtifactDefinitionBase
public PlanKey getProducerJobKey()
ArtifactDefinitionContext
PlanKey
for producer job of the artifact
getProducerJobKey
in interface ArtifactDefinitionContext
public void setProducerJobKey(PlanKey producerJobKey)
public void setSharedArtifact(boolean sharedArtifact)
ArtifactDefinitionBase
setSharedArtifact
in interface ArtifactDefinitionBase
sharedArtifact
- new value of "SharedArtifact" flagpublic boolean hasSubscribers()
ArtifactDefinitionContext
hasSubscribers
in interface ArtifactDefinitionContext
@NotNull public java.lang.String getLinkType()
ArtifactDefinitionContext
ArtifactLink.getLinkType()
getLinkType
in interface ArtifactDefinitionContext
public void setLinkType(@NotNull java.lang.String linkType)
public long getId()
ArtifactDefinitionBase
ArtifactDefinition
getId
in interface ArtifactDefinitionBase
public void setId(long id)
public java.io.File getSourceDirectoryFile(java.io.File sourceCodeDirectory)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |