Package com.atlassian.bamboo.plan
Class ImmutableVcsLocationBambooSpecsStateImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.ImmutableVcsLocationBambooSpecsStateImpl
-
- All Implemented Interfaces:
ImmutableVcsLocationBambooSpecsState
public class ImmutableVcsLocationBambooSpecsStateImpl extends Object implements ImmutableVcsLocationBambooSpecsState
-
-
Constructor Summary
Constructors Constructor Description ImmutableVcsLocationBambooSpecsStateImpl​(ImmutableVcsLocationBambooSpecsState other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getBranch()
Long
getId()
@Nullable String
getLogFilename()
@NotNull String
getRevision()
VcsLocationBambooSpecsState.SpecsImportState
getSpecImportState()
@Nullable Date
getSpecsExecutionDate()
long
getVcsLocationId()
boolean
isSpecsNotFound()
-
-
-
Constructor Detail
-
ImmutableVcsLocationBambooSpecsStateImpl
public ImmutableVcsLocationBambooSpecsStateImpl​(ImmutableVcsLocationBambooSpecsState other)
-
-
Method Detail
-
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
-
getVcsLocationId
public long getVcsLocationId()
- Specified by:
getVcsLocationId
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- id of the RSS repository
-
getBranch
@NotNull public @NotNull String getBranch()
- Specified by:
getBranch
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- branch of the RSS repository used to execute Specs
-
getSpecsExecutionDate
@Nullable public @Nullable Date getSpecsExecutionDate()
- Specified by:
getSpecsExecutionDate
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- date of specs execution
-
getLogFilename
@Nullable public @Nullable String getLogFilename()
- Specified by:
getLogFilename
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- RSS execution log filename
-
getSpecImportState
@Nullable public VcsLocationBambooSpecsState.SpecsImportState getSpecImportState()
- Specified by:
getSpecImportState
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- Status of the RSS execution
-
isSpecsNotFound
public boolean isSpecsNotFound()
- Specified by:
isSpecsNotFound
in interfaceImmutableVcsLocationBambooSpecsState
- Returns:
- true if Specs were not found during the RSS execution, false otherwise
-
-