
org.rundeck.api.parser.SSHKeyResourceParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rundeck-api-java-client Show documentation
Show all versions of rundeck-api-java-client Show documentation
Java client for the Rundeck REST API
package org.rundeck.api.parser;
import org.dom4j.Node;
import org.rundeck.api.domain.BaseKeyResource;
import org.rundeck.api.domain.KeyResource;
/**
* SSHKeyResourceParser is ...
*
* @author Greg Schueler
* @since 2014-04-04
*/
public class SSHKeyResourceParser extends BaseXpathParser implements XmlNodeParser {
public SSHKeyResourceParser() {
}
public SSHKeyResourceParser(String xpath) {
super(xpath);
}
@Override
public KeyResource parse(Node node) {
return BaseKeyResource.from(new StorageResourceParser().parse(node));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy