Interface ArtifactDefinitionContext
- All Superinterfaces:
ArtifactDefinitionBase,BambooIdProvider,ImmutableArtifactDefinitionBase,NameProvider,Serializable
- All Known Implementing Classes:
ArtifactDefinitionContextImpl
This class contains additional artifact information. It's used from BuildContext, transferred to the agent and should not
contain any lazily references unresolvable on the agent side.
-
Method Summary
Modifier and TypeMethodDescription@Nullable SecureTokenThe secure token to use for authentication if neededbooleanMarks if there are subscriptions for for this artifact.booleanisHidden()Hidden artifacts are items that are transferred as artifacts but are not listed on the result pages.voidsubstituteVariables(CustomVariableContext customVariableContext) Methods inherited from interface com.atlassian.bamboo.plan.artifact.ArtifactDefinitionBase
setCopyPattern, setCopyPatterns, setExclusionPatterns, setHttpCompressionOn, setLocation, setName, setRequired, setSharedArtifactMethods inherited from interface com.atlassian.bamboo.plan.artifact.ImmutableArtifactDefinitionBase
getCopyPattern, getCopyPatterns, getExclusionPatterns, getId, getLocation, getName, isHttpCompressionOn, isRequired, isSharedArtifact
-
Method Details
-
hasSubscribers
boolean hasSubscribers()Marks if there are subscriptions for for this artifact. If there are subscriptions and artifact is not created/uploaded properly, producer job will fail. Otherwise, plan job will continue- Returns:
- true if artifact has subscriptions
-
substituteVariables
-
getSecureToken
The secure token to use for authentication if needed -
isHidden
boolean isHidden()Hidden artifacts are items that are transferred as artifacts but are not listed on the result pages. Example of hidden artifacts are build logs.
-