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

org.rundeck.api.domain.KeyResource Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy