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 BitbucketDeploymentEnvironment
getEnvironment(Run<?,?> run, TaskListener listener)
Generates aBitbucketDeploymentEnvironment
from the various components.String
getEnvironmentKey()
Used to populate theenvironmentKey
field in the UI.String
getEnvironmentName()
Used to populate theenvironmentName
field in the UI.String
getEnvironmentType()
Used to populate theenvironmentType
field in the UI.String
getEnvironmentUrl()
Used to populate theenvironmentUrl
field in the UI.
-
-
-
Method Detail
-
getEnvironment
BitbucketDeploymentEnvironment getEnvironment(Run<?,?> run, TaskListener listener)
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
@CheckForNull String getEnvironmentName()
Used to populate theenvironmentName
field in the UI.- Returns:
- the configured environment name or
null
if not configured
-
getEnvironmentType
@CheckForNull String getEnvironmentType()
Used to populate theenvironmentType
field in the UI.- Returns:
- the configured
Enum.name()
ornull
if not configured
-
getEnvironmentUrl
@CheckForNull String getEnvironmentUrl()
Used to populate theenvironmentUrl
field in the UI.- Returns:
- the configured environment url or
null
if not configured
-
-