public class StaticSelectionDeploySource extends DeploySource
| Modifier and Type | Class and Description |
|---|---|
static class |
StaticSelectionDeploySource.DescriptorImpl
Descriptor for
StaticSelectionDeploySource. |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
StaticSelectionDeploySource(String filePath)
Constructor used by stapler.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
FilePath |
getApplicationFile(FilePath workspace)
Gets the application file to deploy from the specified workspace or
null if the workspace does
not have the deployable. |
File |
getApplicationFile(Run run)
Gets the application file to deploy from the specified
Run or null if the run
does not have the
deployable. |
String |
getFilePath()
Returns the file path.
|
int |
hashCode() |
String |
toString() |
getDescriptor@DataBoundConstructor
public StaticSelectionDeploySource(@CheckForNull
String filePath)
filePath - the file path.@NonNull public String getFilePath()
@CheckForNull public File getApplicationFile(@NonNull Run run)
Run or null if the run
does not have the
deployable.getApplicationFile in class DeploySourcerun - the run.Run or null if the run
does not have
the deployable.@NonNull public FilePath getApplicationFile(@NonNull FilePath workspace)
null if the workspace does
not have the deployable.getApplicationFile in class DeploySourceworkspace - the workspace.null if the run does not have
the deployable.Copyright © 2016–2022. All rights reserved.