Class BitbucketDeploymentEnvironment
java.lang.Object
com.atlassian.bitbucket.jenkins.internal.model.deployment.BitbucketDeploymentEnvironment
- All Implemented Interfaces:
Serializable
The details of an environment that was deployed to.
- Since:
- 3.1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketDeploymentEnvironment(String key, String name) BitbucketDeploymentEnvironment(String key, String name, BitbucketDeploymentEnvironmentType type, URI url) -
Method Summary
-
Constructor Details
-
BitbucketDeploymentEnvironment
public BitbucketDeploymentEnvironment(String key, String name, @CheckForNull BitbucketDeploymentEnvironmentType type, @CheckForNull URI url) -
BitbucketDeploymentEnvironment
-
-
Method Details
-
equals
-
getKey
- Returns:
- a unique identifier for this environment
-
getName
- Returns:
- a human-readable name for this environment
-
getType
- Returns:
- the
BitbucketDeploymentEnvironmentTypeof environment, ornullto indicate no type
-
getUrl
- Returns:
- the URL of the environment, or
nullto indicate no URL
-
hashCode
public int hashCode() -
toString
-