public abstract class DeploySource extends AbstractDescribableImpl<DeploySource> implements ExtensionPoint, Serializable
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
DeploySource() |
| Modifier and Type | Method and Description |
|---|---|
abstract FilePath |
getApplicationFile(FilePath workspace)
Gets the application file to deploy from the specified workspace or
null if the workspace does
not have the deployable. |
abstract File |
getApplicationFile(Run run)
Gets the application file to deploy from the specified
Run or null if the run
does not have the
deployable. |
DeploySourceDescriptor |
getDescriptor() |
@CheckForNull public abstract File getApplicationFile(@NonNull Run run)
Run or null if the run
does not have the
deployable.run - the run.Run or null if the run
does not have
the deployable.@CheckForNull public abstract FilePath getApplicationFile(@NonNull FilePath workspace)
null if the workspace does
not have the deployable.workspace - the workspace.null if the run does not have
the deployable.public DeploySourceDescriptor getDescriptor()
getDescriptor in interface Describable<DeploySource>getDescriptor in class AbstractDescribableImpl<DeploySource>Copyright © 2016–2022. All rights reserved.