org.yestech.publish.publisher
Class AmazonS3Publisher
java.lang.Object
org.yestech.publish.publisher.BasePublisher
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
- urlPrefix = Mandatory
- tempDirectory = Mandatory
- secretKey = Mandatory
- accessKey = Mandatory
- bucketName = Mandatory
- Version:
- $Revision: $
- Author:
- Artie Copeland
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmazonS3Publisher
public AmazonS3Publisher()
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.