public interface IFlexDeployFunctions
Modifier and Type | Method and Description |
---|---|
void |
activateBranch(java.lang.Long pProjectId,
java.lang.String pBranchName)
Active a FlexDeploy Branch on a project.
|
void |
activateStream(java.lang.Long pProjectId,
java.lang.String pStreamName)
Active a FlexDeploy Stream on a project.
|
void |
addFilesToPackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.util.List<java.lang.String> pFiles)
Adds files to a given package.
|
FlxWorkItemCommentDataObject |
addWorkItemComment(java.lang.String pWorkItemNumber,
java.lang.String pComment)
Adds a work item comment with the provided data.
|
void |
assignGroupToUser(java.lang.Long pGroupId,
java.lang.Long pUserId)
Assigns Group to User with the provided data.
|
void |
assignGroupToUser(java.lang.String pGroupName,
java.lang.String pUserName)
Assigns Group to User with the provided data.
|
java.lang.Long |
buildPackage(java.lang.Long pStreamId,
ProjectPackagePojo projectPackage)
Builds a FlexDeploy Package.
|
java.lang.Long |
buildPackage(java.lang.Long pStreamId,
ProjectPackagePojo projectPackage,
BuildOptions pBuildOptions)
Builds a FlexDeploy Package.
|
java.lang.Long |
buildPackage(java.lang.Long pStreamId,
ProjectPackagePojo projectPackage,
PollingResult pPollingResult)
Builds a FlexDeploy Package using a PollingResult.
|
java.lang.Long |
buildPackage(java.lang.Long pStreamId,
ProjectPackagePojo projectPackage,
PollingResult pPollingResult,
BuildOptions pBuildOptions)
Builds a FlexDeploy Package using a PollingResult.
|
java.lang.Long |
buildProject(java.lang.Long pStreamId,
java.lang.Long pProjectId)
Builds a FlexDeploy Project.
|
java.lang.Long |
buildProject(java.lang.Long pStreamId,
java.lang.Long pProjectId,
BuildOptions pBuildOptions)
Builds a FlexDeploy Project.
|
java.lang.Long |
buildProject(java.lang.Long pStreamId,
java.lang.Long pProjectId,
PollingResult pPollingResult)
Builds a FlexDeploy Project using a PollingResult.
|
java.lang.Long |
buildProject(java.lang.Long pStreamId,
java.lang.Long pProjectId,
PollingResult pPollingResult,
BuildOptions pBuildOptions)
Builds a FlexDeploy Project using a PollingResult.
|
java.lang.Long |
createBranch(java.lang.Long pProjectId,
ProjectStreamPojo pBranch)
Create a FlexDeploy Branch on a given project.
|
java.lang.Long |
createBranch(java.lang.Long pProjectId,
java.lang.String pBranchName)
Create a FlexDeploy Branch on a given project.
|
java.lang.Long |
createBranch(java.lang.Long pProjectId,
java.lang.String pBranchName,
java.lang.String pVersionSyntax)
Create a FlexDeploy Branch on a given project.
|
CredentialDataObject |
createCredential(CredentialDataObject pCredentialDataObject)
Create Credential with the provided data.
|
java.lang.Long |
createDynamicPackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.String pDescription,
java.lang.String pIncludePath,
java.lang.String pExcludePath)
Creates a dynamic package for given include and exclude path.
|
EndpointDataObject |
createEndpoint(EndpointDataObject pEndpointDataObject)
Create Endpoint with the provided data.
|
EnvironmentDataObject |
createEnvironment(EnvironmentDataObject pEnvDataObject)
Create Environment with the provided data.
|
FlxWorkItemFieldDataObject |
createFlxWorkItemField(FlxWorkItemFieldDataObject pDobj)
Creates a Flex Work Item Field with the provided data.
|
PropertyKeyGroupDataObject |
createFlxWorkItemFieldGroup(PropertyKeyGroupDataObject pDobj)
Creates a Flex Work Item Field Group with the provided data.
|
FolderDataObject |
createFolder(FolderDataObject pFolderDataObject)
Create Folder with the provided data.
|
FdGroupDataObject |
createGroup(FdGroupDataObject pGroupDataObject)
Create Group with the provided data.
|
CMSObject |
createIncidentByWorkflowType(java.lang.Long pWorkflowRequestId,
java.util.Map<java.lang.String,java.io.Serializable> pIncidentFields)
Returns a CMSObject with incident details.
|
CMSObject |
createIncidentForWorklowRequest(java.lang.Long pWorkflowRequestId,
java.util.Map<java.lang.String,java.io.Serializable> pIncidentFields,
java.lang.String pCMSInstanceCode,
java.lang.String pCMSInstanceName)
Returns a CMSObject with incident details for a particular CMS Instance by searching with Instance Name and Instance Code.
|
java.lang.Long |
createPackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.String pDescription,
java.util.List<java.lang.String> pFiles)
Creates a package for a given project and list of files.
|
java.lang.Long |
createPackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.String pDescription,
java.lang.Long pStreamId,
PollingResult pPollingResult)
Creates a package for a given project relative to a PollingResult.
|
java.lang.Long |
createProject(ProjectPojo pProjectPojo)
Creates and configures a project with the provided data.
|
ProjectTriggerDataObject |
createProjectTrigger(ProjectTriggerDataObject pPojo)
Creates a project trigger with the provided data.Returns the project trigger details after creation.
|
PropertyKeyDefinitionDataObject |
createPropertyKeyDefinition(PropertyKeyDefinitionDataObject pPojo)
Creates a property key definition with the provided data.
|
java.lang.Long |
createSCMInstance(SCMInstancePojo pSCMInstancePojo)
Creates and configures an SCM instance with the given data.
|
java.lang.Long |
createSCMInstance(java.lang.String pSCMInstanceName,
java.lang.String pDescription,
java.lang.Boolean pIsActive,
java.lang.String pInstanceCode,
java.util.List<PropertyValuePojo> pProperties,
java.lang.String pSCMType)
Creates and configures an SCM Instance with the provided data.
|
java.lang.Long |
createStream(java.lang.Long pProjectId,
ProjectStreamPojo pStream)
Create a FlexDeploy Stream on a given project.
|
java.lang.Long |
createStream(java.lang.Long pProjectId,
java.lang.String pStreamName)
Create a FlexDeploy Stream on a given project.
|
java.lang.Long |
createStream(java.lang.Long pProjectId,
java.lang.String pStreamName,
java.lang.String pVersionSyntax)
Create a FlexDeploy Stream on a given project.
|
TargetGroupDataObject |
createTargetGroup(TargetGroupDataObject pTargetGroupDataObj)
Create TargetGroup with the provided data.
|
FdUserDataObject |
createUser(FdUserDataObject pUserDataObj)
Create User with the provided data.
|
FlxWorkItemDataObject |
createWorkItem(FlxWorkItemDataObject pPojo)
Creates a work item with the provided data.Returns the work item details after creation.
|
void |
deleteCredential(java.lang.Long pCredentialId)
Deletes a Credential.
|
void |
deleteEndpoint(java.lang.Long pEndpointId)
Deletes an Endpoint.
|
void |
deleteEnvironment(java.lang.Long pEnvironmentId)
Deletes an Environment.
|
void |
deleteFlxWorkItem(java.lang.Long pFlexWorkItemId)
Deletes a Flex Work Item
|
void |
deleteFlxWorkItemField(java.lang.Long pFlexWorkItemFieldId)
Deletes a Flex Work Item Field
|
void |
deleteFlxWorkItemFieldGroup(java.lang.String pFlexWorkItemFieldGroupCode)
Deletes a Flex Work Item Field Group
|
void |
deleteFolder(java.lang.Long pFolderId)
Deletes a Folder.
|
void |
deletePackage(java.lang.Long pProjectId,
java.lang.String pPackageName)
Deletes a project package
|
void |
deleteProjectTrigger(java.lang.Long pProjectTriggerId)
Deletes the project trigger based on Project Trigger id.
|
void |
deleteTargetGroup(java.lang.Long pTargetGroupId)
Deletes a TargetGroup.
|
java.lang.Long |
deployPackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.String pEnvironmentCode,
DeployOptions pDeployOptions)
Deploys a FlexDeploy Package.
|
java.lang.Long |
deployProject(java.lang.Long pProjectId,
java.lang.String pEnvironmentCode,
DeployOptions pDeployOptions)
Deploys a FlexDeploy Project.
|
java.lang.Integer |
discoverFiles(java.lang.Long pProjectId,
java.lang.Long pStreamId)
Populate partial deployment files for a given project.
|
void |
downloadLogs(java.lang.Long pWorkflowExecutionId,
java.lang.String pDestinationPath)
Downloads the plugin logs from the workflow execution based on Id.
|
java.lang.Long |
executeUtility(java.lang.Long pProjectId,
java.lang.String pEnvironmentCode)
Executes a FlexDeploy Utility Project for a single environment on all instances configured in Project Configuration.
|
java.lang.Long |
executeUtility(java.lang.Long pProjectId,
java.lang.String pEnvironmentCode,
ExecuteOptions pExecuteOptions)
Executes a FlexDeploy Utility Project for a single environment with specified ExecuteOptions.
|
java.lang.Long |
findBranchId(java.lang.Long pProjectId,
java.lang.String pBranchName)
Finds a FlexDeploy branch id from the Branch name.
|
CMSInstancePojo |
findCMSInstance(java.lang.String pCMSInstanceCode)
Gets a CMSInstance based on the CMS Instance Code passed.
|
java.util.List<EnvironmentPojo> |
findEnvironment(java.lang.String pEnvironmentCode)
Gets the environment with the specified enviornment code.
|
java.lang.Long |
findFolderId(java.lang.String pFolderName)
Finds the FlexDeploy Folder id for any given name.
|
java.util.List<FolderDataObject> |
findFoldersWithName(java.lang.String pFolderName)
Finds FlexDeploy Folders for any given name
|
FolderDataObject |
findFolderWithId(java.lang.Long pFolderId)
Finds Folder using Id.
|
IntegrationInstancePojo |
findIntegrationInstance(java.lang.String pIntegrationInstanceCode,
java.lang.String pType)
Gets an integration instance based on the code.
|
PollingResult |
findLocalChangeLogs(java.lang.String pUrl,
java.lang.String pBranch,
java.lang.String pCurrentRevision,
java.lang.String pFromRevision)
Finds change logs for a local ssh enabled git repository.
|
PollingResult |
findLocalChangeLogs(java.lang.String pUrl,
java.lang.String pBranch,
java.lang.String pCurrentRevision,
java.lang.String pFromRevision,
boolean pIgnoreTargetBranchMerge)
Finds change logs for a local ssh enabled git repository.
|
PollingResult |
findLocalChangeLogs(java.lang.String pUrl,
java.lang.String pBranch,
java.lang.String pCurrentRevision,
java.lang.String pFromRevision,
java.lang.String pUser,
java.lang.String pPassword)
Finds change logs for a local git repository.
|
PollingResult |
findLocalChangeLogs(java.lang.String pUrl,
java.lang.String pBranch,
java.lang.String pCurrentRevision,
java.lang.String pFromRevision,
java.lang.String pUser,
java.lang.String pPassword,
boolean pIgnoreTargetBranchMerge)
Finds change logs for a local ssh enabled git repository.
|
java.util.Set<ProjectPackagePojo> |
findPackagesForChange(java.lang.String pRepositoryName,
java.lang.String pStreamName,
java.util.List<java.lang.String> pChangedFiles)
Finds relevant FlexDeploy Packages for a list of changed files.
|
java.util.Set<ProjectPackagePojo> |
findPackagesForChange(java.lang.String pRepositoryName,
java.lang.String pStreamName,
PollingResult pPollingResult)
Finds relevant FlexDeploy Packages for any given PollingResult.
|
java.lang.Long |
findProjectId(java.lang.String pProjectName)
Finds the FlexDeploy Project id for any given name.
|
java.util.Set<java.lang.Long> |
findProjectsForChange(java.lang.String pRepositoryName,
java.lang.String pStreamName,
java.util.List<java.lang.String> pChangedFiles)
Finds relevant FlexDeploy Projects for a list of changed files.
|
java.util.Set<java.lang.Long> |
findProjectsForChange(java.lang.String pRepositoryName,
java.lang.String pStreamName,
PollingResult pPollingResult)
Finds relevant FlexDeploy Projects for any given PollingResult and stream.
|
java.util.Set<java.lang.Long> |
findProjectsForNewBranch(java.lang.String pRepositoryName)
Finds relevant FlexDeploy Projects for a new branch event.
|
java.util.Set<java.lang.Long> |
findProjectsForNewBranch(java.lang.String pRepositoryName,
PollingResult pPollingResult)
Finds relevant FlexDeploy Projects for a new branch event.
|
java.util.List<ProjectDataObject> |
findProjectsWithName(java.lang.String pProjectName)
Finds FlexDeploy Projects for any given name
|
ProjectDataObject |
findProjectWithId(java.lang.Long pProjectId)
Finds Project using Id.
|
java.lang.Long |
findStreamId(java.lang.Long pProjectId,
java.lang.String pStreamName)
Finds a FlexDeploy stream id from the Stream name.
|
FlxWorkItemDataObject |
findWorkItemByNumber(java.lang.String pWorkItemNumber)
Gets work item based on work item number.
|
java.util.List<FlexFieldMetadataDataObject> |
getActiveBuildFlexfieldMetadata()
Gets active build flexfields metadata.
|
java.util.List<FlexFieldMetadataDataObject> |
getActiveDeployUtilityFlexfieldMetadata()
Gets active deploy or utility flexfields metadata.
|
java.util.List<TasksQueryResultPojo> |
getApprovedPipelineStageGateTasks(java.lang.Long pPipelineStageExecId)
Gets Task details based on pipeline stage execution id.
|
ChangeManagementSystem |
getChangeManagementSystemByInstanceCode(java.lang.String pInstanceCode)
Returns a CMS System for a particular CMS Instance by searching with Instance Code.
|
ChangeManagementSystem |
getChangeManagementSystemByInstanceId(java.lang.Long pCMSInstanceId)
Returns a CMS System for a particular CMS Instance Id.
|
ChangeManagementSystem |
getChangeManagementSystemByInstanceName(java.lang.String pInstanceName)
Returns a CMS System for a particular CMS Instance by searching with Instance Name.
|
CMSInstancePojo |
getCMSInstance(java.lang.Long pCMSInstanceId)
Gets a CMSInstance based on the CMS Instance Id passed.
|
CredentialDataObject |
getCredentialById(java.lang.Long pCredentialId)
Returns Credential information for a given Credential Id.
|
CredentialDataObject |
getCredentialByName(java.lang.String pCredentialName)
Returns Credential information for a given Credential name.
|
java.lang.Long |
getCurrentlyDeployedVersionId(java.lang.Long pProjectId,
java.lang.Long pEnvironmentId,
java.lang.Long pInstanceId)
Returns currently deployed project version Id of full deployment project.
|
java.lang.Long |
getCurrentlyDeployedVersionId(java.lang.Long pProjectId,
java.lang.Long pEnvironmentId,
java.lang.Long pInstanceId,
java.lang.String pPackageName)
Returns currently deployed project version Id of partial deployment project.
|
EndpointDataObject |
getEndpointById(java.lang.Long pEndpointId)
Returns Endpoint information for a given endpoint Id.
|
EndpointDataObject |
getEndpointByName(java.lang.String pEndpointName)
Returns Endpoint information for a given Endpoint Name.
|
EnvironmentPojo |
getEnvironment(java.lang.Long pEnvironmentId)
Gets the environment with the specified Id.
|
EnvironmentDataObject |
getEnvironmentByCode(java.lang.String pEnvironmentCode)
Returns Environment information for a given environment code.
|
EnvironmentDataObject |
getEnvironmentById(java.lang.Long pEnvironmentId)
Returns Environment information for a given environment Id.
|
EnvironmentDataObject |
getEnvironmentByName(java.lang.String pEnvironmentName)
Returns Environment information for a given environmentName
|
java.lang.String |
getFlexDeployBaseUrl()
Returns the FlexDeploy Server base url configured in System Settings.
|
PropertyKeyGroupDataObject |
getFlxWorkItemFieldGroupWithCode(java.lang.String pFlexWorkItemFieldGroupCode)
Finds a Flex Work Item Field Group using Code.
|
FlxWorkItemFieldDataObject |
getFlxWorkItemFieldWithId(java.lang.Long pFlexWorkItemFieldId)
Finds Flex Work Item Field using Id.
|
FlxWorkItemStatusDataObject |
getFlxWorkItemStatusWithId(java.lang.Long pFlexWorkItemStatusId)
Finds Flex Work Item Status using Id.
|
FlxWorkItemTypeDataObject |
getFlxWorkItemTypeWithCode(java.lang.String pFlexWorkItemTypeCode)
Finds Flex Work Item Type using Code.
|
FdGroupDataObject |
getGroupById(java.lang.Long pGroupId)
Returns Group information for a given group Id.
|
FdGroupDataObject |
getGroupByName(java.lang.String pGroupName)
Returns Group information for a given group name.
|
IntegrationInstancePojo |
getIntegrationInstance(java.lang.Long pIntegrationInstanceId,
java.lang.String pType)
Gets an integration instance based on the id.
|
IssueTrackingSystem |
getIssueTrackingSystemByInstanceCode(java.lang.String pInstanceCode)
Returns a ITS System for a particular ITS Instance Code.
|
IssueTrackingSystem |
getIssueTrackingSystemByInstanceId(java.lang.Long pITSInstanceId)
Returns a ITS System for a particular ITS Instance Id.
|
IssueTrackingSystem |
getIssueTrackingSystemByInstanceName(java.lang.String pInstanceName)
Returns a ITS System for a particular ITS Instance Name.
|
java.lang.Long |
getMatchingProjectObjectId(java.lang.Long pProjectId,
java.lang.String pFile)
Returns internal id for file in a project.
|
PackageDetailsResponsePojo |
getPackage(java.lang.Long pProjectId,
java.lang.String pPackageName)
Returns a PackageDetailsResponsePojo given a Project Id and Package Name
|
java.util.List<TasksQueryResultPojo> |
getPipelineStageGateTasks(java.lang.Long pPipelineStageExecId)
Gets Task details based on pipeline stage execution id.
|
java.util.Map<java.lang.Long,java.io.InputStream> |
getPluginLogInputStreams(java.lang.Long pWorkflowExecutionId)
Returns plugin logs from a workflow execution as a map with the key being the plugin execution id and value as an InputStream of log data.
|
java.util.Map<java.lang.Long,java.io.InputStream> |
getPluginLogInputStreams(java.lang.Long pWorkflowExecutionId,
java.lang.Boolean pOnlyError)
Returns plugin logs from a workflow execution as a map with the key being the plugin execution id and value as an InputStream of log data.
|
java.util.Collection<PluginLogPojo> |
getPluginLogs(java.lang.Long pWorkflowExecutionId)
Gets the plugin logs from the workflow execution based on Id.
|
java.lang.Long |
getPreviouslyDeployedVersionId(java.lang.Long pProjectId,
java.lang.Long pEnvironmentId,
java.lang.Long pInstanceId)
Returns previously deployed project version Id of full deployment project.
|
java.lang.Long |
getPreviouslyDeployedVersionId(java.lang.Long pProjectId,
java.lang.Long pEnvironmentId,
java.lang.Long pInstanceId,
java.lang.String pPackageName)
Returns previously deployed project version Id of partial deployment project.
|
ProjectPojo |
getProject(java.lang.Long pProjectId)
Returns project information for a given projectId.
|
ProjectStreamDataObject |
getProjectBranchById(java.lang.Long pBranchId,
java.lang.Long pProjectId)
Returns the project branch details for given branchId and projectId
|
ProjectTriggerDataObject |
getProjectTriggerById(java.lang.Long pProjectTriggerId)
Returns the project trigger information based on Project Trigger id.
|
ProjectVersionDataObject |
getProjectVersionById(java.lang.Long pProjectVersionId,
java.lang.Long pProjectId)
Gets project version data object by project version id and project Id.
|
PropertyKeyDefinitionDataObject |
getPropertyKeyDefinition(java.lang.Long pPropertyKeyDefinitionId)
Retrieves a property key definition by its ID.
|
PropertyKeyDefinitionDataObject |
getPropertyKeyDefinition(java.lang.String pKeyName)
Retrieves a property key definition by its key name.
|
PropertySetDataObject |
getPropertySet(java.lang.Long pPropertySetId)
Retrieves a property set by its ID.
|
java.io.InputStream |
getReportDataByWorkflowExecutionReportId(java.lang.Long pWorkflowExecutionReportId)
Get a report by Workflow Execution Report ID.
|
java.util.List<WorkflowExecutionReportDataObject> |
getReportsByWorkflowExecutionId(java.lang.Long pWorkflowExecutionId)
Gets a list of WorkflowExecutionReportDataObject objects that are associated with a workflow execution
|
ScanResultPojo |
getScanResultForSonarqube(java.lang.String pBaseUrl,
java.lang.String pProjectKey)
get Scan result for SonarQube
|
RelSnapshotDataObject |
getSnapshotDetails(java.lang.Long pSnapshotId)
Return a release snapshot data object by id.
|
TargetGroupDataObject |
getTargetGroupByCode(java.lang.String pTargetGroupCode)
Get the TargetGroup based on TargetGroup code passed.
|
TargetGroupDataObject |
getTargetGroupById(java.lang.Long pTargetGroupId)
Get the TargetGroup based on TargetGroup id passed.
|
TargetGroupDataObject |
getTargetGroupByName(java.lang.String pTargetGroupName)
Get the TargetGroup based on TargetGroup name passed.
|
FdUserDataObject |
getUser(java.lang.String pUsername)
Returns user information for a given username.
|
FdUserDataObject |
getUserById(java.lang.Long pUserId)
Returns User information along with the user attributes and group detail for a given user Id.
|
java.util.List<FDUser> |
getUsersFromGroupId(java.lang.Long pGroupId)
Gets a list of FDUser objects that are members of the group with the given group Id.
|
java.util.List<FDUser> |
getUsersFromGroupName(java.lang.String pGroupName)
Gets a list of FDUser objects that are members of the group with the given group name.
|
WorkflowExecutionDataObject |
getWorkflowExecutionById(java.lang.Long pWorkflowExecutionId)
Gets workflow execution details for workflow execution id.
|
java.util.List<WorkflowExecutionDataObject> |
getWorkflowExecutionByWorkflowRequestId(java.lang.Long pWorkflowRequestId)
Gets workflow execution details by workflow request id.
|
java.util.List<ScmCommitDataObject> |
getWorkflowExecutionCommits(java.lang.Long pWorkflowExecutionId)
Gets Commit details associated with workflow execution.
|
java.util.List<CodeValueInputPOJO> |
getWorkflowExecutionFlexfields(java.lang.Long pWorkflowExecutionId)
Gets workflow execution flexfields details for workflow execution id.
|
java.util.List<CodeValueInputPOJO> |
getWorkflowExecutionInputs(java.lang.Long pWorkflowExecutionId)
Gets workflow execution inputs details for workflow execution id.
|
java.util.List<CodeValueInputPOJO> |
getWorkflowExecutionOutputs(java.lang.Long pWorkflowExecutionId)
Gets workflow execution output details for workflow execution id.
|
WorkflowExecutionVariables |
getWorkflowExecutionVariables(java.lang.Long pWorkflowExecutionId)
Gets workflow execution variables for workflow execution id.
|
java.util.List<WorkItemDataObject> |
getWorkflowExecutionWorkItems(java.lang.Long pWorkflowExecutionId)
Gets WorkItem details associated with workflow execution.
|
java.util.List<TasksQueryResultPojo> |
getWorkflowRequestTasks(java.lang.Long pWorkflowRequestId)
Gets Task details based on workflow request id.
|
java.util.List<FlxWorkItemFieldDataDataObject> |
getWorkItemFieldData(java.lang.String pWorkItemNumber)
Returns List of work item field details for work item number.
|
java.util.List<WorkItemDataObject> |
getWorkItemsForAllExecutions(java.lang.Long pSnapshotId,
java.lang.Long pEnvironmentId)
Gets Work Item details associated with all execution for given snapshort and environment.
|
java.util.List<WorkItemDataObject> |
getWorkItemsForFailedExecutions(java.lang.Long pSnapshotId,
java.lang.Long pEnvironmentId)
Gets Work Item details associated with failed execution for given snapshort and environment.
|
java.util.List<WorkItemDataObject> |
getWorkItemsForSnapshotVersions(java.lang.Long pSnapshotId)
Gets Work Item details associated with snapshort versions.
|
java.util.List<WorkItemDataObject> |
getWorkItemsForSuccessfulExecutions(java.lang.Long pSnapshotId,
java.lang.Long pEnvironmentId)
Gets Work Item details associated with successful execution for given snapshort and environment.
|
java.lang.String |
getWorkItemStatus(WorkItemDataObject pWorkItem)
Gets Work Item Status.
|
java.util.List<FlxWorkItemStatusDataObject> |
getWorkItemStatuses()
Gets the work item statuses.
|
java.util.List<FlxWorkItemTypeDataObject> |
getWorkItemTypes()
Gets the work item types.
|
void |
inactivateBranch(java.lang.Long pProjectId,
java.lang.String pBranchName)
Inactivates a project stream using AM method to patch stream
|
void |
inactivateStream(java.lang.Long pProjectId,
java.lang.String pStreamName)
Inactivates a project stream using AM method to patch stream
|
boolean |
isBotUsername(java.lang.String pUsername)
Return whether an username (case-insensitive) is a FlexDeploy bot username and not a FlexDeploy user.
|
java.lang.String |
parseWorkItemRichText(java.lang.String pWorkItemRichText)
Parse Rich Text to retrieve raw text.
|
void |
patchBranch(java.lang.Long pProjectId,
java.lang.Long pBranchId,
ProjectStreamDataObject pBranch)
Patches a FlexDeploy Branch on a given project.
|
CredentialDataObject |
patchCredential(CredentialDataObject pCredentialDataObject)
Update Credential with the provided data.
|
EndpointDataObject |
patchEndpoint(EndpointDataObject pEndpointDataObject)
Update Endpoint with the provided data.
|
EnvironmentDataObject |
patchEnvironment(EnvironmentDataObject pEnvDataObject)
Update Environment with the provided data.
|
FlxWorkItemFieldDataObject |
patchFlxWorkItemField(FlxWorkItemFieldDataObject pPojo)
Patches a Flex Work Item Field with the provided data.
|
PropertyKeyGroupDataObject |
patchFlxWorkItemFieldGroup(PropertyKeyGroupDataObject pDobj)
Patches a Flex Work Item Field Group with the provided data.
|
FolderDataObject |
patchFolder(FolderDataObject pFolderDataObject)
Update Folder with the provided data.
|
FdGroupDataObject |
patchGroup(FdGroupDataObject pGroupDataObject)
Update Group with the provided data.
|
java.lang.Long |
patchProject(java.lang.Long pProjectId,
ProjectPojo pProjectPojo)
Updates a project with the provided data.
|
java.lang.Long |
patchProjectProperties(java.lang.Long pProjectId,
java.util.List<PropertyValuePojo> pPropertyPojos)
Updates a project's properties with the provided data.
|
ProjectTriggerDataObject |
patchProjectTrigger(ProjectTriggerDataObject pPojo)
Updates a project trigger with the provided data.
|
PropertyKeyDefinitionDataObject |
patchPropertyKeyDefinition(PropertyKeyDefinitionDataObject pPojo)
Updates a property key definition with the provided data.
|
void |
patchStream(java.lang.Long pProjectId,
java.lang.Long pStreamId,
ProjectStreamDataObject pStream)
Patches a FlexDeploy Stream on a given project.
|
TargetGroupDataObject |
patchTargetGroup(TargetGroupDataObject pTargetGroupDataObj)
Update TargetGroup with the provided data.
|
FdUserDataObject |
patchUser(FdUserDataObject pUserDataObject)
Update User with the provided data.
|
FlxWorkItemDataObject |
patchWorkItem(FlxWorkItemDataObject pPojo)
Patches a work item with the provided data.
|
FlxWorkItemCommentDataObject |
patchWorkItemComment(java.lang.String pWorkItemCommentId,
java.lang.String pComment)
Update a work item comment with the provided data.
|
java.lang.Integer |
populateFiles(java.lang.Long pProjectId,
java.lang.Long pStreamId)
Deprecated.
|
java.util.List<FlxWorkItemFieldDataObject> |
saveFlxWorkItemFields(java.util.List<FlxWorkItemFieldDataObject> pPojos,
java.lang.String pGroupCode)
Updates all Flex Work Item Fields within a group.
|
java.util.List<FlxWorkItemFieldDataDataObject> |
saveWorkItemFieldData(java.lang.String pWorkItemNumber,
java.lang.String pFieldName,
java.io.Serializable pValue)
Saves work item field data on given work item number, field name and value.
|
PaginatedResponse<ProjectStreamDataObject> |
searchBranches(ProjectStreamDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Branches using criteria values provided.
|
PaginatedResponse<CredentialDataObject> |
searchCredentials(CredentialDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Credentials using criteria values provided.
|
PaginatedResponse<EndpointDataObject> |
searchEndpoints(EndpointDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Endpoints using criteria values provided.
|
PaginatedResponse<EnvironmentDataObject> |
searchEnvironments(EnvironmentDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Environments using criteria values provided.
|
PaginatedResponse<PropertyKeyGroupDataObject> |
searchFlxWorkItemFieldGroups(PropertyKeyGroupDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Returns a list of Flex Work Item Field Groups based on criteria values provided.
|
PaginatedResponse<FlxWorkItemFieldDataObject> |
searchFlxWorkItemFields(FlxWorkItemFieldDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Returns a list of Flex Work Item Fields based on criteria values provided.
|
PaginatedResponse<FlxWorkItemDataObject> |
searchFlxWorkItems(FlxWorkItemDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Returns a list of Flex Work Items based on criteria values provided.
|
PaginatedResponse<FlxWorkItemStatusDataObject> |
searchFlxWorkItemStatuses(FlxWorkItemStatusDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Returns a list of Flex Work Item Statuses based on criteria values provided.
|
PaginatedResponse<FlxWorkItemTypeDataObject> |
searchFlxWorkItemTypes(FlxWorkItemTypeDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Returns a list of Flex Work Item Types based on criteria values provided.
|
PaginatedResponse<FolderDataObject> |
searchFolders(FolderDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Folders using criteria values provided.
|
PaginatedResponse<FdGroupDataObject> |
searchGroups(FdGroupDataObject pGroupObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Groups using criteria values provided.
|
PaginatedResponse<ProjectPackageDataObject> |
searchProjectPackages(ProjectPackageDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Packages using criteria values provided.
|
PaginatedResponse<ProjectDataObject> |
searchProjects(ProjectDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Projects using criteria values provided.
|
PaginatedResponse<ProjectTriggerDataObject> |
searchProjectTriggers(ProjectTriggerDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Project Triggers using criteria values provided.
|
PaginatedResponse<ProjectVersionDataObject> |
searchProjectVersions(ProjectVersionDataObject pParameters,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Project Versions using criteria values provided.
|
PaginatedResponse<PropertyKeyDefinitionDataObject> |
searchPropertyKeyDefinitions(PropertyKeyDefinitionDataObject pSearchParams,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Searches for property key definitions based on the provided search parameters and pagination input.
|
PaginatedResponse<PropertySetDataObject> |
searchPropertySets(PropertySetDataObject pSearchParams,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Searches for property sets based on the provided search parameters and pagination input.
|
PaginatedResponse<TargetGroupDataObject> |
searchTargetGroups(TargetGroupDataObject pCriteriaObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find TargetGroups using criteria values provided.
|
PaginatedResponse<FdUserDataObject> |
searchUsers(FdUserDataObject pUserObject,
java.lang.Integer pLimit,
java.lang.Integer pOffset)
Find Users using criteria values provided.
|
void |
unassignGroupFromUser(java.lang.Long pGroupId,
java.lang.Long pUserId)
Unassigns Group from User with the provided data.
|
void |
unassignGroupFromUser(java.lang.String pGroupName,
java.lang.String pUserName)
Unassigns Group from User with the provided data.
|
void |
updateBranch(java.lang.Long pProjectId,
java.lang.Long pBranchId,
ProjectStreamPojo pBranch)
Updates a FlexDeploy Branch on a given project.
|
CredentialDataObject |
updateCredential(CredentialDataObject pCredentialDataObject)
Update Credential with the provided data.
|
EndpointDataObject |
updateEndpoint(EndpointDataObject pEndpointDataObject)
Update Endpoint based on the Endpoint details.
|
EnvironmentDataObject |
updateEnvironment(EnvironmentDataObject pEnvDataObject)
Update Environment based on the Environment details.
|
FlxWorkItemFieldDataObject |
updateFlxWorkItemField(FlxWorkItemFieldDataObject pDobj)
Updates Flex work item field based on the Flex work item field details.
|
PropertyKeyGroupDataObject |
updateFlxWorkItemFieldGroup(PropertyKeyGroupDataObject pDobj)
Updates Flex work item field group based on the Flex work item field group details.
|
FolderDataObject |
updateFolder(FolderDataObject pFolderDataObject)
Update Folder based on the Folder details.
|
FdGroupDataObject |
updateGroup(FdGroupDataObject pGroupDataObject)
Update Group based on the Group details.
|
void |
updatePackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.Long pStreamId,
PollingResult pPollingResult)
Updates a given package relative to a PollingResult.
|
void |
updatePackage(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.Long pStreamId,
PollingResult pPollingResult,
boolean pSortFiles)
Updates a given package relative to a PollingResult.
|
void |
updatePackageStatus(java.lang.Long pProjectId,
java.lang.String pPackageName,
java.lang.String pPackageStatus)
Updates a given package status.
|
java.lang.Long |
updateProject(java.lang.Long pProjectId,
ProjectPojo pProjectPojo)
Updates a project with the provided data.
|
java.lang.Long |
updateProjectProperties(java.lang.Long pProjectId,
java.util.List<PropertyValuePojo> pPropertyPojos)
Updates a project's properties with the provided data.
|
ProjectTriggerDataObject |
updateProjectTrigger(ProjectTriggerDataObject pPojo)
Updates Project Trigger based on the project trigger details.
|
PropertyKeyDefinitionDataObject |
updatePropertyKeyDefinition(PropertyKeyDefinitionDataObject pPojo)
Updates a property key definition with the provided data.
|
void |
updateScanResult(java.lang.Long pProjectId,
java.lang.String pScanId,
ScanResultPojo pScanResultPojo,
boolean pIsStatusSuccess)
Updates a FlexDeploy ScanResult on a given project.
|
java.lang.Long |
updateSCMInstance(java.lang.Long pSCMInstanceId,
SCMInstancePojo pSCMInstancePojo)
Updates an SCM instance with the given data.
|
java.lang.Long |
updateSCMInstance(java.lang.Long pSCMInstanceId,
java.lang.String pSCMInstanceName,
java.lang.String pDescription,
java.lang.Boolean pIsActive,
java.lang.String pInstanceCode,
java.util.List<PropertyValuePojo> pProperties,
java.lang.String pSCMType)
Updates an SCM instance with the given data.
|
void |
updateStream(java.lang.Long pProjectId,
java.lang.Long pStreamId,
ProjectStreamPojo pStream)
Updates a FlexDeploy Stream on a given project.
|
TargetGroupDataObject |
updateTargetGroup(TargetGroupDataObject pTargetGroupDataObj)
Update TargetGroup based on the TargetGroup details.
|
FdUserDataObject |
updateUser(FdUserDataObject pUserDataObject)
Update User based on the User details.
|
PropertySetDataObject |
updateWorkflowPropertySet(PropertySetDataObject pPropertySet)
Updates a property set with the provided data.
|
FlxWorkItemDataObject |
updateWorkItem(FlxWorkItemDataObject pPojo)
Updates work item based on the work item details.
|
FlxWorkItemDataObject |
updateWorkItemAssignee(java.lang.String pWorkItemNumber,
java.lang.String pUserName)
Updates a work item Assignee.
|
FlxWorkItemDataObject |
updateWorkItemStatus(java.lang.String pWorkItemNumber,
java.lang.String pStatusName)
Updates a work item status.
|
FlxWorkItemDataObject |
updateWorkItemType(java.lang.String pWorkItemNumber,
java.lang.String pTypeCode)
Updates a work item Type.
|
PollingResult findLocalChangeLogs(java.lang.String pUrl, java.lang.String pBranch, java.lang.String pCurrentRevision, java.lang.String pFromRevision) throws FlexCheckedException
findLocalChangeLogs
pUrl
- Url of the git repository to find logs againstpBranch
- Branch to find logs againstpCurrentRevision
- Current revision after the pushpFromRevision
- Previous revision before the pushFlexDeployValidationException
- if an invalid revision is passed.FlexCheckedException
PollingResult findLocalChangeLogs(java.lang.String pUrl, java.lang.String pBranch, java.lang.String pCurrentRevision, java.lang.String pFromRevision, boolean pIgnoreTargetBranchMerge) throws FlexCheckedException
findLocalChangeLogs
pUrl
- Url of the git repository to find logs againstpBranch
- Branch to find logs againstpCurrentRevision
- Current revision after the pushpFromRevision
- Previous revision before the pushpIgnoreTargetBranchMerge
- Exclude commits that were merged from the target branch into this branch. When using git flow this will ignore merges
done from the target branch 'develop' into your feature branch. Default value is trueFlexDeployValidationException
- if an invalid revision is passed.FlexCheckedException
PollingResult findLocalChangeLogs(java.lang.String pUrl, java.lang.String pBranch, java.lang.String pCurrentRevision, java.lang.String pFromRevision, java.lang.String pUser, java.lang.String pPassword) throws FlexCheckedException
pUrl
- Url of the git repository to find logs againstpBranch
- Branch to find logs againstpCurrentRevision
- Current revision after the pushpFromRevision
- Previous revision before the pushpUser
- User to use for local credentialspPassword
- Password of the userFlexDeployValidationException
- if an invalid revision is passed.FlexCheckedException
PollingResult findLocalChangeLogs(java.lang.String pUrl, java.lang.String pBranch, java.lang.String pCurrentRevision, java.lang.String pFromRevision, java.lang.String pUser, java.lang.String pPassword, boolean pIgnoreTargetBranchMerge) throws FlexCheckedException
findLocalChangeLogs
pUrl
- Url of the git repository to find logs againstpBranch
- Branch to find logs againstpCurrentRevision
- Current revision after the pushpFromRevision
- Previous revision before the pushpUser
- User to use for local credentialspPassword
- Password of the userpIgnoreTargetBranchMerge
- Exclude commits that were merged from the target branch into this branch. When using git flow this will ignore merges
done from the target branch 'develop' into your feature branch. Default value is trueFlexDeployValidationException
- if an invalid revision is passed.FlexCheckedException
ProjectPojo getProject(java.lang.Long pProjectId) throws FlexDeployRowNotFoundException
pProjectId
- Project Id of the project to retrieveFlexDeployRowNotFoundException
- if no project is found for given pProjectId
java.lang.Long createProject(ProjectPojo pProjectPojo)
pProjectPojo
- - Object containing project configuration information.java.lang.Long updateProject(java.lang.Long pProjectId, ProjectPojo pProjectPojo)
pProjectId
- - Id of the project that is to be updated.pProjectPojo-
- Object containing project configuration information.FlexDeployRowNotFoundException
- if pProjectId
does not exist.java.lang.Long patchProject(java.lang.Long pProjectId, ProjectPojo pProjectPojo)
pProjectId
- - Id of the project that is to be updated.pProjectPojo-
- Object containing project configuration information.FlexDeployRowNotFoundException
- if pProjectId
does not exist.java.lang.Long updateProjectProperties(java.lang.Long pProjectId, java.util.List<PropertyValuePojo> pPropertyPojos)
pProjectId
- - Id of the project that is to be updated.pPropertyPojos
- - List of property values to be updated on project.java.lang.Long patchProjectProperties(java.lang.Long pProjectId, java.util.List<PropertyValuePojo> pPropertyPojos)
pProjectId
- - Id of the project that is to be updated.pPropertyPojos
- - List of property values to be updated on project.void addFilesToPackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.util.List<java.lang.String> pFiles) throws FlexDeployRowNotFoundException
pProjectId
- Parent project id of the packagepPackageName
- Name of the packagepFiles
- Filepaths to add to the package.FlexDeployRowNotFoundException
- if pPackageName
does not exist on project pProjectId
.@Deprecated java.lang.Integer populateFiles(java.lang.Long pProjectId, java.lang.Long pStreamId)
pProjectId
- Project id to populate files for. This should be a project using partial deployment.pStreamId
- Stream id to use when populating.FlexDeployAPIException
- if it is message wrapper error.findStreamId(java.lang.Long, java.lang.String)
java.lang.Integer discoverFiles(java.lang.Long pProjectId, java.lang.Long pStreamId)
pProjectId
- Project id to populate files for. This should be a project using partial deployment.pStreamId
- Stream id to use when populating.FlexDeployAPIException
- if it is message wrapper error.findStreamId(java.lang.Long, java.lang.String)
void updatePackageStatus(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.String pPackageStatus)
pProjectId
- Parent project id of the packagepPackageName
- Name of the packagepPackageStatu
- } The updated package status [ACTIVE, COMPLETED, or INACTIVE]FlexDeployRowNotFoundException
- if pProjectId
is not found or pPackageName
doesnt exist on projectFlexDeployValidationException
- if pPackageStatus
is invalidvoid updatePackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.Long pStreamId, PollingResult pPollingResult)
addFilesToPackage
method.
This function will automatically populate files if new files are detected.
Files added to this package are always added to the end of the list.pProjectId
- Parent project id of the packagepPackageName
- Name of the packagepStreamId
- Stream to use when populating files if new files are foundpPollingResult
- PollingResult object to use for finding differencesFlexDeployRowNotFoundException
- if pProjectId
is not found or pPackageName
doesnt exist on projectFlexDeployValidationException
- if project other than SCM Type GIT is invalid.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
void updatePackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.Long pStreamId, PollingResult pPollingResult, boolean pSortFiles)
addFilesToPackage
method.
This function will automatically populate files if new files are detected.
The files in this package can optionally be sorted by their project files sequence number.pProjectId
- Parent project id of the packagepPackageName
- Name of the packagepStreamId
- Stream to use when populating files if new files are foundpPollingResult
- PollingResult object to use for finding differencespSortFiles
- Sort package files after updateFlexDeployRowNotFoundException
- if pProjectId
is not found or pPackageName
doesnt exist on projectFlexDeployValidationException
- if project other than SCM Type GIT is invalid.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.lang.Long createPackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.String pDescription, java.util.List<java.lang.String> pFiles)
pProjectId
- Parent project id to create package under.pPackageName
- Package name to use.pDescription
- Description to give the package.pFiles
- List of files to add to the package. File paths should be as they appear in the File Catalog of the project.java.lang.Long createDynamicPackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.String pDescription, java.lang.String pIncludePath, java.lang.String pExcludePath)
pProjectId
- Parent project id to create package under.pPackageName
- Package name to use.pDescription
- Description to give the package.pIncludePath
- files to be included in the package.pExcludePath
- files to be excluded in the package.java.lang.Long createPackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.String pDescription, java.lang.Long pStreamId, PollingResult pPollingResult)
pProjectId
- Parent project id of the packagepPackageName
- Name of the packagepDescription
- Description to give the package.pPollingResult
- PollingResult object to use for finding differencesFlexDeployRowNotFoundException
- if pProjectId
is not found or pPackageName
doesnt exist on projectFlexDeployValidationException
- if project pProjectId
is invalid,BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
void deletePackage(java.lang.Long pProjectId, java.lang.String pPackageName)
pProjectId
- Parent project id package is under.pPackageName
- Name of package to delete.FlexDeployOptimisticLockException
- if another user updated or deleted row.java.lang.Long buildPackage(java.lang.Long pStreamId, ProjectPackagePojo projectPackage)
PollingResult variant
pStreamId
- Stream to use when building package. See findStreamId
.projectPackage
- Wrapper object containing project id and package name to build.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.java.lang.Long buildPackage(java.lang.Long pStreamId, ProjectPackagePojo projectPackage, BuildOptions pBuildOptions)
PollingResult variant
pStreamId
- Stream to use when building package. See findStreamId
.projectPackage
- Wrapper object containing project id and package name to build.pBuildOptions
- Additional build object where optional options can be set.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.java.lang.Long buildPackage(java.lang.Long pStreamId, ProjectPackagePojo projectPackage, PollingResult pPollingResult)
pStreamId
- Stream to use when building package. See findStreamId
.projectPackage
- Wrapper object containing project id and package name to build.pPollingResult
- PollingResult object containing change logs and committer information.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.lang.Long buildPackage(java.lang.Long pStreamId, ProjectPackagePojo projectPackage, PollingResult pPollingResult, BuildOptions pBuildOptions)
pStreamId
- Stream to use when building package. See findStreamId
.projectPackage
- Wrapper object containing project id and package name to build.pPollingResult
- PollingResult object containing change logs and committer information.pBuildOptions
- Additional build object where optional options can be set.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.lang.Long buildProject(java.lang.Long pStreamId, java.lang.Long pProjectId)
PollingResult variant
pStreamId
- Stream to use when building project. See findStreamId
.pProjectId
- Project id to build.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.java.lang.Long buildProject(java.lang.Long pStreamId, java.lang.Long pProjectId, BuildOptions pBuildOptions)
PollingResult variant
pStreamId
- Stream to use when building project. See findStreamId
.pProjectId
- Project id to build.pBuildOptions
- Additional build object where optional options can be set.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.java.lang.Long buildProject(java.lang.Long pStreamId, java.lang.Long pProjectId, PollingResult pPollingResult)
pStreamId
- Stream to use when building project. See findStreamId
.pProjectId
- Project id to build.pPollingResult
- PollingResult object containing change logs and committer information.FlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.lang.Long buildProject(java.lang.Long pStreamId, java.lang.Long pProjectId, PollingResult pPollingResult, BuildOptions pBuildOptions)
pStreamId
- Stream to use when building project. See findStreamId
.pProjectId
- Project id to build.pPollingResult
- PollingResult object containing change logs and committer information.pBuildOptions
- Additional build object where optional options can be set.Long
WorkflowRequest idFlexDeployRowNotFoundException
- if pStreamId
not found in project.
if no row found for project.
if default build environment not foundFlexDeployValidationException
- if requested project is a utility project.
if requested project is not active.
if no build workflow or target group mapped for the project.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.lang.Long deployPackage(java.lang.Long pProjectId, java.lang.String pPackageName, java.lang.String pEnvironmentCode, DeployOptions pDeployOptions)
pProjectId
- Project id to deploy.pPackageName
- Name of packagepEnvironmentCode
- Code of the enviornment.pDeployOptions
- Additional deploy object where optional options can be set.FlexDeployRowNotFoundException
- if no row found for pProjectId
.
if no row found for pEnvironmentCode
.
if no row found for pPackageName
.FlexDeployValidationException
- if pEnvironmentCode
is missing.
if requested project is a utility project.
if requested project is not active.
if no deploy workflow or target group mapped for the project.
if package name given for standard project.java.lang.Long deployProject(java.lang.Long pProjectId, java.lang.String pEnvironmentCode, DeployOptions pDeployOptions)
pProjectId
- Project id to deploy.pEnvironmentCode
- Code of the enviornment.pDeployOptions
- Additional deploy object where optional options can be set.FlexDeployRowNotFoundException
- if no row found for pProjectId
.
if no row found for pEnvironmentCode
.FlexDeployValidationException
- if pEnvironmentCode
is missing.
if requested project is a utility project.
if requested project is not active.
if no deploy workflow or target group mapped for the project.java.util.Set<java.lang.Long> findProjectsForNewBranch(java.lang.String pRepositoryName)
pRepositoryName
- Git repository name with the change. Name is of the form (username/repo). e.g. toddmotto/public-apisjava.util.Set<java.lang.Long> findProjectsForNewBranch(java.lang.String pRepositoryName, PollingResult pPollingResult)
findProjectsForNewBranch
.
This function currently only compares against Git repositories and is not compatible with other scm types.pRepositoryName
- Git repository name with the change. Name is of the form (username/repo). e.g. toddmotto/public-apispPollingResult
- PollingResult object for determining relevant projects.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.util.Set<java.lang.Long> findProjectsForChange(java.lang.String pRepositoryName, java.lang.String pStreamName, PollingResult pPollingResult)
pRepositoryName
- Git repository name with the change. Name is of the form (username/repo). e.g. toddmotto/public-apispStreamName
- Stream/branch name for which the change occurred. e.g. 'master'pPollingResult
- PollingResult object for determining relevant projects.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.util.Set<java.lang.Long> findProjectsForChange(java.lang.String pRepositoryName, java.lang.String pStreamName, java.util.List<java.lang.String> pChangedFiles)
pRepositoryName
- Git repository name with the change. Name is of the form (username/repo). e.g. toddmotto/public-apispStreamName
- Stream/branch name for which the change occurred. e.g. 'master'pChangedFiles
- List of changed files from a push event. If no files are passed then all projects using given repository will be returned.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.util.Set<ProjectPackagePojo> findPackagesForChange(java.lang.String pRepositoryName, java.lang.String pStreamName, PollingResult pPollingResult)
pRepositoryName
- Git repository name with the change. Name is of the form (username/repo). e.g. toddmotto/public-apispStreamName
- Stream/branch name for which the change occurred. e.g. 'master'pPollingResult
- PollingResult object for determining relevant packages.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.util.Set<ProjectPackagePojo> findPackagesForChange(java.lang.String pRepositoryName, java.lang.String pStreamName, java.util.List<java.lang.String> pChangedFiles)
pRepositoryName
- Git repository name with the change. Name is of the form (username/repo). e.g. toddmotto/public-apispStreamName
- Stream/branch name for which the change occurred. e.g. 'master'pChangedFiles
- List of changed files from a push event. If no files are passed then all packages using given repository will be returned.BitbucketFunctions.getChangeLogs(java.lang.Object, java.lang.String, java.lang.String)
,
GithubFunctions.getChangeLogs(java.lang.Object)
java.lang.Long findProjectId(java.lang.String pProjectName)
pProjectName
- Case sensitive project name to search byFlexDeployRowNotFoundException
- if no row found for pProjectName
.ProjectDataObject findProjectWithId(java.lang.Long pProjectId)
pProjectId-
- Id of Project to find.FlexDeployRowNotFoundException
- if no row found for pProjectId
.java.util.List<ProjectDataObject> findProjectsWithName(java.lang.String pProjectName)
pProjectName
- Case insensitive project name to search byPaginatedResponse<ProjectDataObject> searchProjects(ProjectDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- pLimit
- pOffset
- java.lang.Long findBranchId(java.lang.Long pProjectId, java.lang.String pBranchName)
pProjectId
- Project id on which the branch belongs.pBranchName
- Name of the branch. e.g. 'feature/JIRA-12', 'master'.FlexDeployRowNotFoundException
- if no row found for pBranchName
for pProjectId
.java.lang.Long createBranch(java.lang.Long pProjectId, java.lang.String pBranchName, java.lang.String pVersionSyntax)
pProjectId
- Project to create the branch on.pBranchName
- Branch name to create.pVersionSyntax
- Version Syntax to use for the branch. For example: "1.0.mybranch." + SequenceNumber. Note that this is a groovy script and literal strings should be enclosed in quotes.java.lang.Long createBranch(java.lang.Long pProjectId, ProjectStreamPojo pBranch)
pProjectId
- Project to create the branch on.pBranch
- ProjectStreamDataObject object representing the branch to create.java.lang.Long createBranch(java.lang.Long pProjectId, java.lang.String pBranchName)
pProjectId
- Project to create the branch on.pBranchName
- Branch name to create.FlexCheckedException
void updateBranch(java.lang.Long pProjectId, java.lang.Long pBranchId, ProjectStreamPojo pBranch)
pProjectId
- Project to create the branch on.pBranchId
- Id of the branch to update.pBranch
- ProjectStreamPojo object representing the branch to update.FlexDeployRowNotFoundException
- if pBranchId
does not exist for pProjectId
.void patchBranch(java.lang.Long pProjectId, java.lang.Long pBranchId, ProjectStreamDataObject pBranch)
pProjectId
- Project to create the branch on.pBranchId
- Id of the branch to update.pBranch
- ProjectStreamDataObject object representing the branch to update.FlexDeployRowNotFoundException
- if pBranchId
does not exist for pProjectId
.void inactivateBranch(java.lang.Long pProjectId, java.lang.String pBranchName)
pProjectId
- pBranchName
- void activateBranch(java.lang.Long pProjectId, java.lang.String pBranchName) throws FlexCheckedException
pProjectId
- project id for which the branch belongs.pBranchName
- Branch name to inactivate.FlexCheckedException
IntegrationInstancePojo findIntegrationInstance(java.lang.String pIntegrationInstanceCode, java.lang.String pType) throws FlexNotFoundException
pIntegrationInstanceCode
- Code for the integration instace.pType
- Type of the integration instance. {SCM, TEST, ITS, CMS, CLOUD, ARTIFACTREPO, CISERVER, SCANTOOL, MESSAGING, OTHERTOOLS}.FlexNotFoundException
- if no integration instance found for passed code.java.lang.Long createSCMInstance(java.lang.String pSCMInstanceName, java.lang.String pDescription, java.lang.Boolean pIsActive, java.lang.String pInstanceCode, java.util.List<PropertyValuePojo> pProperties, java.lang.String pSCMType)
pSCMInstanceName
- - The unique name of the SCM instance.pDescription
- - The description of the SCM instance.pIsActive
- - Whether or not the SCM instance is active.pInstanceCode
- - The code of the SCM instance.pProperties
- - A list of objects containing the required property values for the specified SCM type. The objects must contain propertyName field as well as either propertyValue if the value is not encrypted or credentialId if the value is encrypted.pSCMType
- - The SCM type of the instance. Must be a valid source control management system. Possible values are SVN, GIT, CVS, TFVC, PERF, PVCS, FILE, or NONE.FlexDeployValidationException
- if an invalid value is passed in pSCMInstancePojo.java.lang.Long createSCMInstance(SCMInstancePojo pSCMInstancePojo)
pSCMInstancePojo
- - The object containing all of the required data for the SCM instance.FlexDeployValidationException
- if an invalid value is passed in pSCMInstancePojo.java.lang.Long updateSCMInstance(java.lang.Long pSCMInstanceId, java.lang.String pSCMInstanceName, java.lang.String pDescription, java.lang.Boolean pIsActive, java.lang.String pInstanceCode, java.util.List<PropertyValuePojo> pProperties, java.lang.String pSCMType)
pSCMInstanceId
- - The Id of the instance to be updated.pSCMInstanceName
- - The unique name of the SCM instance.pDescription
- - The description of the SCM instance.pIsActive
- - Whether or not the SCM instance is active.",pInstanceCode
- - The code of the SCM instance.pProperties
- - A list of objects containing the required property values for the specified SCM type. The objects must contain propertyName field as well as either propertyValue if the value is not encrypted or credentialId if the value is encrypted.pSCMType
- - The SCM type of the instance. Must be a valid source control management system. Possible values are SVN, GIT, CVS, TFVC, PERF, PVCS, FILE, or NONE.FlexDeployValidationException
- if an invalid value is passed in pSCMInstancePojo.java.lang.Long updateSCMInstance(java.lang.Long pSCMInstanceId, SCMInstancePojo pSCMInstancePojo)
pSCMInstanceId
- - The Id of the instance to be updated.pSCMInstancePojo
- - Object containing all of the required data for the SCM instance.FlexDeployValidationException
- if an invalid value is passed in pSCMInstancePojo.IntegrationInstancePojo getIntegrationInstance(java.lang.Long pIntegrationInstanceId, java.lang.String pType)
pIntegrationInstanceId
- Integration Instance id.pType
- Type of the integration instance. {SCM, TEST, ITS, CMS, CLOUD, ARTIFACTREPO, CISERVER, SCANTOOL, MESSAGING, OTHERTOOLS}.FlexDeployRowNotFoundException
- if no integration instance found for pIntegrationInstanceId
.CMSInstancePojo findCMSInstance(java.lang.String pCMSInstanceCode)
pCMSInstanceCode
- Code of the instance you wish to retrieve.FlexDeployRowNotFoundException
- if no instance found for pCMSInstanceCode
.CMSInstancePojo getCMSInstance(java.lang.Long pCMSInstanceId)
pCMSInstanceId
- Id of the instance you wish to retrieve.FlexDeployRowNotFoundException
- if no instance found for pCMSInstanceId
.ChangeManagementSystem getChangeManagementSystemByInstanceCode(java.lang.String pInstanceCode)
pInstanceCode
- Instance code to filter by.FlexDeployRowNotFoundException
- If no CMS instance was found given pCode
.ChangeManagementSystem getChangeManagementSystemByInstanceName(java.lang.String pInstanceName)
pInstanceName
- Instance name to filter by.FlexDeployRowNotFoundException
- If no CMS instance was found given pName
.CMSObject createIncidentForWorklowRequest(java.lang.Long pWorkflowRequestId, java.util.Map<java.lang.String,java.io.Serializable> pIncidentFields, java.lang.String pCMSInstanceCode, java.lang.String pCMSInstanceName)
pWorkflowRequestId
- Associated workflow request id .pIncidentFields
- Payload fields populated with key value to create an Incident.pCode
- Instance code to filter by.pName
- Instance name to filter by.CMSObject createIncidentByWorkflowType(java.lang.Long pWorkflowRequestId, java.util.Map<java.lang.String,java.io.Serializable> pIncidentFields)
pWorkflowRequestId
- Associated workflow request id .pIncidentFields
- Payload fields populated with key value to create an Incident.ChangeManagementSystem getChangeManagementSystemByInstanceId(java.lang.Long pCMSInstanceId)
pCMSInstanceId
- Instance id of the implementation you wish to retrieve.FlexDeployRowNotFoundException
- If no instance found for pCMSInstanceId
.java.util.List<FDUser> getUsersFromGroupId(java.lang.Long pGroupId)
pGroupId
- FlexDeploy Group id to use.void downloadLogs(java.lang.Long pWorkflowExecutionId, java.lang.String pDestinationPath)
pWorkflowExecutionId
- Workflow Execution Id to capture logs for.pDestinationPath
- The path where the log files folder will be saved.FlexDeployValidationException
- if pDestinationPath
is not provided.java.util.Map<java.lang.Long,java.io.InputStream> getPluginLogInputStreams(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to capture logs for.java.util.Map<java.lang.Long,java.io.InputStream> getPluginLogInputStreams(java.lang.Long pWorkflowExecutionId, java.lang.Boolean pOnlyError)
pWorkflowExecutionId
- Workflow Execution Id to capture logs for.pOnlyError
- Return only the failed plugin log input stream, otherwise all plugin logs for the workflow will be returned.FlexCheckedException
PackageDetailsResponsePojo getPackage(java.lang.Long pProjectId, java.lang.String pPackageName)
pProjectId
- Parent project id package is under.pPackageName
- Name of packageFlexDeployRowNotFoundException
- If no project package found for pProjectId
and pPackageName
.java.util.Collection<PluginLogPojo> getPluginLogs(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to capture logs for.java.lang.String getFlexDeployBaseUrl()
java.lang.Long executeUtility(java.lang.Long pProjectId, java.lang.String pEnvironmentCode)
pProjectId
- Project id to execute.pEnvironmentCode
- Environment code to use for the utility request.FlexDeployValidationException
- if pEnvironmentCode
is not provided.java.lang.Long executeUtility(java.lang.Long pProjectId, java.lang.String pEnvironmentCode, ExecuteOptions pExecuteOptions)
pProjectId
- Project id to execute.pEnvironmentCode
- Environment code to use for the utility request.pInstanceCode
- Instance code to use for the utility request.pExecuteOptions
- Execute options contains list of instances to execute on, with inputs and flexfieldsFlexDeployValidationException
- if pEnvironmentCode
is not provided.java.lang.Long findFolderId(java.lang.String pFolderName)
pFolderName
- Case sensitive folder name to search byFlexDeployRowNotFoundException
- If folder name is not found in FlexDeployFolderDataObject findFolderWithId(java.lang.Long pFolderId)
pFolderId
- java.util.List<FolderDataObject> findFoldersWithName(java.lang.String pFolderName)
pFolderName
- Case insensitive project name to search byPaginatedResponse<FolderDataObject> searchFolders(FolderDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- pLimit
- pOffset
- PaginatedResponse<ProjectStreamDataObject> searchBranches(ProjectStreamDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- pLimit
- pOffset
- FdUserDataObject getUser(java.lang.String pUsername)
pUsername
- - Username of the user to retrieve.java.lang.Long getCurrentlyDeployedVersionId(java.lang.Long pProjectId, java.lang.Long pEnvironmentId, java.lang.Long pInstanceId)
pProjectId
- Project Id of the project to retrieve.pEnvironmentId
- - Id of the enviornment.pInstanceId
- - Id of the instance.java.lang.Long getCurrentlyDeployedVersionId(java.lang.Long pProjectId, java.lang.Long pEnvironmentId, java.lang.Long pInstanceId, java.lang.String pPackageName)
pProjectId
- Project Id of the project to retrieve.pEnvironmentId
- - Id of the enviornment.pInstanceId
- - Id of the instance.pPackageName
- - Name of the package.FlexDeployValidationException
- if pPackageName
is not provided.java.lang.Long getPreviouslyDeployedVersionId(java.lang.Long pProjectId, java.lang.Long pEnvironmentId, java.lang.Long pInstanceId)
pProjectId
- Project Id of the project to retrieve.pEnvironmentId
- - Id of the enviornment.pInstanceId
- - Id of the instance.java.lang.Long getPreviouslyDeployedVersionId(java.lang.Long pProjectId, java.lang.Long pEnvironmentId, java.lang.Long pInstanceId, java.lang.String pPackageName)
pProjectId
- Project Id of the project to retrieve.pEnvironmentId
- - Id of the enviornment.pInstanceId
- - Id of the instance.pPackageName
- - Name of the package.FlexDeployValidationException
- if pPackageName
is not provided.java.lang.Long createStream(java.lang.Long pProjectId, ProjectStreamPojo pStream)
pProjectId
- Project to create the stream on.pStream
- ProjectStreamDataObject object representing the stream to create.java.lang.Long createStream(java.lang.Long pProjectId, java.lang.String pStreamName)
pProjectId
- Project to create the stream on.pStreamName
- Stream name to create.FlexCheckedException
java.lang.Long createStream(java.lang.Long pProjectId, java.lang.String pStreamName, java.lang.String pVersionSyntax)
pProjectId
- Project to create the stream on.pStreamName
- Stream name to create.pVersionSyntax
- Version Syntax to use for the stream. For example: "1.0.mybranch." + SequenceNumber. Note that this is a groovy script and literal strings should be enclosed in quotes.java.lang.Long findStreamId(java.lang.Long pProjectId, java.lang.String pStreamName)
pProjectId
- Project id on which the stream belongs.pStreamName
- Name of the stream. e.g. 'feature/JIRA-12', 'master'.FlexDeployRowNotFoundException
- if no row found for pStreamName
for pProjectId
.void inactivateStream(java.lang.Long pProjectId, java.lang.String pStreamName)
pProjectId
- pStreamName
- void activateStream(java.lang.Long pProjectId, java.lang.String pStreamName) throws FlexCheckedException
pProjectId
- project id for which the stream belongs.pStreamName
- Stream name to inactivate.FlexCheckedException
void patchStream(java.lang.Long pProjectId, java.lang.Long pStreamId, ProjectStreamDataObject pStream)
pProjectId
- Project to create the stream on.pStreamId
- Id of the stream to update.pStream
- ProjectStreamDataObject object representing the stream to update.FlexDeployRowNotFoundException
- if pStreamId
does not exist for pProjectId
.void updateStream(java.lang.Long pProjectId, java.lang.Long pStreamId, ProjectStreamPojo pStream)
pProjectId
- Project to create the stream on.pStreamId
- Id of the stream to update.pStream
- ProjectStreamPojo object representing the stream to update.FlexDeployRowNotFoundException
- if pStreamId
does not exist for pProjectId
.void updateScanResult(java.lang.Long pProjectId, java.lang.String pScanId, ScanResultPojo pScanResultPojo, boolean pIsStatusSuccess)
pProjectId
- Project to update the scan results.pScanId
- Id of the scan result to update.pScanResultPojo
- ScanResultPojo object representing the scanResult to update.pIsStatusSuccess
- is scan status success or not.ScanResultPojo getScanResultForSonarqube(java.lang.String pBaseUrl, java.lang.String pProjectKey) throws FlexCheckedException
pBaseUrl
- pProjectKey
- FlexCheckedException
IssueTrackingSystem getIssueTrackingSystemByInstanceCode(java.lang.String pInstanceCode)
pInstanceCode
- Instance code of the implementation you wish to retrieve.FlexDeployRowNotFoundException
- If no instance found for pInstanceCode
.IssueTrackingSystem getIssueTrackingSystemByInstanceName(java.lang.String pInstanceName)
pInstanceName
- Instance Name of the implementation you wish to retrieve.FlexDeployRowNotFoundException
- If no instance found for pInstanceName
.IssueTrackingSystem getIssueTrackingSystemByInstanceId(java.lang.Long pITSInstanceId)
pITSInstanceId
- Instance id of the implementation you wish to retrieve.FlexDeployRowNotFoundException
- If no instance found for pITSInstanceId
.java.lang.Long getMatchingProjectObjectId(java.lang.Long pProjectId, java.lang.String pFile)
pProjectId
- pFile
- PaginatedResponse<ProjectPackageDataObject> searchProjectPackages(ProjectPackageDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- pLimit
- pOffset
- PaginatedResponse<EnvironmentDataObject> searchEnvironments(EnvironmentDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- pLimit
- pOffset
- PaginatedResponse<TargetGroupDataObject> searchTargetGroups(TargetGroupDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- pLimit
- pOffset
- EnvironmentDataObject getEnvironmentById(java.lang.Long pEnvironmentId)
pEnvironmentId
- Environment id of the Environment to retriveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentIdEnvironmentDataObject getEnvironmentByCode(java.lang.String pEnvironmentCode)
pEnvironmentCode
- Environment code of the Environment to retriveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentCodeEnvironmentDataObject getEnvironmentByName(java.lang.String pEnvironmentName)
pEnvironmentName
- Environment name of the Environment to retriveFlexDeployRowNotFoundException
- If Environment not found for given pEnvironmentName
TargetGroupDataObject getTargetGroupById(java.lang.Long pTargetGroupId)
pTargetGroupId
- FlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupIdTargetGroupDataObject getTargetGroupByCode(java.lang.String pTargetGroupCode)
pTargetGroupCode
- FlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupCodeTargetGroupDataObject getTargetGroupByName(java.lang.String pTargetGroupName)
pTargetGroupName
- FlexDeployRowNotFoundException
- If TargetGroup not found for given pTargetGroupNamejava.util.List<EnvironmentPojo> findEnvironment(java.lang.String pEnvironmentCode)
pEnvironmentCode
- Code of the enviornment.FlexDeployRowNotFoundException
- If no environment is found for the given enviornment codeEnvironmentPojo getEnvironment(java.lang.Long pEnvironmentId)
pEnvironmentId
- Id of the enviornment.FlexDeployRowNotFoundException
- If no environment is found for the given id.java.util.List<ScmCommitDataObject> getWorkflowExecutionCommits(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated commit detailsjava.util.List<WorkItemDataObject> getWorkflowExecutionWorkItems(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated workitem detailsjava.util.List<WorkflowExecutionDataObject> getWorkflowExecutionByWorkflowRequestId(java.lang.Long pWorkflowRequestId)
pWorkflowRequestId
- Workflow Request Id to retrieve associated workflow execution details.WorkflowExecutionDataObject getWorkflowExecutionById(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated workflow execution details.FlexDeployRowNotFoundException
- If no workflow execution is found for the given id.java.util.List<CodeValueInputPOJO> getWorkflowExecutionOutputs(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated workflow execution output details.FlexDeployRowNotFoundException
java.util.List<CodeValueInputPOJO> getWorkflowExecutionInputs(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated workflow execution input details.FlexDeployRowNotFoundException
java.util.List<CodeValueInputPOJO> getWorkflowExecutionFlexfields(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated workflow execution flexfields details.FlexDeployRowNotFoundException
WorkflowExecutionVariables getWorkflowExecutionVariables(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution Id to retrieve associated workflow execution variables.FlexDeployRowNotFoundException
java.util.List<FlexFieldMetadataDataObject> getActiveBuildFlexfieldMetadata()
java.util.List<FlexFieldMetadataDataObject> getActiveDeployUtilityFlexfieldMetadata()
ProjectVersionDataObject getProjectVersionById(java.lang.Long pProjectVersionId, java.lang.Long pProjectId)
pProjectVersionId
- Project version Id to get the project version data object.pProjectId
- Project Id to get the project version data object.FlexDeployRowNotFoundException
- If no project version is found for the given project version id and project id.PaginatedResponse<ProjectVersionDataObject> searchProjectVersions(ProjectVersionDataObject pParameters, java.lang.Integer pLimit, java.lang.Integer pOffset)
pParameters
- Parameters for the search criteria.pLimit
- Limit for the number of rows to be returned.pOffset
- offset number from which the limit starts.pass 0 to start at begining of query result.java.util.List<TasksQueryResultPojo> getPipelineStageGateTasks(java.lang.Long pPipelineStageExecId)
pPipelineStageExecId
- pipeline stage execution id to get the Tasks details.java.util.List<TasksQueryResultPojo> getApprovedPipelineStageGateTasks(java.lang.Long pPipelineStageExecId)
pPipelineStageExecId
- pipeline stage execution id to get the Tasks details.java.util.List<TasksQueryResultPojo> getWorkflowRequestTasks(java.lang.Long pWorkflowRequestId)
pWorkflowRequestId
- Workflow Request id to get the Tasks details.ProjectTriggerDataObject createProjectTrigger(ProjectTriggerDataObject pPojo)
pPojo
- Object containing Project trigger details to create the project trigger.ProjectTriggerDataObject getProjectTriggerById(java.lang.Long pProjectTriggerId) throws FlexDeployRowNotFoundException
pProjectTriggerId
- Project Trigger Id to retrieve the project trigger details.FlexDeployRowNotFoundException
- If no project trigger is found for the given project trigger idPaginatedResponse<ProjectTriggerDataObject> searchProjectTriggers(ProjectTriggerDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- ProjectTriggerDataObject filled with criteria values.pLimit
- Limit for the number of rows to be returned.pOffset
- offset number from which the limit starts.pass 0 to start at begining of query result.ProjectTriggerDataObject updateProjectTrigger(ProjectTriggerDataObject pPojo)
pPojo
- Object containing project trigger details to update the project trigger.FlexDeployRowNotFoundException
- If no project trigger is found for the given project trigger details.ProjectTriggerDataObject patchProjectTrigger(ProjectTriggerDataObject pPojo)
pPojo
- Object containing Project trigger details to update the project trigger.FlexDeployRowNotFoundException
- If no project trigger is found for the given project trigger details.void deleteProjectTrigger(java.lang.Long pProjectTriggerId)
pProjectTriggerId
- Project trigger Id to delete the respective project trigger.FlxWorkItemDataObject createWorkItem(FlxWorkItemDataObject pPojo)
pPojo
- Object containing work item details to create the work item.FlxWorkItemDataObject updateWorkItem(FlxWorkItemDataObject pPojo)
pPojo
- Object containing work item details to update the work item.FlxWorkItemDataObject patchWorkItem(FlxWorkItemDataObject pPojo)
pPojo
- Object containing work item details to update the work item.FlxWorkItemDataObject findWorkItemByNumber(java.lang.String pWorkItemNumber)
pWorkItemNumber
- work item number to get the work item details.FlexDeployRowNotFoundException
- If no flex work item is found for the given work item number.FlxWorkItemDataObject updateWorkItemStatus(java.lang.String pWorkItemNumber, java.lang.String pStatusName)
pWorkItemNumber
- work item number.pStatusId
- work item status id.FlxWorkItemDataObject updateWorkItemType(java.lang.String pWorkItemNumber, java.lang.String pTypeCode)
pWorkItemNumber
- work item number.pTypeCode
- work item type codeFlxWorkItemDataObject updateWorkItemAssignee(java.lang.String pWorkItemNumber, java.lang.String pUserName)
pWorkItemNumber
- work item number.pUserName
- user name.java.util.List<FlxWorkItemTypeDataObject> getWorkItemTypes()
java.util.List<FlxWorkItemStatusDataObject> getWorkItemStatuses()
FlxWorkItemCommentDataObject addWorkItemComment(java.lang.String pWorkItemNumber, java.lang.String pComment)
pWorkItemNumber
- work item number.pComment
- comment.java.util.List<WorkItemDataObject> getWorkItemsForSuccessfulExecutions(java.lang.Long pSnapshotId, java.lang.Long pEnvironmentId)
pSnapshotId
- Id of the snapshort.pEnvironmentId
- Id of the enviornment.java.util.List<WorkItemDataObject> getWorkItemsForAllExecutions(java.lang.Long pSnapshotId, java.lang.Long pEnvironmentId)
pSnapshotId
- Id of the snapshort.pEnvironmentId
- Id of the enviornment.java.util.List<WorkItemDataObject> getWorkItemsForFailedExecutions(java.lang.Long pSnapshotId, java.lang.Long pEnvironmentId)
pSnapshotId
- Id of the snapshort.pEnvironmentId
- Id of the enviornment.java.util.List<WorkItemDataObject> getWorkItemsForSnapshotVersions(java.lang.Long pSnapshotId)
pSnapshotId
- Id of the snapshort.java.util.List<FlxWorkItemFieldDataDataObject> saveWorkItemFieldData(java.lang.String pWorkItemNumber, java.lang.String pFieldName, java.io.Serializable pValue)
pWorkItemNumber
- work item number.pFieldName
- field name.pValue
- field value.java.util.List<FlxWorkItemFieldDataDataObject> getWorkItemFieldData(java.lang.String pWorkItemNumber)
pFlxWorkItemId
- java.lang.String parseWorkItemRichText(java.lang.String pWorkItemRichText)
pWorkItemRichText
- Rich Textjava.util.List<FDUser> getUsersFromGroupName(java.lang.String pGroupName)
pGroupName
- FlexDeploy Group name to use.java.util.List<WorkflowExecutionReportDataObject> getReportsByWorkflowExecutionId(java.lang.Long pWorkflowExecutionId)
pWorkflowExecutionId
- Workflow Execution IDjava.io.InputStream getReportDataByWorkflowExecutionReportId(java.lang.Long pWorkflowExecutionReportId)
pWorkflowExecutionReportId
- Workflow Execution Report IDProjectStreamDataObject getProjectBranchById(java.lang.Long pBranchId, java.lang.Long pProjectId) throws FlexDeployRowNotFoundException
pBranchId
- pProjectId
- FlexDeployRowNotFoundException
- If no project branch is found for given branchId and projectIdEndpointDataObject getEndpointById(java.lang.Long pEndpointId)
pEndpointId
- - Endpoint id of the Endpoint to retrive.FlexDeployRowNotFoundException
- If Endpoint not found for given pEndpointId.EndpointDataObject getEndpointByName(java.lang.String pEndpointName)
pEndpointName
- - Endpoint name of the Endpoint to retrive.FlexDeployRowNotFoundException
- If Endpoint not found for given pEndpointName.EndpointDataObject createEndpoint(EndpointDataObject pEndpointDataObject)
pEndpointDataObject
- - Object containing the Endpoint details to update the Endpoint.EndpointDataObject updateEndpoint(EndpointDataObject pEndpointDataObject)
pEndpointDataObject
- - Object containing the Endpoint details to update the Endpoint.FlexDeployRowNotFoundException
- If no Endpoint is found for the given Endpoint details.EndpointDataObject patchEndpoint(EndpointDataObject pEndpointDataObject)
pEndpointDataObject
- - Object containing the Endpoint details to update the Endpoint.FlexDeployRowNotFoundException
- If no Endpoint is found for the given Endpoint details.PaginatedResponse<EndpointDataObject> searchEndpoints(EndpointDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - EndpointDataObject filled with criteria values.pLimit
- - Limit for the number of rows to be returned.pOffset
- - offset number from which the limit starts. Pass 0 to start at begining of query result.FdGroupDataObject getGroupById(java.lang.Long pGroupId)
pGroupId
- - Group id of the Group to retrive.FlexDeployRowNotFoundException
- If Group not found for given pGroupId.FdGroupDataObject getGroupByName(java.lang.String pGroupName)
pGroupName
- - Group name of the Group to retrive.FlexDeployRowNotFoundException
- If Group not found for given pGroupName.FdGroupDataObject createGroup(FdGroupDataObject pGroupDataObject)
pGroupDataObject
- - Object containing the Group details to create the Group.FdGroupDataObject patchGroup(FdGroupDataObject pGroupDataObject)
pGroupDataObject
- - Object containing the Group details to update the Group.FlexDeployRowNotFoundException
- If no Group is found for the given Group details.FdGroupDataObject updateGroup(FdGroupDataObject pGroupDataObject)
pGroupDataObject
- - Object containing the Group details to update the Group.FlexDeployRowNotFoundException
- If no Group is found for the given Group details.RelSnapshotDataObject getSnapshotDetails(java.lang.Long pSnapshotId)
pSnapshotId
- Id of the snapshot.boolean isBotUsername(java.lang.String pUsername)
pUsername
- PaginatedResponse<FdGroupDataObject> searchGroups(FdGroupDataObject pGroupObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pGroupObject
- - FdGroupDataObject filled with criteria values.pLimit
- - Limit for the number of rows to be returned.pOffset
- - Offset number from which the limit starts. Pass 0 to start at begining of query result.FdUserDataObject getUserById(java.lang.Long pUserId)
pUserId
- - User id of the User to retrive.FlexDeployRowNotFoundException
- If User not found for given pUserId.FdUserDataObject createUser(FdUserDataObject pUserDataObj)
pUserDataObj
- - Object containing the User details to create the User.FdUserDataObject patchUser(FdUserDataObject pUserDataObject)
pUserDataObject
- - Object containing the User details to update the User.FlexDeployRowNotFoundException
- If no User is found for the given User details.FdUserDataObject updateUser(FdUserDataObject pUserDataObject)
pUserDataObject
- - Object containing the User details to update the User.FlexDeployRowNotFoundException
- If no User is found for the given User details.PaginatedResponse<FdUserDataObject> searchUsers(FdUserDataObject pUserObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pUserObject
- - FdUserDataObject filled with criteria values.pLimit
- - Limit for the number of rows to be returned.pOffset
- - Offset number from which the limit starts. Pass 0 to start at begining of query result.void deleteFlxWorkItem(java.lang.Long pFlexWorkItemId)
pFlexWorkItemId
- - the id of the Flex Work ItemPaginatedResponse<FlxWorkItemDataObject> searchFlxWorkItems(FlxWorkItemDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - The FlxWorkItemDataObject filled with criteria valuespLimit
- - number of rows to returnpOffset
- - pass 0 to start at beginning of query resultFlxWorkItemStatusDataObject getFlxWorkItemStatusWithId(java.lang.Long pFlexWorkItemStatusId)
pFlexWorkItemStatusId
- - Id of Flex Work Item Status to find.FlexDeployRowNotFoundException
- if no row found for pFlexWorkItemStatusId
.PaginatedResponse<FlxWorkItemStatusDataObject> searchFlxWorkItemStatuses(FlxWorkItemStatusDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - FlxWorkItemStatusDataObject filled with criteria valuespLimit
- - number of rows to returnpOffset
- - pass 0 to start at beginning of query resultFlxWorkItemTypeDataObject getFlxWorkItemTypeWithCode(java.lang.String pFlexWorkItemTypeCode)
pFlexWorkItemTypeCode
- - Code of Flex Work Item Type to find.FlexDeployRowNotFoundException
- if no row found for pFlexWorkItemTypeCode
.PaginatedResponse<FlxWorkItemTypeDataObject> searchFlxWorkItemTypes(FlxWorkItemTypeDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - FlexWorkItemTypeDataObject filled with criteria valuespLimit
- - number of rows to returnpOffset
- - pass 0 to start at the beginning of query resultFlxWorkItemFieldDataObject getFlxWorkItemFieldWithId(java.lang.Long pFlexWorkItemFieldId)
pFlexWorkItemfieldId
- - Id of Flex Work Item Field to find.FlexDeployRowNotFoundException
- if no row found for pFlexWorkItemFieldId
.PaginatedResponse<FlxWorkItemFieldDataObject> searchFlxWorkItemFields(FlxWorkItemFieldDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - FlexWorkItemFieldDataObject filled with criteria valuespLimit
- - number of rows to returnpOffset
- - pass 0 to start at the beginning of query resultjava.util.List<FlxWorkItemFieldDataObject> saveFlxWorkItemFields(java.util.List<FlxWorkItemFieldDataObject> pPojos, java.lang.String pGroupCode)
pPojos
- - The Flex Work Item Fields to be savedpGroupCode
- - The code of the group that is being saved toFlxWorkItemFieldDataObject patchFlxWorkItemField(FlxWorkItemFieldDataObject pPojo)
pPojo
- Object containing Flex Work Item Field details to update the Flex Work Item Field.PropertyKeyGroupDataObject getFlxWorkItemFieldGroupWithCode(java.lang.String pFlexWorkItemFieldGroupCode)
pFlexWorkItemFieldCode
- - Code of Flex Work Item Field Group to find.FlexDeployRowNotFoundException
- if no row found for pFlexWorkItemFieldGroupCode
.PaginatedResponse<PropertyKeyGroupDataObject> searchFlxWorkItemFieldGroups(PropertyKeyGroupDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - PropertyKeyGroupDataObject that is filled with criteria valuespLimit
- - number of rows to returnpOffset
- - pass 0 to start at the beginning of query resultPropertyKeyGroupDataObject createFlxWorkItemFieldGroup(PropertyKeyGroupDataObject pDobj)
pDobj
- - the PropertyKeyDefinitionDataObject with the data to be added to the field groupPropertyKeyGroupDataObject updateFlxWorkItemFieldGroup(PropertyKeyGroupDataObject pDobj)
pDobj
- Object containing Flex Work Item Field Group details to update the Flex Work Item Field Group.PropertyKeyGroupDataObject patchFlxWorkItemFieldGroup(PropertyKeyGroupDataObject pDobj)
pDobj
- - the data to use to patch the Flex Work Item Field Group withvoid deleteFlxWorkItemFieldGroup(java.lang.String pFlexWorkItemFieldGroupCode)
pFlexWorkItemFieldGroupCode
- - the code of the Flex Work Item Field GroupFlxWorkItemFieldDataObject createFlxWorkItemField(FlxWorkItemFieldDataObject pDobj)
pDobj
- - an object containing the Flex Work Item Field informationFlxWorkItemFieldDataObject updateFlxWorkItemField(FlxWorkItemFieldDataObject pDobj)
pDobj
- Object containing Flex Work Item Field details to update the Flex Work Item Field.void deleteFlxWorkItemField(java.lang.Long pFlexWorkItemFieldId)
pFlexWorkItemFieldId
- - The id of the Flex Work Item Field to deletePropertyKeyDefinitionDataObject createPropertyKeyDefinition(PropertyKeyDefinitionDataObject pPojo)
pPojo
- - Object containing property key definition information.PropertyKeyDefinitionDataObject updatePropertyKeyDefinition(PropertyKeyDefinitionDataObject pPojo)
pPojo
- Object containing property key definition information.FlexDeployRowNotFoundException
- If no property key is found for the given details.PropertyKeyDefinitionDataObject patchPropertyKeyDefinition(PropertyKeyDefinitionDataObject pPojo)
pPojo
- Object containing property key definition information.FlexDeployRowNotFoundException
- If no property key is found for the given details.PropertyKeyDefinitionDataObject getPropertyKeyDefinition(java.lang.Long pPropertyKeyDefinitionId)
pPropertyKeyDefinitionId
- ID of the property key definition to retrieve.FlexDeployRowNotFoundException
- If propkey not found for given pPropertyKeyDefinitionId.PaginatedResponse<PropertyKeyDefinitionDataObject> searchPropertyKeyDefinitions(PropertyKeyDefinitionDataObject pSearchParams, java.lang.Integer pLimit, java.lang.Integer pOffset)
pSearchParams
- Object containing the search parameters for property key definitions.pLimit
- Limit for the number of rows to be returned.pOffset
- offset number from which the limit starts.pass 0 to start at begining of query result.PropertyKeyDefinitionDataObject getPropertyKeyDefinition(java.lang.String pKeyName)
pKeyName
- Name of the property key definition to retrieve.FlexDeployRowNotFoundException
- If propkey not found for the given pKeyName.PropertySetDataObject updateWorkflowPropertySet(PropertySetDataObject pPropertySet)
pPropertySet
- - Object containing property set information.FlexDeployRowNotFoundException
- if no property set is found for the given details.PaginatedResponse<PropertySetDataObject> searchPropertySets(PropertySetDataObject pSearchParams, java.lang.Integer pLimit, java.lang.Integer pOffset)
pSearchParams
- - Object containing the search parameters for property sets.pLimit
- - Limit for the number of rows to be returned.pOffset
- - Offset number from which the limit starts. Pass 0 to start at the beginning of the query result.PropertySetDataObject getPropertySet(java.lang.Long pPropertySetId)
pPropertySetId
- - ID of the property set to retrieve.FlexDeployRowNotFoundException
- if the property setis not found for the given pPropertySetId.CredentialDataObject getCredentialById(java.lang.Long pCredentialId)
pCredentialId
- - Credential id of the Credential to retrive.FlexDeployRowNotFoundException
- If Credential not found for given pCredentialId.CredentialDataObject createCredential(CredentialDataObject pCredentialDataObject)
pCredentialDataObject
- - Object containing the Credential details to create the Credential.CredentialDataObject patchCredential(CredentialDataObject pCredentialDataObject)
pCredentialDataObject
- - Object containing the Credential details to update the Credential.FlexDeployRowNotFoundException
- If no Credential is found for the given Credential details.CredentialDataObject updateCredential(CredentialDataObject pCredentialDataObject)
pCredentialDataObject
- - Object containing the Credential details to update the Credential.FlexDeployRowNotFoundException
- If no Credential is found for the given Credential details.PaginatedResponse<CredentialDataObject> searchCredentials(CredentialDataObject pCriteriaObject, java.lang.Integer pLimit, java.lang.Integer pOffset)
pCriteriaObject
- - CredentialDataObject filled with criteria values.pLimit
- - Limit for the number of rows to be returned.pOffset
- - offset number from which the limit starts. Pass 0 to start at begining of query result.CredentialDataObject getCredentialByName(java.lang.String pCredentialName)
pCredentialName
- - Credential id of the Credential to retrive.FlexDeployRowNotFoundException
- If Credential not found for given pCredentialName.EnvironmentDataObject createEnvironment(EnvironmentDataObject pEnvDataObject)
pEnvDataObject
- - Object containing the Environment details to create the Environment.EnvironmentDataObject patchEnvironment(EnvironmentDataObject pEnvDataObject)
pEnvDataObject
- - Object containing the Environment details to update the Environment.FlexDeployRowNotFoundException
- If no Environment is found for the given Environment details.EnvironmentDataObject updateEnvironment(EnvironmentDataObject pEnvDataObject)
pEnvDataObject
- - Object containing the Environment details to update the Environment.FlexDeployRowNotFoundException
- If no Environment is found for the given Environment details.void deleteEnvironment(java.lang.Long pEnvironmentId)
pEnvironmentId
- - the id of the Environment.void deleteEndpoint(java.lang.Long pEndpointId)
pEndpointId
- - the id of the Endpoint.void deleteCredential(java.lang.Long pCredentialId)
pCredentialId
- - the id of the Credential.TargetGroupDataObject createTargetGroup(TargetGroupDataObject pTargetGroupDataObj)
pTargetGroupDataObj
- - Object containing the TargetGroup details to create the TargetGroup.TargetGroupDataObject patchTargetGroup(TargetGroupDataObject pTargetGroupDataObj)
pTargetGroupDataObj
- - Object containing the TargetGroup details to update the TargetGroup.FlexDeployRowNotFoundException
- If no TargetGroup is found for the given TargetGroup details.TargetGroupDataObject updateTargetGroup(TargetGroupDataObject pTargetGroupDataObj)
pTargetGroupDataObj
- - Object containing the TargetGroup details to update the TargetGroup.FlexDeployRowNotFoundException
- If no TargetGroup is found for the given TargetGroup details.void deleteTargetGroup(java.lang.Long pTargetGroupId)
pTargetGroupId
- - the id of the TargetGroup.void assignGroupToUser(java.lang.Long pGroupId, java.lang.Long pUserId) throws FlexDeployRowNotFoundException
pGroupId
- - Id of the Group that has to be assigned to the user.pUserId
- - Id of the User to which Group has be assigned.FlexDeployRowNotFoundException
- If no Group or User is found for the given details.void unassignGroupFromUser(java.lang.Long pGroupId, java.lang.Long pUserId) throws FlexDeployRowNotFoundException
pGroupId
- - Id of the Group that has to be unassigned from the user.pUserId
- - Id of the User from which Group has be unassigned.FlexDeployRowNotFoundException
- If no Group or User is found for the given details.void assignGroupToUser(java.lang.String pGroupName, java.lang.String pUserName) throws FlexDeployValidationException
pGroupName
- - Name of the Group that has to be assigned to the user.pUserName
- - Name of the User to which Group has be assigned.FlexDeployValidationException
- If no Group or User is found for the given details.void unassignGroupFromUser(java.lang.String pGroupName, java.lang.String pUserName) throws FlexDeployValidationException
pGroupName
- - Name of the Group that has to be unassigned from the user.pUserName
- - Name of the User from which Group has be unassigned.FlexDeployValidationException
- If no Group or User is found for the given details.FolderDataObject createFolder(FolderDataObject pFolderDataObject)
pFolderDataObject
- - Object containing the Folder details to create the Folder.FolderDataObject patchFolder(FolderDataObject pFolderDataObject)
pFolderDataObject
- - Object containing the Folder details to update the Folder.FlexDeployRowNotFoundException
- If no Folder is found for the given Folder details.FolderDataObject updateFolder(FolderDataObject pFolderDataObject)
pFolderDataObject
- - Object containing the Folder details to update the Folder.FlexDeployRowNotFoundException
- If no Folder is found for the given Folder details.void deleteFolder(java.lang.Long pFolderId)
pFolderId
- - the id of the Folder.FlxWorkItemCommentDataObject patchWorkItemComment(java.lang.String pWorkItemCommentId, java.lang.String pComment)
pWorkItemCommentId-
- work item comment id.pComment-
- work item comment.java.lang.String getWorkItemStatus(WorkItemDataObject pWorkItem)
Work
- Item Object.