public class ArchiveBasedHumanTaskDeploymentUnitBuilder
extends org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilder
| Constructor and Description |
|---|
ArchiveBasedHumanTaskDeploymentUnitBuilder(File extractedTaskArchive,
int tenantId,
long version,
String packageName,
String md5sum) |
ArchiveBasedHumanTaskDeploymentUnitBuilder(String BPS_HOME,
File hiArchiveZip,
int tenantId,
long version,
String md5sum) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildDeploymentConfiguration() |
void |
buildHumanInteractionDocuments() |
void |
buildSchemas() |
void |
buildWSDLs() |
static File |
extractHumanTaskArchive(File archiveFile,
int tenantId,
long version,
String BPS_HOME) |
String |
getArchiveName() |
org.wso2.carbon.humantask.core.deployment.config.HTDeploymentConfigDocument |
getHTDeploymentConfigDocument() |
org.wso2.carbon.humantask.HumanInteractionsDocument |
getHumanInteractionsDocument() |
File |
getHumanTaskDefinitionFile() |
String |
getMd5sum() |
long |
getVersion() |
List<javax.wsdl.Definition> |
getWsdlDefinitions() |
static javax.wsdl.Definition |
readInTheWSDLFile(InputStream in,
String entryName,
boolean fromRegistry)
Read the WSDL file given the input stream for the WSDL source
|
public ArchiveBasedHumanTaskDeploymentUnitBuilder(String BPS_HOME, File hiArchiveZip, int tenantId, long version, String md5sum) throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic ArchiveBasedHumanTaskDeploymentUnitBuilder(File extractedTaskArchive, int tenantId, long version, String packageName, String md5sum) throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic static javax.wsdl.Definition readInTheWSDLFile(InputStream in, String entryName, boolean fromRegistry) throws javax.wsdl.WSDLException
in - WSDL input streamentryName - ZIP file entry namefromRegistry - whether the wsdl is read from registryjavax.wsdl.WSDLException - at parser errorpublic static File extractHumanTaskArchive(File archiveFile, int tenantId, long version, String BPS_HOME) throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic void buildHumanInteractionDocuments()
throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
buildHumanInteractionDocuments in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic void buildDeploymentConfiguration()
throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
buildDeploymentConfiguration in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic void buildWSDLs()
throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
buildWSDLs in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic void buildSchemas()
throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
buildSchemas in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic org.wso2.carbon.humantask.HumanInteractionsDocument getHumanInteractionsDocument()
throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
getHumanInteractionsDocument in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic org.wso2.carbon.humantask.core.deployment.config.HTDeploymentConfigDocument getHTDeploymentConfigDocument()
throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
getHTDeploymentConfigDocument in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic String getArchiveName()
getArchiveName in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderpublic List<javax.wsdl.Definition> getWsdlDefinitions() throws org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentException
getWsdlDefinitions in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderorg.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentExceptionpublic long getVersion()
getVersion in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderpublic String getMd5sum()
getMd5sum in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderpublic File getHumanTaskDefinitionFile()
getHumanTaskDefinitionFile in class org.wso2.carbon.humantask.core.deployment.HumanTaskDeploymentUnitBuilderCopyright © 2018 WSO2. All rights reserved.