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_CODE |
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() |
ProjectDataObject |
createProjectDataObjectFromProjectTemplate() |
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_CODE() |
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.lang.String |
getIconLink() |
java.util.List<ProjectTemplateErrorPOJO> |
getMissingRequiredInputErrors() |
java.lang.Long |
getNextProjectBuildNumber() |
ProjectClassificationEnum |
getProjectClassification() |
java.lang.Long |
getProjectId() |
java.lang.String |
getProjectName() |
java.util.List<PropertyDefinitionWithKeyPOJO> |
getProjectProperties() |
java.util.List<ProjectStreamDataObject> |
getProjectStreamDataObjects() |
java.lang.String |
getProjectType() |
SCMTypeEnum |
getScmType() |
java.lang.String |
getSparseCheckoutFolders() |
java.lang.Long |
getTemplateId() |
java.util.List<ProjectTemplateErrorPOJO> |
getValidationErrors() |
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_CODE(java.lang.String pFDGIT_CODE) |
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 |
setIconLink(java.lang.String pIconLink) |
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 |
setProjectStreamDataObjects(java.util.List<ProjectStreamDataObject> pProjectStreamDataObjects) |
void |
setProjectTemplateDataObjectFromProjectDataObject(ProjectDataObject pProjectDataObject) |
void |
setProjectType(java.lang.String pProjectType) |
void |
setScmType(SCMTypeEnum pScmType) |
void |
setSparseCheckoutFolders(java.lang.String pSparseCheckoutFolders) |
void |
setTemplateId(java.lang.Long pTemplateId) |
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_CODE
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()
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(java.lang.String pProjectType)
public java.lang.String 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 void setIconLink(java.lang.String pIconLink)
public java.lang.String getIconLink()
public java.lang.Long getNextProjectBuildNumber()
public java.util.List<ProjectStreamDataObject> getProjectStreamDataObjects()
public void setProjectStreamDataObjects(java.util.List<ProjectStreamDataObject> pProjectStreamDataObjects)
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 java.lang.String getFDGIT_CODE()
public void setFDGIT_CODE(java.lang.String pFDGIT_CODE)
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 java.util.List<PropertyKeyDataObject> createIntegrationInstancePropertyDataObjectsFromProjectTemplate()
public void validateProjectProperties(java.util.Set<java.lang.String> pApplicableKeyNames)