public class IndexedEnvironmentImpl extends Object implements IndexedEnvironment
Modifier and Type | Field and Description |
---|---|
static IndexedEntityEnumField<BuildState> |
FIELD_CURRENT_STATE |
static IndexedEntityPlanResultKeyField |
FIELD_CURRENT_VERSION_BUILD_RESULT |
static IndexedEntityIdField |
FIELD_CURRENT_VERSION_ID |
static IndexedEntityTextField |
FIELD_CURRENT_VERSION_NAME |
static IndexedEntityTextField |
FIELD_DESCRIPTION |
static IndexedEntityIdField |
FIELD_ID |
static IndexedEntityDateField |
FIELD_LAST_DEPLOYED_DATE |
static IndexedEntityTextField |
FIELD_NAME |
static IndexedEntityIntegerField |
FIELD_POSITION |
static IndexedEntityIdField |
FIELD_PROJECT_ID |
static IndexedEntityTextField |
FIELD_PROJECT_NAME |
Constructor and Description |
---|
IndexedEnvironmentImpl(org.apache.lucene.document.Document document) |
IndexedEnvironmentImpl(InternalDeploymentProject project,
InternalEnvironment environment,
DeploymentResult latestResult,
PlanResultKey latestVersionPlanResultKey) |
Modifier and Type | Method and Description |
---|---|
BuildState |
getCurrentState() |
long |
getCurrentVersionId() |
String |
getCurrentVersionName() |
PlanResultKey |
getCurrentVersionPlanResultKey() |
org.apache.lucene.document.Document |
getDocument() |
String |
getEnvironmentDescription() |
long |
getEnvironmentId() |
String |
getEnvironmentName() |
int |
getEnvironmentPosition() |
Date |
getLastDeployedDate() |
long |
getProjectId() |
String |
getProjectName() |
public static final IndexedEntityIdField FIELD_ID
public static final IndexedEntityTextField FIELD_NAME
public static final IndexedEntityTextField FIELD_DESCRIPTION
public static final IndexedEntityIntegerField FIELD_POSITION
public static final IndexedEntityIdField FIELD_PROJECT_ID
public static final IndexedEntityTextField FIELD_PROJECT_NAME
public static final IndexedEntityIdField FIELD_CURRENT_VERSION_ID
public static final IndexedEntityTextField FIELD_CURRENT_VERSION_NAME
public static final IndexedEntityPlanResultKeyField FIELD_CURRENT_VERSION_BUILD_RESULT
public static final IndexedEntityEnumField<BuildState> FIELD_CURRENT_STATE
public static final IndexedEntityDateField FIELD_LAST_DEPLOYED_DATE
public IndexedEnvironmentImpl(@NotNull InternalDeploymentProject project, @NotNull InternalEnvironment environment, @Nullable DeploymentResult latestResult, @Nullable PlanResultKey latestVersionPlanResultKey)
public IndexedEnvironmentImpl(org.apache.lucene.document.Document document)
public org.apache.lucene.document.Document getDocument()
public String getEnvironmentName()
getEnvironmentName
in interface IndexedEnvironment
public String getEnvironmentDescription()
getEnvironmentDescription
in interface IndexedEnvironment
public long getEnvironmentId()
getEnvironmentId
in interface IndexedEnvironment
public int getEnvironmentPosition()
getEnvironmentPosition
in interface IndexedEnvironment
public String getProjectName()
getProjectName
in interface IndexedEnvironment
public long getProjectId()
getProjectId
in interface IndexedEnvironment
public String getCurrentVersionName()
getCurrentVersionName
in interface IndexedEnvironment
public long getCurrentVersionId()
getCurrentVersionId
in interface IndexedEnvironment
public PlanResultKey getCurrentVersionPlanResultKey()
getCurrentVersionPlanResultKey
in interface IndexedEnvironment
public BuildState getCurrentState()
getCurrentState
in interface IndexedEnvironment
@Nullable public Date getLastDeployedDate()
getLastDeployedDate
in interface IndexedEnvironment
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.