Interface DeploymentStep
- All Known Implementing Classes:
DeploymentNotifier,DeploymentStepImpl
public interface DeploymentStep
- Since:
- 3.1.0
-
Method Summary
Modifier and TypeMethodDescriptiongetEnvironment(Run<?, ?> run, TaskListener listener) Generates aBitbucketDeploymentEnvironmentfrom the various components.Used to populate theenvironmentKeyfield in the UI.Used to populate theenvironmentNamefield in the UI.Used to populate theenvironmentTypefield in the UI.Used to populate theenvironmentUrlfield in the UI.
-
Method Details
-
getEnvironment
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
Used to populate theenvironmentNamefield in the UI.- Returns:
- the configured environment name or
nullif not configured
-
getEnvironmentType
Used to populate theenvironmentTypefield in the UI.- Returns:
- the configured
Enum.name()ornullif not configured
-
getEnvironmentUrl
Used to populate theenvironmentUrlfield in the UI.- Returns:
- the configured environment url or
nullif not configured
-