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
ConstructorDescriptionVcsLocationBambooSpecsStateImpl
(long vcsLocationId, String branch, String revision) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull String
getId()
@NotNull String
long
int
hashCode()
boolean
void
void
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) toString()
void
updateDataAfterSpecImport
(String logFilename, VcsLocationBambooSpecsState.SpecsImportState specsImportState)
-
Constructor Details
-
VcsLocationBambooSpecsStateImpl
public VcsLocationBambooSpecsStateImpl() -
VcsLocationBambooSpecsStateImpl
-
-
Method Details
-
setId
-
getId
- Specified by:
getId
in interfaceImmutableVcsLocationBambooSpecsState
-
getRevision
- Specified by:
getRevision
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- revision used to execute RSS
-
setRevision
- 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
- Specified by:
getBranch
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- branch of the RSS repository used to execute Specs
-
setBranch
-
getSpecsExecutionDate
- Specified by:
getSpecsExecutionDate
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- date of specs execution
-
getLogFilename
- Specified by:
getLogFilename
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- RSS execution log filename
-
getSpecImportState
- Specified by:
getSpecImportState
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- Status of the RSS execution
-
setSpecsExecutionDate
-
setLogFilename
-
setSpecsImportState
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-