Package com.atlassian.bamboo.plan
Class VcsLocationBambooSpecsStateImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.VcsLocationBambooSpecsStateImpl
-
- All Implemented Interfaces:
ImmutableVcsLocationBambooSpecsState
,VcsLocationBambooSpecsState
@Entity public class VcsLocationBambooSpecsStateImpl extends Object implements VcsLocationBambooSpecsState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.plan.VcsLocationBambooSpecsState
VcsLocationBambooSpecsState.SpecsImportState
-
-
Constructor Summary
Constructors Constructor Description VcsLocationBambooSpecsStateImpl()
VcsLocationBambooSpecsStateImpl(long vcsLocationId, String branch, String revision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull String
getBranch()
Long
getId()
String
getLogFilename()
@NotNull String
getRevision()
VcsLocationBambooSpecsState.SpecsImportState
getSpecImportState()
Date
getSpecsExecutionDate()
long
getVcsLocationId()
int
hashCode()
boolean
isSpecsNotFound()
void
setBranch(String branch)
void
setId(Long id)
void
setLogFilename(String logFilename)
void
setRevision(String specsRevInRepo)
void
setSpecsExecutionDate(Date specsExecutionDate)
void
setSpecsImportState(VcsLocationBambooSpecsState.SpecsImportState specsImportState)
void
setSpecsNotFound(boolean specsNotFound)
void
setVcsLocationId(long vcsLocationId)
String
toString()
void
updateDataAfterSpecImport(String logFilename, VcsLocationBambooSpecsState.SpecsImportState specsImportState)
-
-
-
Method Detail
-
setId
public void setId(Long id)
-
getId
public Long getId()
- Specified by:
getId
in interfaceImmutableVcsLocationBambooSpecsState
-
getRevision
@NotNull public @NotNull String getRevision()
- Specified by:
getRevision
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- revision used to execute RSS
-
setRevision
public void setRevision(String specsRevInRepo)
- Specified by:
setRevision
in interfaceVcsLocationBambooSpecsState
-
getVcsLocationId
public long getVcsLocationId()
- Specified by:
getVcsLocationId
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- id of the RSS repository
-
setVcsLocationId
public void setVcsLocationId(long vcsLocationId)
-
getBranch
@NotNull public @NotNull String getBranch()
- Specified by:
getBranch
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- branch of the RSS repository used to execute Specs
-
setBranch
public void setBranch(String branch)
-
getSpecsExecutionDate
public Date getSpecsExecutionDate()
- Specified by:
getSpecsExecutionDate
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- date of specs execution
-
getLogFilename
public String getLogFilename()
- Specified by:
getLogFilename
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- RSS execution log filename
-
getSpecImportState
public VcsLocationBambooSpecsState.SpecsImportState getSpecImportState()
- Specified by:
getSpecImportState
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- Status of the RSS execution
-
setSpecsExecutionDate
public void setSpecsExecutionDate(Date specsExecutionDate)
-
setLogFilename
public void setLogFilename(String logFilename)
-
setSpecsImportState
public void setSpecsImportState(VcsLocationBambooSpecsState.SpecsImportState specsImportState)
-
isSpecsNotFound
public boolean isSpecsNotFound()
- Specified by:
isSpecsNotFound
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- true if Specs were not found during the RSS execution, false otherwise
-
setSpecsNotFound
public void setSpecsNotFound(boolean specsNotFound)
- Specified by:
setSpecsNotFound
in interfaceVcsLocationBambooSpecsState
-
updateDataAfterSpecImport
public void updateDataAfterSpecImport(String logFilename, VcsLocationBambooSpecsState.SpecsImportState specsImportState)
- Specified by:
updateDataAfterSpecImport
in interfaceVcsLocationBambooSpecsState
-
-