com.versionone.om
Class BuildProject
java.lang.Object
com.versionone.om.Entity
com.versionone.om.BaseAsset
com.versionone.om.BuildProject
public class BuildProject
- extends BaseAsset
Represents a Build Project in the VersionOne System.
|
Method Summary |
BuildRun |
createBuildRun(java.lang.String name,
DateTime date)
Create a Build Run with the given name and date in this Build Project. |
BuildRun |
createBuildRun(java.lang.String name,
DateTime date,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Create a Build Run with the given name and date in this Build Project. |
java.util.Collection<BuildRun> |
getBuildRuns(BuildRunFilter filter)
|
java.lang.String |
getReference()
|
void |
setReference(java.lang.String value)
|
| Methods inherited from class com.versionone.om.BaseAsset |
canClose, canDelete, canReactivate, close, createAttachment, createAttachment, createConversation, createConversation, createLink, createLink, createNote, createNote, delete, getAttachments, getCustomDropdown, getCustomField, getDescription, getLinks, getName, getNotes, getReferencedInExpressions, getURL, isActive, isClosed, reactivate, setDescription, setName |
| Methods inherited from class com.versionone.om.Entity |
equals, get, getChangeComment, getChangeDate, getChangedBy, getCreateComment, getCreateDate, getCreatedBy, getID, getInstance, hashCode, save, save, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getReference
public java.lang.String getReference()
- Returns:
- Reference of this Build Project.
setReference
public void setReference(java.lang.String value)
- Parameters:
value - Reference of this Build Project.
getBuildRuns
public java.util.Collection<BuildRun> getBuildRuns(BuildRunFilter filter)
- Parameters:
filter - limit the build runs returned; (If null, then all items
returned).
- Returns:
- A collection of Build Runs associated with this Build Project.
createBuildRun
public BuildRun createBuildRun(java.lang.String name,
DateTime date)
- Create a Build Run with the given name and date in this Build Project.
- Parameters:
name - of creating BuildRun.date - of creating BuildRun.
- Returns:
- A new Build Run in this Build Project.
createBuildRun
public BuildRun createBuildRun(java.lang.String name,
DateTime date,
java.util.Map<java.lang.String,java.lang.Object> attributes)
- Create a Build Run with the given name and date in this Build Project.
- Parameters:
name - of creating BuildRun.date - of creating BuildRun.attributes - additional attributes for the BuildRun.
- Returns:
- A new Build Run in this Build Project.