Class QuickSearchItemImpl
java.lang.Object
com.atlassian.bamboo.index.quicksearch.QuickSearchItemImpl
- All Implemented Interfaces:
BambooIdProvider,BambooObject,QuickSearchItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.index.quicksearch.QuickSearchItem
QuickSearchItem.Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQuickSearchItemImpl(@NotNull QuickSearchItem.Type type, long entityId, long aclEntityId, @NotNull String searchTerm) QuickSearchItemImpl(@NotNull QuickSearchItem.Type type, long entityId, @NotNull String searchTerm) -
Method Summary
Modifier and TypeMethodDescriptionstatic QuickSearchItemImplforBranch(long masterId, @NotNull PlanBranchGist branch) static QuickSearchItemImplforBranch(@NotNull ImmutableChainBranch branch) static Stream<QuickSearchItemImpl> forChain(@NotNull ImmutableTopLevelPlan chain) static QuickSearchItemImplforDeploymentProject(@NotNull InternalDeploymentProject deploymentProject) static QuickSearchItemImplforProject(@NotNull Project project) longlonglonggetId()@NotNull QuickSearchItem.TypegetType()voidsetAclEntityId(long aclEntityId) voidsetEntityId(long entityId) voidsetId(long id) voidsetSearchTerm(String searchTerm) voidsetType(QuickSearchItem.Type type)
-
Constructor Details
-
QuickSearchItemImpl
protected QuickSearchItemImpl() -
QuickSearchItemImpl
public QuickSearchItemImpl(@NotNull @NotNull QuickSearchItem.Type type, long entityId, @NotNull @NotNull String searchTerm) -
QuickSearchItemImpl
public QuickSearchItemImpl(@NotNull @NotNull QuickSearchItem.Type type, long entityId, long aclEntityId, @NotNull @NotNull String searchTerm)
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceBambooIdProvider
-
setId
public void setId(long id) - Specified by:
setIdin interfaceBambooObject
-
getType
- Specified by:
getTypein interfaceQuickSearchItem
-
setType
-
getEntityId
public long getEntityId()- Specified by:
getEntityIdin interfaceQuickSearchItem
-
setEntityId
public void setEntityId(long entityId) -
getSearchTerm
- Specified by:
getSearchTermin interfaceQuickSearchItem
-
setSearchTerm
-
getAclEntityId
public long getAclEntityId()- Specified by:
getAclEntityIdin interfaceQuickSearchItem
-
setAclEntityId
public void setAclEntityId(long aclEntityId) -
forProject
-
forChain
-
forBranch
-
forBranch
-
forDeploymentProject
public static QuickSearchItemImpl forDeploymentProject(@NotNull @NotNull InternalDeploymentProject deploymentProject)
-