public class WildcardPathDeploySource extends DeploySource
| Modifier and Type | Class and Description |
|---|---|
static class |
WildcardPathDeploySource.DescriptorImpl
Descriptor for
WildcardPathDeploySource |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
WildcardPathDeploySource(String filePattern)
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 |
getFilePattern()
Returns the file pattern.
|
int |
hashCode() |
String |
toString() |
getDescriptor@DataBoundConstructor
public WildcardPathDeploySource(@CheckForNull
String filePattern)
filePattern - the file pattern.@NonNull public String getFilePattern()
@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.@CheckForNull 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.