Package com.xebialabs.xlrelease.builder
Class ReleaseBuilder
java.lang.Object
com.xebialabs.xlrelease.builder.ReleaseBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddExtension(com.xebialabs.xlrelease.domain.ReleaseExtension extension) com.xebialabs.xlrelease.domain.Releasebuild()static ReleaseBuilderstatic ReleaseBuilderwithAbortOnFailure(boolean abortOnFailure) withAllowConcurrentReleasesFromTrigger(boolean val) withAllowPasswordsInAllFields(boolean allowPasswordsInAllFields) withAllowTargetFolderOverride(boolean allow) withArchiveRelease(boolean archiveRelease) withAttachments(com.xebialabs.xlrelease.domain.Attachment... attachments) withAuthor(String author) withAutoStart(boolean autoStart) withCalendarPublished(boolean calendarPublished) withCalendarToken(String calendarToken) withCategories(Set<String> categories) withCiAttributes(com.xebialabs.deployit.plugin.api.udm.CiAttributes ci$Attributes) withDefaultTargetFolderId(String folderId) withDescription(String description) withDisableNotifications(boolean disableNotifications) withDueDate(Date dueDate) withEndDate(Date endDate) withFlagComment(String flagComment) withFlagStatus(com.xebialabs.xlrelease.domain.status.FlagStatus flagStatus) withFolderId(String folderId) withFolderVariables(com.xebialabs.xlrelease.domain.variables.FolderVariables folderVariables) withGlobalVariables(com.xebialabs.xlrelease.domain.variables.GlobalVariables globalVariables) withIdAndTitle(String id) withKind(com.xebialabs.xlrelease.domain.ReleaseKind kind) withLogo(com.xebialabs.xlrelease.domain.TemplateLogo logo) withMaxConcurrency(int maxConcurrency) withMemberViewers(String... members) withMetadata(String key, com.xebialabs.xlrelease.api.internal.InternalMetadata metadata) withOriginTemplateId(String originTemplateId) withOverdueNotified(boolean overdueNotified) withParentReleaseId(String parentReleaseId) withPasswordVariableValues(Map<String, ?> passwordVariables) withPhases(com.xebialabs.xlrelease.domain.Phase... phases) withPlannedDuration(Integer plannedDuration) withRoleViewers(String... roles) withScheduledStartDate(Date scheduledStartDate) withScriptUsername(String scriptUsername) withScriptUserPassword(String scriptUserPassword) withStartDate(Date startDate) withStatus(com.xebialabs.xlrelease.domain.status.ReleaseStatus status) withTeams(com.xebialabs.xlrelease.domain.Team... teams) withTutorial(boolean tutorial) withVariableMapping(Map<String, String> variableMapping) withVariables(com.xebialabs.xlrelease.domain.variables.Variable... variables) withVariables(List<com.xebialabs.xlrelease.domain.variables.Variable> variables) withVariableValues(Map<String, ?> variableValues)
-
Method Details
-
newRelease
-
newTemplate
-
withKind
-
withCategories
-
withId
-
withCiUid
-
withTitle
-
withIdAndTitle
-
withStatus
-
completed
-
withPhases
-
withDescription
-
withScheduledStartDate
-
withAutoStart
-
withDueDate
-
withStartDate
-
withEndDate
-
withCurrentDates
-
withPlannedDuration
-
withTeams
-
withTeams
-
withOwner
-
withOverdueNotified
-
withVariableValues
-
withPasswordVariableValues
-
withVariables
public ReleaseBuilder withVariables(List<com.xebialabs.xlrelease.domain.variables.Variable> variables) -
withVariables
-
withGlobalVariables
public ReleaseBuilder withGlobalVariables(com.xebialabs.xlrelease.domain.variables.GlobalVariables globalVariables) -
withFolderVariables
public ReleaseBuilder withFolderVariables(com.xebialabs.xlrelease.domain.variables.FolderVariables folderVariables) -
withTags
-
withTags
-
withFlagStatus
-
withFlagComment
-
withCalendarToken
-
withCalendarPublished
-
withTutorial
-
withAbortOnFailure
-
withArchiveRelease
-
withAllowPasswordsInAllFields
-
withDisableNotifications
-
withAllowConcurrentReleasesFromTrigger
-
withAttachments
-
withOriginTemplateId
-
withMemberViewers
-
withRoleViewers
-
withScriptUsername
-
withScriptUserPassword
-
addExtension
-
withMaxConcurrency
-
withMetadata
public ReleaseBuilder withMetadata(String key, com.xebialabs.xlrelease.api.internal.InternalMetadata metadata) -
withVariableMapping
-
withCiAttributes
public ReleaseBuilder withCiAttributes(com.xebialabs.deployit.plugin.api.udm.CiAttributes ci$Attributes) -
withLogo
-
withAuthor
-
withDefaultTargetFolderId
-
withAllowTargetFolderOverride
-
withFolderId
-
withParentReleaseId
-
build
public com.xebialabs.xlrelease.domain.Release build()
-