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 aBitbucketDeploymentEnvironment
from the various components.Used to populate theenvironmentKey
field in the UI.Used to populate theenvironmentName
field in the UI.Used to populate theenvironmentType
field in the UI.Used to populate theenvironmentUrl
field in the UI.
-
Method Details
-
getEnvironment
Generates aBitbucketDeploymentEnvironment
from the various components.- Parameters:
run
- the run that is performing the deploymentslistener
- theTaskListener
- Returns:
- the configured
BitbucketDeploymentEnvironment
-
getEnvironmentKey
String getEnvironmentKey()Used to populate theenvironmentKey
field in the UI.- Returns:
- the configured or generated environment key
-
getEnvironmentName
Used to populate theenvironmentName
field in the UI.- Returns:
- the configured environment name or
null
if not configured
-
getEnvironmentType
Used to populate theenvironmentType
field in the UI.- Returns:
- the configured
Enum.name()
ornull
if not configured
-
getEnvironmentUrl
Used to populate theenvironmentUrl
field in the UI.- Returns:
- the configured environment url or
null
if not configured
-