Name | Description |
---|---|
Worklist | WorkList functions |
Name | Signature and Synopsis |
---|---|
copyApprovedDomainModel | void copyApprovedDomainModel(String inputDirpath,
String destPath) This function loads and returns decision project from the directory passed |
createDecisionProject | Object createDecisionProject(String dpPayload, boolean optimized) This function returns a decision project object created out of the string payload, |
fetchServedProjectsList | String[] fetchServedProjectsList(String baseDirPath) Gets a list of all directories present inside a folder |
getAllImplementationsInProject | Object getAllImplementationsInProject(Object decisionProject) Returns a list of all Implementation s in the project |
getArtifactBits | String getArtifactBits(String artifactLoc) Gets a string representation of an artifact used to create a Decision Project. |
getImplPaths | String[] getImplPaths(Object implsList) This function searches the entire list of implementations and returns paths of all of them as an array of strings |
getMatchingImplementation | String getMatchingImplementation(Object implList, String implPath) This function searches the entire decision project and returns a string representation of the implementation matching the requested path |
loadDecisionProjectFromDir | Object loadDecisionProjectFromDir(String dirPath) This function loads and returns decision project from the directory passed |
persistDecisionProject | boolean persistDecisionProject(Object dp,
String dpName,
String baseDir) Returns true if the decision project was persisted else false |
populateDecisionProjectMetadata | void populateDecisionProjectMetadata(Concept dpConcept, Object decisionProject) This function creates and populates DecisionProjectMetadata concept properties with the metadata of the incoming Decision Project, and sets the concept as a contained concept |
readAllImplementationsFromLocation | String readAllImplementationsFromLocation(Object tokenObject, String decisionDataDir) This function loads and returns a consolidated xmi representation of all the decision tables in the directory. This is to be used to send all approved decision tables when a checkout or a project update operation is performed. It gets wrapped in a <tables> element and sent with the CheckoutProjectResponse Event. |
writeTestData | void writeTestData(String fileName,
String contents) This function writes base64 encoded contents represented as string onto the disk in form of a zip file named TestData.zip |
zipTestData | void zipTestData(String srcFolder,
String zipFileName) This function creates a zip file out of a source folder, and all of its children. |