Class BitbucketDeploymentEnvironment
- java.lang.Object
 - 
- com.atlassian.bitbucket.jenkins.internal.model.deployment.BitbucketDeploymentEnvironment
 
 
- 
- All Implemented Interfaces:
 Serializable
public class BitbucketDeploymentEnvironment extends Object implements Serializable
The details of an environment that was deployed to.- Since:
 - 3.1.0
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BitbucketDeploymentEnvironment(String key, String name)BitbucketDeploymentEnvironment(String key, String name, BitbucketDeploymentEnvironmentType type, URI url) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetKey()StringgetName()BitbucketDeploymentEnvironmentTypegetType()URIgetUrl()inthashCode()StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getKey
public String getKey()
- Returns:
 - a unique identifier for this environment
 
 
- 
getName
public String getName()
- Returns:
 - a human-readable name for this environment
 
 
- 
getType
@CheckForNull public BitbucketDeploymentEnvironmentType getType()
- Returns:
 - the 
BitbucketDeploymentEnvironmentTypeof environment, ornullto indicate no type 
 
- 
getUrl
@CheckForNull public URI getUrl()
- Returns:
 - the URL of the environment, or 
nullto indicate no URL 
 
 - 
 
 -