org.squashtest.tm.plugin.testautomation.jenkins.internal.tasksteps
Class BuildAbsoluteId

java.lang.Object
  extended by org.squashtest.tm.plugin.testautomation.jenkins.internal.tasksteps.BuildAbsoluteId

public class BuildAbsoluteId
extends Object

That class identifies a build using the job name and the externalId it was given as parameter (as for any TA job). Additionally one will specify the buildId (the one Jenkins knows) at some point during the build survey, once it has been retrived from Jenkins. The buildId cannot be known before the build starts.

Basically that class will be shared among many classes, some consuming data (project name, external id), some other will feed data (the buildId).

Author:
bsiri

Constructor Summary
BuildAbsoluteId(String projectName, String externalId)
           
 
Method Summary
 Integer getBuildId()
           
 String getExternalId()
           
 String getProjectName()
           
 boolean hasBuildIdSet()
           
 void setBuildId(Integer buildId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildAbsoluteId

public BuildAbsoluteId(String projectName,
                       String externalId)
Method Detail

getBuildId

public Integer getBuildId()

setBuildId

public void setBuildId(Integer buildId)

getProjectName

public String getProjectName()

getExternalId

public String getExternalId()

toString

public String toString()
Overrides:
toString in class Object

hasBuildIdSet

public boolean hasBuildIdSet()


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.