
com.marklogic.appdeployer.scaffold.ResourceWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ml-app-deployer Show documentation
Show all versions of ml-app-deployer Show documentation
Java client for the MarkLogic REST Management API and for deploying applications to MarkLogic
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