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 boolean
equals(Object o)
String
getKey()
String
getName()
BitbucketDeploymentEnvironmentType
getType()
URI
getUrl()
int
hashCode()
String
toString()
-
-
-
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
BitbucketDeploymentEnvironmentType
of environment, ornull
to indicate no type
-
getUrl
@CheckForNull public URI getUrl()
- Returns:
- the URL of the environment, or
null
to indicate no URL
-
-