org.rundeck.api.domain.KeyResource 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
The newest version!
package org.rundeck.api.domain;
import java.util.List;
/**
* KeyResource represents a directory or an SSH key file
*
* @author Greg Schueler
* @since 2014-04-04
*/
public interface KeyResource extends StorageResource {
/**
* Return true if this is a file and is a private SSH key file.
* @return
*/
public boolean isPrivateKey();
/**
* Return the list of SSH Key resources if this is a directory
* @return
*/
public List getDirectoryContents();
}