com.atlassian.bamboo.resultsummary
Class ResultWithPlanInfo<T extends ResultsSummary>
java.lang.Object
com.atlassian.bamboo.resultsummary.ResultWithPlanInfo<T>
public class ResultWithPlanInfo<T extends ResultsSummary>
- extends java.lang.Object
Allows you to retrieve results summary with the plan name and project name from the database in one go.
If filled in correctly, can also be used for permission checking without another call.
- Since:
- v3.4
Constructor Summary |
ResultWithPlanInfo(T resultSummary,
java.lang.String buildKey,
java.lang.String buildName,
java.lang.String projectKey,
java.lang.String projectName,
long id,
java.lang.String discriminator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultWithPlanInfo
public ResultWithPlanInfo(T resultSummary,
java.lang.String buildKey,
java.lang.String buildName,
java.lang.String projectKey,
java.lang.String projectName,
long id,
java.lang.String discriminator)
getBuildResultKey
public java.lang.String getBuildResultKey()
getResultSummary
public T getResultSummary()
getBuildKey
public java.lang.String getBuildKey()
getBuildName
public java.lang.String getBuildName()
getProjectKey
public java.lang.String getProjectKey()
getProjectName
public java.lang.String getProjectName()
getBuildNumber
public int getBuildNumber()
getId
public long getId()
getDiscriminator
public java.lang.String getDiscriminator()
getPlanClass
@Nullable
public java.lang.Class<? extends Plan> getPlanClass()
setPlanClass
public void setPlanClass(java.lang.Class<? extends Plan> planClass)
Copyright © 2012 Atlassian. All Rights Reserved.