public class ProjectTemplateDataObject extends FlexDataObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BRANCH_NAME |
static java.lang.String |
BUILD_TARGET_GROUP |
static java.lang.String |
BUILD_WORKFLOW |
static java.lang.String |
DEPLOY_SEQUENCE |
static java.lang.String |
DEPLOY_TARGET_GROUP |
static java.lang.String |
DEPLOY_WORKFLOW |
static java.lang.String |
DESCRIPTION |
static java.lang.String |
FDGIT_PASSWORD |
static java.lang.String |
FDGIT_URL |
static java.lang.String |
FDGIT_USER |
static java.lang.String |
FOLDER_PATH |
static java.lang.String |
NEXT_BRANCH_BUILD_NUMBER |
static java.lang.String |
NEXT_PROJECT_BUILD_NUMBER |
static java.lang.String |
PROJECT_CLASSIFICATION |
static java.lang.String |
PROJECT_NAME |
static java.lang.String |
PROJECT_TYPE |
static java.lang.String |
SCM_TYPE |
static java.lang.String |
SPARSE_CHECKOUT_FOLDERS |
static java.lang.String |
VERSION_NAME_SYNTAX |
static java.lang.String |
WEBHOOKS_ENABLED |
Constructor and Description |
---|
ProjectTemplateDataObject() |
ProjectTemplateDataObject(CSVRow pCsvRow) |
Modifier and Type | Method and Description |
---|---|
void |
addMissingRequiredError(java.lang.String pAttribute) |
void |
checkGitUserAndPassword() |
void |
checkRequiredInputs()
Validates required inputs of a CSV Row and returns a list of input codes that are required and missing.
|
java.util.List<PropertyKeyDataObject> |
createIntegrationInstancePropertyDataObjectsFromProjectTemplate() |
ProjectStreamDataObject |
createProjectBranchDataObjectFromProjectTemplate() |
ProjectDataObject |
createProjectDataObjectFromProjectTemplate() |
java.lang.String |
getBranchName() |
java.lang.String |
getBuildTargetGroupCode() |
java.lang.Long |
getBuildTargetGroupId() |
java.lang.Long |
getBuildWorkflowId() |
java.lang.String |
getBuildWorkflowName() |
java.util.List<ProjectTemplateErrorPOJO> |
getCreationErrors() |
java.lang.Integer |
getDeploySequence() |
java.util.List<java.lang.String> |
getDeployTargetGroupCodes() |
java.util.List<java.lang.Long> |
getDeployTargetGroupIds() |
java.lang.Long |
getDeployWorkflowId() |
java.lang.String |
getDeployWorkflowName() |
java.lang.String |
getDescription() |
java.util.List<ProjectTemplateErrorPOJO> |
getErrors() |
java.lang.String |
getFDGIT_PASSWORD() |
java.lang.String |
getFDGIT_URL() |
java.lang.String |
getFDGIT_USER() |
java.lang.Long |
getFolderId() |
java.lang.String |
getFolderPath() |
java.util.List<ProjectTemplateErrorPOJO> |
getFormattingErrors() |
java.lang.Long |
getGitInstanceId() |
java.util.List<ProjectTemplateErrorPOJO> |
getMissingRequiredInputErrors() |
java.lang.Long |
getNextBranchBuildNumber() |
java.lang.Long |
getNextProjectBuildNumber() |
ProjectClassificationEnum |
getProjectClassification() |
java.lang.Long |
getProjectId() |
java.lang.String |
getProjectName() |
java.util.List<PropertyDefinitionWithKeyPOJO> |
getProjectProperties() |
ProjectTypeEnum |
getProjectType() |
SCMTypeEnum |
getScmType() |
java.lang.String |
getSparseCheckoutFolders() |
java.lang.Long |
getTemplateId() |
java.util.List<ProjectTemplateErrorPOJO> |
getValidationErrors() |
java.lang.String |
getVersionNameSyntax() |
void |
setBranchName(java.lang.String pBranchName) |
void |
setBuildTargetGroupCode(java.lang.String pBuildTargetGroupCode) |
void |
setBuildTargetGroupId(java.lang.Long pBuildTargetGroupId) |
void |
setBuildWorkflowId(java.lang.Long pBuildWorkflowId) |
void |
setBuildWorkflowName(java.lang.String pBuildWorkflowName) |
void |
setDeploySequence(java.lang.Integer pDeploySequence) |
void |
setDeployTargetGroupCodes(java.util.List<java.lang.String> pDeployTargetGroupCode) |
void |
setDeployTargetGroupIds(java.util.List<java.lang.Long> pDeployTargetGroupId) |
void |
setDeployWorkflowId(java.lang.Long pDeployWorkflowId) |
void |
setDeployWorkflowName(java.lang.String pDeployWorkflowName) |
void |
setDescription(java.lang.String pDescription) |
void |
setErrors(java.util.List<ProjectTemplateErrorPOJO> pErrors) |
void |
setFDGIT_PASSWORD(java.lang.String pFDGIT_PASSWORD) |
void |
setFDGIT_URL(java.lang.String pFDGIT_URL) |
void |
setFDGIT_USER(java.lang.String pFDGIT_USER) |
void |
setFolderId(java.lang.Long pFolderId) |
void |
setFolderPath(java.lang.String pFolderPath) |
void |
setGitInstanceId(java.lang.Long pGitInstanceId) |
void |
setNextBranchBuildNumber(java.lang.Long pNextBranchBuildNumber) |
void |
setNextProjectBuildNumber(java.lang.Long pNextProjectBuildNumber) |
void |
setProjectClassification(ProjectClassificationEnum pProjectClassification) |
void |
setProjectId(java.lang.Long pProjectId) |
void |
setProjectName(java.lang.String pProjectName) |
void |
setProjectProperties(java.util.List<PropertyDefinitionWithKeyPOJO> pProjectProperties) |
void |
setProjectTemplateDataObjectFromProjectDataObject(ProjectDataObject pProjectDataObject) |
void |
setProjectType(ProjectTypeEnum pProjectType) |
void |
setScmType(SCMTypeEnum pScmType) |
void |
setSparseCheckoutFolders(java.lang.String pSparseCheckoutFolders) |
void |
setTemplateId(java.lang.Long pTemplateId) |
void |
setVersionNameSyntax(java.lang.String pVersionNameSyntax) |
void |
validateProjectProperties(java.util.Set<java.lang.String> pApplicableKeyNames) |
clone
public static final java.lang.String PROJECT_NAME
public static final java.lang.String FOLDER_PATH
public static final java.lang.String DESCRIPTION
public static final java.lang.String PROJECT_TYPE
public static final java.lang.String PROJECT_CLASSIFICATION
public static final java.lang.String DEPLOY_SEQUENCE
public static final java.lang.String BUILD_TARGET_GROUP
public static final java.lang.String BUILD_WORKFLOW
public static final java.lang.String DEPLOY_TARGET_GROUP
public static final java.lang.String DEPLOY_WORKFLOW
public static final java.lang.String NEXT_PROJECT_BUILD_NUMBER
public static final java.lang.String WEBHOOKS_ENABLED
public static final java.lang.String BRANCH_NAME
public static final java.lang.String VERSION_NAME_SYNTAX
public static final java.lang.String NEXT_BRANCH_BUILD_NUMBER
public static final java.lang.String SPARSE_CHECKOUT_FOLDERS
public static final java.lang.String FDGIT_URL
public static final java.lang.String FDGIT_USER
public static final java.lang.String FDGIT_PASSWORD
public static final java.lang.String SCM_TYPE
public ProjectTemplateDataObject()
public ProjectTemplateDataObject(CSVRow pCsvRow)
public void checkRequiredInputs()
pCsvRow
- - Row to validate the required inputs of.public void addMissingRequiredError(java.lang.String pAttribute)
public void checkGitUserAndPassword()
public void setTemplateId(java.lang.Long pTemplateId)
public java.lang.Long getTemplateId()
public void setProjectId(java.lang.Long pProjectId)
public java.lang.Long getProjectId()
public void setGitInstanceId(java.lang.Long pGitInstanceId)
public java.lang.Long getGitInstanceId()
public void setFolderId(java.lang.Long pFolderId)
public java.lang.Long getFolderId()
public void setFolderPath(java.lang.String pFolderPath)
public java.lang.String getFolderPath()
public void setProjectName(java.lang.String pProjectName)
public java.lang.String getProjectName()
public void setDescription(java.lang.String pDescription)
public java.lang.String getDescription()
public void setProjectType(ProjectTypeEnum pProjectType)
public ProjectTypeEnum getProjectType()
public void setProjectClassification(ProjectClassificationEnum pProjectClassification)
public ProjectClassificationEnum getProjectClassification()
public void setDeploySequence(java.lang.Integer pDeploySequence)
public java.lang.Integer getDeploySequence()
public void setBuildTargetGroupId(java.lang.Long pBuildTargetGroupId)
public java.lang.Long getBuildTargetGroupId()
public void setBuildTargetGroupCode(java.lang.String pBuildTargetGroupCode)
public java.lang.String getBuildTargetGroupCode()
public void setBuildWorkflowId(java.lang.Long pBuildWorkflowId)
public java.lang.Long getBuildWorkflowId()
public void setBuildWorkflowName(java.lang.String pBuildWorkflowName)
public java.lang.String getBuildWorkflowName()
public void setDeployTargetGroupIds(java.util.List<java.lang.Long> pDeployTargetGroupId)
public java.util.List<java.lang.Long> getDeployTargetGroupIds()
public void setDeployTargetGroupCodes(java.util.List<java.lang.String> pDeployTargetGroupCode)
public java.util.List<java.lang.String> getDeployTargetGroupCodes()
public void setDeployWorkflowId(java.lang.Long pDeployWorkflowId)
public java.lang.Long getDeployWorkflowId()
public void setDeployWorkflowName(java.lang.String pDeployWorkflowName)
public java.lang.String getDeployWorkflowName()
public void setNextProjectBuildNumber(java.lang.Long pNextProjectBuildNumber)
public java.lang.Long getNextProjectBuildNumber()
public void setBranchName(java.lang.String pBranchName)
public java.lang.String getBranchName()
public void setVersionNameSyntax(java.lang.String pVersionNameSyntax)
public java.lang.String getVersionNameSyntax()
public void setNextBranchBuildNumber(java.lang.Long pNextBranchBuildNumber)
public java.lang.Long getNextBranchBuildNumber()
public void setSparseCheckoutFolders(java.lang.String pSparseCheckoutFolders)
public java.lang.String getSparseCheckoutFolders()
public void setFDGIT_URL(java.lang.String pFDGIT_URL)
public java.lang.String getFDGIT_URL()
public void setFDGIT_USER(java.lang.String pFDGIT_USER)
public java.lang.String getFDGIT_USER()
public void setFDGIT_PASSWORD(java.lang.String pFDGIT_PASSWORD)
public java.lang.String getFDGIT_PASSWORD()
public void setScmType(SCMTypeEnum pScmType)
public SCMTypeEnum getScmType()
public void setProjectProperties(java.util.List<PropertyDefinitionWithKeyPOJO> pProjectProperties)
public java.util.List<PropertyDefinitionWithKeyPOJO> getProjectProperties()
public void setErrors(java.util.List<ProjectTemplateErrorPOJO> pErrors)
public java.util.List<ProjectTemplateErrorPOJO> getErrors()
public java.util.List<ProjectTemplateErrorPOJO> getCreationErrors()
public java.util.List<ProjectTemplateErrorPOJO> getMissingRequiredInputErrors()
public java.util.List<ProjectTemplateErrorPOJO> getFormattingErrors()
public java.util.List<ProjectTemplateErrorPOJO> getValidationErrors()
public ProjectDataObject createProjectDataObjectFromProjectTemplate()
public void setProjectTemplateDataObjectFromProjectDataObject(ProjectDataObject pProjectDataObject)
public ProjectStreamDataObject createProjectBranchDataObjectFromProjectTemplate()
public java.util.List<PropertyKeyDataObject> createIntegrationInstancePropertyDataObjectsFromProjectTemplate()
public void validateProjectProperties(java.util.Set<java.lang.String> pApplicableKeyNames)