com.atlassian.bamboo.deployments.environments.index
Interface IndexedEnvironment

All Known Implementing Classes:
IndexedEnvironmentImpl

public interface IndexedEnvironment

Represents the environment document stored in lucene


Method Summary
 BuildState getCurrentState()
           
 long getCurrentVersionId()
           
 java.lang.String getCurrentVersionName()
           
 PlanResultKey getCurrentVersionPlanResultKey()
           
 java.lang.String getEnvironmentDescription()
           
 long getEnvironmentId()
           
 java.lang.String getEnvironmentName()
           
 int getEnvironmentPosition()
           
 java.util.Date getLastDeployedDate()
           
 long getProjectId()
           
 java.lang.String getProjectName()
           
 

Method Detail

getEnvironmentName

java.lang.String getEnvironmentName()
Returns:
name of the environment

getEnvironmentDescription

java.lang.String getEnvironmentDescription()
Returns:
description of the environment

getEnvironmentId

long getEnvironmentId()
Returns:
if of the environment

getEnvironmentPosition

int getEnvironmentPosition()
Returns:
visual position of the environment relative to other environments in the project

getProjectName

java.lang.String getProjectName()
Returns:
name of the project the environment belongs to

getProjectId

long getProjectId()
Returns:
id of the project the environment belongs to

getCurrentVersionName

@Nullable
java.lang.String getCurrentVersionName()
Returns:
the name of the current version on this environments

getCurrentVersionId

long getCurrentVersionId()
Returns:
the id of the current version on this environments, may be -1 if never deployed to OR if versino was deleted

getCurrentVersionPlanResultKey

@Nullable
PlanResultKey getCurrentVersionPlanResultKey()
Returns:
the plan result key of the result that the version, currently on this environment, was created from.

getCurrentState

BuildState getCurrentState()

getLastDeployedDate

@Nullable
java.util.Date getLastDeployedDate()
Returns:
the date at which environment was last deployed to


Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.