Interface DeploymentStep
-
- All Known Implementing Classes:
DeploymentNotifier,DeploymentStepImpl
public interface DeploymentStep- Since:
- 3.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketDeploymentEnvironmentgetEnvironment(Run<?,?> run, TaskListener listener)Generates aBitbucketDeploymentEnvironmentfrom the various components.StringgetEnvironmentKey()Used to populate theenvironmentKeyfield in the UI.StringgetEnvironmentName()Used to populate theenvironmentNamefield in the UI.StringgetEnvironmentType()Used to populate theenvironmentTypefield in the UI.StringgetEnvironmentUrl()Used to populate theenvironmentUrlfield in the UI.
-
-
-
Method Detail
-
getEnvironment
BitbucketDeploymentEnvironment getEnvironment(Run<?,?> run, TaskListener listener)
Generates aBitbucketDeploymentEnvironmentfrom the various components.- Parameters:
run- the run that is performing the deploymentslistener- theTaskListener- Returns:
- the configured
BitbucketDeploymentEnvironment
-
getEnvironmentKey
String getEnvironmentKey()
Used to populate theenvironmentKeyfield in the UI.- Returns:
- the configured or generated environment key
-
getEnvironmentName
@CheckForNull String getEnvironmentName()
Used to populate theenvironmentNamefield in the UI.- Returns:
- the configured environment name or
nullif not configured
-
getEnvironmentType
@CheckForNull String getEnvironmentType()
Used to populate theenvironmentTypefield in the UI.- Returns:
- the configured
Enum.name()ornullif not configured
-
getEnvironmentUrl
@CheckForNull String getEnvironmentUrl()
Used to populate theenvironmentUrlfield in the UI.- Returns:
- the configured environment url or
nullif not configured
-
-