org.yestech.publish.publisher
Class AmazonS3Publisher

java.lang.Object
  extended by org.yestech.publish.publisher.BasePublisher
      extended by org.yestech.publish.publisher.AmazonS3Publisher
All Implemented Interfaces:
IPublisher<IFileArtifact>

public class AmazonS3Publisher
extends BasePublisher
implements IPublisher<IFileArtifact>

Publishes to Amazons S3 storage.
Valid Properties

Version:
$Revision: $
Author:
Artie Copeland

Constructor Summary
AmazonS3Publisher()
           
 
Method Summary
 String getAccessKey()
           
 ArtifactType getArtifactType()
           
 String getBucketName()
           
 PublisherProperties getProperties()
           
 org.jets3t.service.S3Service getS3Service()
           
 String getSecretKey()
           
 File getTempDirectory()
           
 void init()
           
 void publish(IFileArtifact artifact)
           
 void setArtifactType(ArtifactType artifactType)
           
 void setProperties(PublisherProperties properties)
           
 void setS3Service(org.jets3t.service.S3Service s3Service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmazonS3Publisher

public AmazonS3Publisher()
Method Detail

getTempDirectory

public File getTempDirectory()

getProperties

public PublisherProperties getProperties()

getArtifactType

public ArtifactType getArtifactType()

setArtifactType

public void setArtifactType(ArtifactType artifactType)

setProperties

public void setProperties(PublisherProperties properties)

getAccessKey

public String getAccessKey()

getBucketName

public String getBucketName()

getSecretKey

public String getSecretKey()

getS3Service

public org.jets3t.service.S3Service getS3Service()

setS3Service

public void setS3Service(org.jets3t.service.S3Service s3Service)

init

@PostConstruct
public void init()

publish

public void publish(IFileArtifact artifact)
Specified by:
publish in interface IPublisher<IFileArtifact>


Copyright © 2010 YES Technology Association. All Rights Reserved.