protected M createArtifactModel(File artifactFolder) { final File artifactJsonFile = new File(artifactFolder, MULE_ARTIFACT_FOLDER + separator + getDescriptorFileName()); if (!artifactJsonFile.exists()) { throw new ArtifactDescriptorCreateException(ARTIFACT_DESCRIPTOR_DOES_NOT_EXISTS_ERROR + artifactJsonFile); } return loadModelFromJson(getDescriptorContent(artifactJsonFile)); }
protected M createArtifactModel(File artifactFolder) { final File artifactJsonFile = new File(artifactFolder, MULE_ARTIFACT_FOLDER + separator + getDescriptorFileName()); if (!artifactJsonFile.exists()) { throw new ArtifactDescriptorCreateException(ARTIFACT_DESCRIPTOR_DOES_NOT_EXISTS_ERROR + artifactJsonFile); } return loadModelFromJson(getDescriptorContent(artifactJsonFile)); }