public abstract class DeployTarget<T extends DeployTarget<T>> extends AbstractDescribableImpl<T> implements ExtensionPoint, Serializable
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier | Constructor and Description |
---|---|
protected |
DeployTarget(DeploySource artifact) |
Modifier and Type | Method and Description |
---|---|
static String |
expandAllMacros(AbstractBuild<?,?> context,
TaskListener listener,
String stringPerhapsWithMacro) |
DeploySource |
getArtifact() |
abstract String |
getDisplayName() |
protected abstract boolean |
isArtifactFileValid(File file) |
protected abstract boolean |
isComplete() |
boolean |
isValid(Run<?,?> run) |
String |
toString() |
getDescriptor
protected DeployTarget(@CheckForNull DeploySource artifact)
@CheckForNull public DeploySource getArtifact()
public abstract String getDisplayName()
public boolean isValid(Run<?,?> run)
protected abstract boolean isArtifactFileValid(File file)
protected abstract boolean isComplete()
public static String expandAllMacros(AbstractBuild<?,?> context, TaskListener listener, String stringPerhapsWithMacro) throws org.jenkinsci.plugins.tokenmacro.MacroEvaluationException, IOException, InterruptedException
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException
IOException
InterruptedException
Copyright © 2016–2022. All rights reserved.