public class

BaseStorageResource

extends Object
implements StorageResource
java.lang.Object
   ↳ org.rundeck.api.domain.BaseStorageResource
Known Direct Subclasses

Class Overview

BaseStorageResource is ...

Summary

Public Constructors
BaseStorageResource()
Public Methods
List<? extends StorageResource> getDirectoryContents()
Return the list of directory contents if this is a directory
Map<StringString> getMetadata()
Return the metadata for this file if this is a file
String getName()
Return the file name if this is a file
String getPath()
Return the storage path for this resource
String getUrl()
Return the URL for this resource
boolean isDirectory()
Return true if this is a directory, false if this is a file
void setDirectory(boolean directory)
void setDirectoryContents(List<? extends StorageResource> directoryContents)
void setMetadata(Map<StringString> metadata)
void setName(String name)
void setPath(String path)
void setUrl(String url)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.rundeck.api.domain.StorageResource

Public Constructors

public BaseStorageResource ()

Public Methods

public List<? extends StorageResource> getDirectoryContents ()

Return the list of directory contents if this is a directory

public Map<StringString> getMetadata ()

Return the metadata for this file if this is a file

public String getName ()

Return the file name if this is a file

public String getPath ()

Return the storage path for this resource

public String getUrl ()

Return the URL for this resource

public boolean isDirectory ()

Return true if this is a directory, false if this is a file

public void setDirectory (boolean directory)

public void setDirectoryContents (List<? extends StorageResource> directoryContents)

public void setMetadata (Map<StringString> metadata)

public void setName (String name)

public void setPath (String path)

public void setUrl (String url)

public String toString ()