org.eclipse.egit.github.core
Class DownloadResource

java.lang.Object
  extended by org.eclipse.egit.github.core.Download
      extended by org.eclipse.egit.github.core.DownloadResource
All Implemented Interfaces:
Serializable

public class DownloadResource
extends Download

Extension of Download to represent the initiation of a download with metadata about where to put the actual content when uploading.

See Also:
Serialized Form

Constructor Summary
DownloadResource()
           
 
Method Summary
 String getAccesskeyid()
           
 String getAcl()
           
 Date getExpirationdate()
           
 String getMimeType()
           
 String getPath()
           
 String getPolicy()
           
 String getPrefix()
           
 String getS3Url()
           
 String getSignature()
           
 boolean isRedirect()
           
 DownloadResource setAccesskeyid(String accesskeyid)
           
 DownloadResource setAcl(String acl)
           
 DownloadResource setExpirationdate(Date expirationdate)
           
 DownloadResource setMimeType(String mimeType)
           
 DownloadResource setPath(String path)
           
 DownloadResource setPolicy(String policy)
           
 DownloadResource setPrefix(String prefix)
           
 DownloadResource setRedirect(boolean redirect)
           
 DownloadResource setS3Url(String s3Url)
           
 DownloadResource setSignature(String signature)
           
 
Methods inherited from class org.eclipse.egit.github.core.Download
getContentType, getDescription, getDownloadCount, getHtmlUrl, getId, getName, getSize, getUrl, setContentType, setDescription, setDownloadCount, setHtmlUrl, setId, setName, setSize, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadResource

public DownloadResource()
Method Detail

isRedirect

public boolean isRedirect()
Returns:
redirect

setRedirect

public DownloadResource setRedirect(boolean redirect)
Parameters:
redirect -
Returns:
this download resource

getExpirationdate

public Date getExpirationdate()
Returns:
expirationdate

setExpirationdate

public DownloadResource setExpirationdate(Date expirationdate)
Parameters:
expirationdate -
Returns:
this download resource

getAccesskeyid

public String getAccesskeyid()
Returns:
accesskeyid

setAccesskeyid

public DownloadResource setAccesskeyid(String accesskeyid)
Parameters:
accesskeyid -
Returns:
this download resource

getAcl

public String getAcl()
Returns:
acl

setAcl

public DownloadResource setAcl(String acl)
Parameters:
acl -
Returns:
this download resource

getMimeType

public String getMimeType()
Returns:
mimeType

setMimeType

public DownloadResource setMimeType(String mimeType)
Parameters:
mimeType -
Returns:
this download resource

getPath

public String getPath()
Returns:
path

setPath

public DownloadResource setPath(String path)
Parameters:
path -
Returns:
this download resource

getPolicy

public String getPolicy()
Returns:
policy

setPolicy

public DownloadResource setPolicy(String policy)
Parameters:
policy -
Returns:
this download resource

getPrefix

public String getPrefix()
Returns:
prefix

setPrefix

public DownloadResource setPrefix(String prefix)
Parameters:
prefix -
Returns:
this download resource

getS3Url

public String getS3Url()
Returns:
s3Url

setS3Url

public DownloadResource setS3Url(String s3Url)
Parameters:
s3Url -
Returns:
this download resource

getSignature

public String getSignature()
Returns:
signature

setSignature

public DownloadResource setSignature(String signature)
Parameters:
signature -
Returns:
this download resource


Copyright © 2012. All Rights Reserved.