Class AzureBlobVirtualFile
- java.lang.Object
-
- jenkins.util.VirtualFile
-
- com.microsoft.jenkins.artifactmanager.AzureAbstractVirtualFile
-
- com.microsoft.jenkins.artifactmanager.AzureBlobVirtualFile
-
- All Implemented Interfaces:
Serializable
,Comparable<VirtualFile>
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class AzureBlobVirtualFile extends AzureAbstractVirtualFile
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzureBlobVirtualFile(String container, String key, boolean disableExternalUrl, Run<?,?> build)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRead()
VirtualFile
child(String name)
boolean
exists()
String
getContainer()
String
getKey()
String
getName()
VirtualFile
getParent()
boolean
isDirectory()
boolean
isFile()
long
lastModified()
long
length()
VirtualFile[]
list()
InputStream
open()
<V> V
run(hudson.remoting.Callable<V,IOException> callable)
URL
toExternalURL()
URI
toURI()
-
Methods inherited from class jenkins.util.VirtualFile
compareTo, containsSymLinkChild, containsTmpDirChild, equals, forFile, forFilePath, hashCode, hasSymlink, isDescendant, list, list, list, list, listOnlyDescendants, mode, open, readLink, supportIsDescendant, supportsQuickRecursiveListing, toString, zip
-
-
-
-
Method Detail
-
getContainer
public String getContainer()
-
getKey
public String getKey()
-
run
public <V> V run(hudson.remoting.Callable<V,IOException> callable) throws IOException
- Overrides:
run
in classVirtualFile
- Throws:
IOException
-
getName
@NonNull public String getName()
- Specified by:
getName
in classVirtualFile
-
toURI
@NonNull public URI toURI()
- Specified by:
toURI
in classVirtualFile
-
toExternalURL
@CheckForNull public URL toExternalURL() throws IOException
- Overrides:
toExternalURL
in classVirtualFile
- Throws:
IOException
-
getParent
public VirtualFile getParent()
- Specified by:
getParent
in classVirtualFile
-
isDirectory
public boolean isDirectory() throws IOException
- Specified by:
isDirectory
in classVirtualFile
- Throws:
IOException
-
isFile
public boolean isFile() throws IOException
- Specified by:
isFile
in classVirtualFile
- Throws:
IOException
-
exists
public boolean exists() throws IOException
- Specified by:
exists
in classVirtualFile
- Throws:
IOException
-
list
@NonNull public VirtualFile[] list() throws IOException
- Specified by:
list
in classVirtualFile
- Throws:
IOException
-
child
@NonNull public VirtualFile child(@NonNull String name)
- Specified by:
child
in classVirtualFile
-
length
public long length() throws IOException
- Specified by:
length
in classVirtualFile
- Throws:
IOException
-
lastModified
public long lastModified() throws IOException
- Specified by:
lastModified
in classVirtualFile
- Throws:
IOException
-
canRead
public boolean canRead() throws IOException
- Specified by:
canRead
in classVirtualFile
- Throws:
IOException
-
open
public InputStream open() throws IOException
- Specified by:
open
in classVirtualFile
- Throws:
IOException
-
-