All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.appdeployer.scaffold.ResourceWriter Maven / Gradle / Ivy

Go to download

Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic

There is a newer version: 5.0.0
Show newest version
package com.marklogic.appdeployer.scaffold;

import com.marklogic.appdeployer.ConfigDir;
import com.marklogic.mgmt.api.Resource;

import java.io.File;

/**
 * Interface for objects that can write a Resource object to the appropriate directory within the given ConfigDir.
 */
public interface ResourceWriter {

	File writeResourceAsJson(Resource r, ConfigDir configDir);

	/**
	 * This isn't well-supported yet because most Resource subclasses don't yet have JAXB annotations on them.
	 *
	 * @param r
	 * @param configDir
	 * @return
	 */
	File writeResourceAsXml(Resource r, ConfigDir configDir);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy